==77927== Memcheck, a memory error detector ==77927== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==77927== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==77927== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestImmersedBoundaryFftInterface -malloc_debug -malloc_dump -memory_info ==77927== Parent PID: 77187 ==77927== ==77927== ==77927== FILE DESCRIPTORS: 9 open (3 std) at exit. ==77927== Open file descriptor 12: ==77927== at 0x80E622D: pipe (pipe.c:29) ==77927== by 0x100A207D: ??? ==77927== by 0xB9E14CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==77927== by 0x79F2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==77927== by 0x798BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==77927== by 0x6660D38: PetscInitialize (pinit.c:924) ==77927== by 0x653723F: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==77927== by 0x653728D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==77927== by 0x11A31F: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==77927== by 0x115DD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==77927== by 0x118396: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== ==77927== Open file descriptor 8: /dev/shm/open_mpi.0000 ==77927== at 0x80EABCC: __open_nocancel (open64_nocancel.c:39) ==77927== by 0x806EC4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==77927== by 0x78EA822: ??? ==77927== by 0x78EA96F: ??? ==77927== by 0xBA866DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==77927== by 0xBA86938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==77927== by 0xBA3C922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==77927== by 0xB9E12DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==77927== by 0x79F2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==77927== by 0x798BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==77927== by 0x6660D38: PetscInitialize (pinit.c:924) ==77927== by 0x653723F: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==77927== by 0x653728D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==77927== by 0x11A31F: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==77927== by 0x115DD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==77927== by 0x118396: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== ==77927== Open file descriptor 112: ==77927== ==77927== ==77927== Open file descriptor 109: ==77927== ==77927== ==77927== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryFftInterface_valgrind.txt ==77927== ==77927== ==77927== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==77927== ==77927== ==77927== ==77927== HEAP SUMMARY: ==77927== in use at exit: 1,495,549 bytes in 9,488 blocks ==77927== total heap usage: 50,859 allocs, 41,371 frees, 1,361,958,690 bytes allocated ==77927== ==77927== 264 (40 direct, 224 indirect) bytes in 1 blocks are definitely lost in loss record 97 of 129 ==77927== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==77927== by 0x58A26A9: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==77927== by 0x58A1F57: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==77927== by 0x58A10FE: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==77927== by 0x589FA2F: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==77927== by 0x589D9FE: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==77927== by 0x58993C3: std::_Rb_tree_iterator std::_Rb_tree, std::less, std::allocator >::_M_insert_, std::less, std::allocator >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree, std::less, std::allocator >::_Alloc_node&) (stl_tree.h:1784) ==77927== by 0x58946ED: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==77927== by 0x5890955: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==77927== by 0x5A0BC87: Node<2u>::AddElement(unsigned int) (Node.cpp:270) ==77927== by 0x5999EED: MutableElement<2u, 2u>::RegisterWithNodes() (MutableElement.cpp:69) ==77927== by 0x5999E00: MutableElement<2u, 2u>::MutableElement(unsigned int, std::vector*, std::allocator*> > const&) (MutableElement.cpp:55) ==77927== by 0x5AB0B79: ImmersedBoundaryElement<2u, 2u>::ImmersedBoundaryElement(unsigned int, std::vector*, std::allocator*> > const&) (ImmersedBoundaryElement.cpp:45) ==77927== by 0x11B731: TestImmersedBoundaryFftInterface::TestFftExecuteInverse() (TestImmersedBoundaryFftInterface.hpp:122) ==77927== by 0x11BF32: TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteInverse::runTest() (TestImmersedBoundaryFftInterface.cpp:42) ==77927== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==77927== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==77927== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==77927== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIjEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeIjEEE8allocateERS2_m fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_M_get_nodeEv fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE14_M_create_nodeIJRKjEEEPSt13_Rb_tree_nodeIjEDpOT_ fun:_ZNKSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_Alloc_nodeclIRKjEEPSt13_Rb_tree_nodeIjEOT_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IRKjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjEPSt18_Rb_tree_node_baseSD_OT_RT0_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ fun:_ZNSt3setIjSt4lessIjESaIjEE6insertERKj fun:_ZN4NodeILj2EE10AddElementEj fun:_ZN14MutableElementILj2ELj2EE17RegisterWithNodesEv fun:_ZN14MutableElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN23ImmersedBoundaryElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN32TestImmersedBoundaryFftInterface21TestFftExecuteInverseEv fun:_ZN70TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteInverse7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==77927== 2,832 (752 direct, 2,080 indirect) bytes in 1 blocks are definitely lost in loss record 120 of 129 ==77927== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==77927== by 0x11A80D: TestImmersedBoundaryFftInterface::TestConstructor() (TestImmersedBoundaryFftInterface.hpp:68) ==77927== by 0x11BE5E: TestDescription_TestImmersedBoundaryFftInterface_TestConstructor::runTest() (TestImmersedBoundaryFftInterface.cpp:30) ==77927== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==77927== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==77927== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==77927== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN32TestImmersedBoundaryFftInterface15TestConstructorEv fun:_ZN64TestDescription_TestImmersedBoundaryFftInterface_TestConstructor7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==77927== 262,144 bytes in 1 blocks are possibly lost in loss record 123 of 129 ==77927== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==77927== by 0x120049: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:127) ==77927== by 0x5AA0DCD: boost::multi_array >::allocate_space() (multi_array.hpp:545) ==77927== by 0x5AA1810: boost::multi_array >::multi_array(boost::detail::multi_array::extent_gen<3ul> const&, boost::general_storage_order<3ul> const&, std::allocator const&) (multi_array.hpp:226) ==77927== by 0x5A9F985: boost::multi_array >::resize(boost::detail::multi_array::extent_gen<3ul> const&) (multi_array.hpp:458) ==77927== by 0x5B277A9: ImmersedBoundaryMesh<2u, 2u>::ImmersedBoundaryMesh(std::vector*, std::allocator*> >, std::vector*, std::allocator*> >, std::vector*, std::allocator*> >, unsigned int, unsigned int) (ImmersedBoundaryMesh.cpp:65) ==77927== by 0x11A831: TestImmersedBoundaryFftInterface::TestConstructor() (TestImmersedBoundaryFftInterface.hpp:68) ==77927== by 0x11BE5E: TestDescription_TestImmersedBoundaryFftInterface_TestConstructor::runTest() (TestImmersedBoundaryFftInterface.cpp:30) ==77927== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==77927== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==77927== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==77927== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIdE8allocateEmPKv fun:_ZN5boost11multi_arrayIdLm3ESaIdEE14allocate_spaceEv fun:_ZN5boost11multi_arrayIdLm3ESaIdEEC1ERKNS_6detail11multi_array10extent_genILm3EEERKNS_21general_storage_orderILm3EEERKS1_ fun:_ZN5boost11multi_arrayIdLm3ESaIdEE6resizeERKNS_6detail11multi_array10extent_genILm3EEE fun:_ZN20ImmersedBoundaryMeshILj2ELj2EEC1ESt6vectorIP4NodeILj2EESaIS4_EES1_IP23ImmersedBoundaryElementILj2ELj2EESaIS9_EES1_IPS7_ILj1ELj2EESaISD_EEjj fun:_ZN32TestImmersedBoundaryFftInterface15TestConstructorEv fun:_ZN64TestDescription_TestImmersedBoundaryFftInterface_TestConstructor7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==77927== 264,712 (752 direct, 263,960 indirect) bytes in 1 blocks are definitely lost in loss record 126 of 129 ==77927== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==77927== by 0x11B7D2: TestImmersedBoundaryFftInterface::TestFftExecuteInverse() (TestImmersedBoundaryFftInterface.hpp:124) ==77927== by 0x11BF32: TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteInverse::runTest() (TestImmersedBoundaryFftInterface.cpp:42) ==77927== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==77927== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==77927== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==77927== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN32TestImmersedBoundaryFftInterface21TestFftExecuteInverseEv fun:_ZN70TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteInverse7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==77927== 264,976 (752 direct, 264,224 indirect) bytes in 1 blocks are definitely lost in loss record 127 of 129 ==77927== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==77927== by 0x11B000: TestImmersedBoundaryFftInterface::TestFftExecuteForward() (TestImmersedBoundaryFftInterface.hpp:92) ==77927== by 0x11BEC8: TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteForward::runTest() (TestImmersedBoundaryFftInterface.cpp:36) ==77927== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==77927== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==77927== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==77927== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==77927== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==77927== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==77927== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==77927== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN32TestImmersedBoundaryFftInterface21TestFftExecuteForwardEv fun:_ZN70TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteForward7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==77927== LEAK SUMMARY: ==77927== definitely lost: 2,296 bytes in 4 blocks ==77927== indirectly lost: 530,488 bytes in 106 blocks ==77927== possibly lost: 262,144 bytes in 1 blocks ==77927== still reachable: 24 bytes in 2 blocks ==77927== suppressed: 700,597 bytes in 9,375 blocks ==77927== Reachable blocks (those to which a pointer was found) are not shown. ==77927== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==77927== ==77927== For lists of detected and suppressed errors, rerun with: -s ==77927== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 34 from 34)