==935391== Memcheck, a memory error detector ==935391== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==935391== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==935391== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/cell_based/test/TestImmersedBoundaryCellPopulation -malloc_debug -malloc_dump -memory_info ==935391== Parent PID: 933629 ==935391== ==935391== ==935391== FILE DESCRIPTORS: 9 open (3 std) at exit. ==935391== Open file descriptor 12: ==935391== at 0x10CE722D: pipe (pipe.c:29) ==935391== by 0x196A507D: ??? ==935391== by 0x14C134CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==935391== by 0x105EF418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==935391== by 0x10588D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==935391== by 0xF27FD38: PetscInitialize (pinit.c:924) ==935391== by 0xF0F42DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==935391== by 0xF0F432D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==935391== by 0x178EF7: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==935391== by 0x1711E9: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==935391== by 0x174520: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==935391== by 0x1743C0: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==935391== by 0x174A57: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==935391== by 0x16F605: main (TestImmersedBoundaryCellPopulation.cpp:19) ==935391== ==935391== Open file descriptor 8: /dev/shm/open_mpi.0000 ==935391== at 0x10CEBBCC: __open_nocancel (open64_nocancel.c:39) ==935391== by 0x10C6FC4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==935391== by 0xF129822: ??? ==935391== by 0xF12996F: ??? ==935391== by 0x14CB86DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==935391== by 0x14CB8938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==935391== by 0x14C6E922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==935391== by 0x14C132DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==935391== by 0x105EF418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==935391== by 0x10588D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==935391== by 0xF27FD38: PetscInitialize (pinit.c:924) ==935391== by 0xF0F42DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==935391== by 0xF0F432D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==935391== by 0x178EF7: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==935391== by 0x1711E9: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==935391== by 0x174520: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==935391== by 0x1743C0: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==935391== by 0x174A57: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==935391== by 0x16F605: main (TestImmersedBoundaryCellPopulation.cpp:19) ==935391== ==935391== Open file descriptor 115: ==935391== ==935391== ==935391== Open file descriptor 112: ==935391== ==935391== ==935391== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryCellPopulation_valgrind.txt ==935391== ==935391== ==935391== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==935391== ==935391== ==935391== ==935391== HEAP SUMMARY: ==935391== in use at exit: 1,054,748 bytes in 15,477 blocks ==935391== total heap usage: 113,435 allocs, 97,958 frees, 1,395,715,690 bytes allocated ==935391== ==935391== 160 bytes in 4 blocks are possibly lost in loss record 40 of 94 ==935391== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==935391== by 0x19BA13: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==935391== by 0x19B450: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==935391== by 0x19AB1C: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==935391== by 0x19A38D: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==935391== by 0x199492: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==935391== by 0xA4EA263: 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) ==935391== by 0xA4E98C1: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==935391== by 0xA4E8E17: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==935391== by 0xE5BF855: Node<2u>::AddElement(unsigned int) (Node.cpp:270) ==935391== by 0xE51B38F: Element<2u, 2u>::RegisterWithNodes() (Element.cpp:69) ==935391== by 0xE51B299: Element<2u, 2u>::Element(unsigned int, std::vector*, std::allocator*> > const&, bool) (Element.cpp:51) ==935391== by 0xE627255: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127) ==935391== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==935391== by 0x17B0C0: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==935391== by 0x1855E6: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==935391== by 0x1708CD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==935391== by 0x1747CE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==935391== by 0x1746B3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==935391== by 0x174559: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==935391== by 0x1743C0: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==935391== by 0x174A57: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==935391== by 0x16F605: main (TestImmersedBoundaryCellPopulation.cpp:19) ==935391== { Memcheck:Leak match-leak-kinds: possible 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:_ZN7ElementILj2ELj2EE17RegisterWithNodesEv fun:_ZN7ElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EEb fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==935391== 160 bytes in 4 blocks are possibly lost in loss record 41 of 94 ==935391== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==935391== by 0x19BA13: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==935391== by 0x19B450: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==935391== by 0x19AB1C: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==935391== by 0x19A38D: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==935391== by 0x199492: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==935391== by 0xA4EA263: 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) ==935391== by 0xA4E98C1: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==935391== by 0xA4E8E17: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==935391== by 0xE5BFC3B: Node<2u>::AddBoundaryElement(unsigned int) (Node.cpp:296) ==935391== by 0xE627555: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:169) ==935391== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==935391== by 0x17B0C0: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==935391== by 0x1855E6: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==935391== by 0x1708CD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==935391== by 0x1747CE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==935391== by 0x1746B3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==935391== by 0x174559: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==935391== by 0x1743C0: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==935391== by 0x174A57: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==935391== by 0x16F605: main (TestImmersedBoundaryCellPopulation.cpp:19) ==935391== { Memcheck:Leak match-leak-kinds: possible 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:_ZN4NodeILj2EE18AddBoundaryElementEj fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==935391== 288 bytes in 2 blocks are possibly lost in loss record 44 of 94 ==935391== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==935391== by 0xE626F99: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:93) ==935391== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==935391== by 0x17B0C0: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==935391== by 0x1855E6: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==935391== by 0x1708CD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==935391== by 0x1747CE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==935391== by 0x1746B3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==935391== by 0x174559: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==935391== by 0x1743C0: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==935391== by 0x174A57: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==935391== by 0x16F605: main (TestImmersedBoundaryCellPopulation.cpp:19) ==935391== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==935391== 348,562 (320 direct, 348,242 indirect) bytes in 1 blocks are definitely lost in loss record 94 of 94 ==935391== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==935391== by 0xA867372: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:884) ==935391== by 0x17B0C0: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==935391== by 0x1855E6: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==935391== by 0x1708CD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==935391== by 0x1747CE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==935391== by 0x1746B3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==935391== by 0x174559: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==935391== by 0x1743C0: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==935391== by 0x174A57: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==935391== by 0x16F605: main (TestImmersedBoundaryCellPopulation.cpp:19) ==935391== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==935391== LEAK SUMMARY: ==935391== definitely lost: 320 bytes in 1 blocks ==935391== indirectly lost: 348,242 bytes in 5,975 blocks ==935391== possibly lost: 608 bytes in 10 blocks ==935391== still reachable: 4,880 bytes in 116 blocks ==935391== suppressed: 700,698 bytes in 9,375 blocks ==935391== Reachable blocks (those to which a pointer was found) are not shown. ==935391== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==935391== ==935391== For lists of detected and suppressed errors, rerun with: -s ==935391== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 37 from 37)