==231608== Memcheck, a memory error detector ==231608== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==231608== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==231608== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/cell_based/test/TestImmersedBoundaryCellPopulation -malloc_debug -malloc_dump -memory_info ==231608== Parent PID: 229766 ==231608== ==231608== ==231608== FILE DESCRIPTORS: 9 open (3 std) at exit. ==231608== Open file descriptor 12: ==231608== at 0x10DBA22D: pipe (pipe.c:29) ==231608== by 0x1977807D: ??? ==231608== by 0x14CF34CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==231608== by 0x106C2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==231608== by 0x1065BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==231608== by 0xF352D38: PetscInitialize (pinit.c:924) ==231608== by 0xF1C72DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==231608== by 0xF1C732D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==231608== by 0x16AAB1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==231608== by 0x162F29: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==231608== by 0x1660DA: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== ==231608== Open file descriptor 8: /dev/shm/open_mpi.0000 ==231608== at 0x10DBEBCC: __open_nocancel (open64_nocancel.c:39) ==231608== by 0x10D42C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==231608== by 0xF1FC822: ??? ==231608== by 0xF1FC96F: ??? ==231608== by 0x14D986DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==231608== by 0x14D98938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==231608== by 0x14D4E922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==231608== by 0x14CF32DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==231608== by 0x106C2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==231608== by 0x1065BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==231608== by 0xF352D38: PetscInitialize (pinit.c:924) ==231608== by 0xF1C72DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==231608== by 0xF1C732D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==231608== by 0x16AAB1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==231608== by 0x162F29: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==231608== by 0x1660DA: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== ==231608== Open file descriptor 115: ==231608== ==231608== ==231608== Open file descriptor 112: ==231608== ==231608== ==231608== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryCellPopulation_valgrind.txt ==231608== ==231608== ==231608== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==231608== ==231608== ==231608== ==231608== HEAP SUMMARY: ==231608== in use at exit: 1,054,748 bytes in 15,477 blocks ==231608== total heap usage: 102,007 allocs, 86,530 frees, 1,373,544,939 bytes allocated ==231608== ==231608== 24 bytes in 1 blocks are possibly lost in loss record 12 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xA6F6609: __gnu_cxx::new_allocator*>::allocate(unsigned long, void const*) (new_allocator.h:127) ==231608== by 0xA6F6259: std::allocator_traits*> >::allocate(std::allocator*>&, unsigned long) (alloc_traits.h:464) ==231608== by 0xA6F5E7D: std::_Vector_base*, std::allocator*> >::_M_allocate(unsigned long) (stl_vector.h:346) ==231608== by 0xA739B10: std::_Vector_base*, std::allocator*> >::_M_create_storage(unsigned long) (stl_vector.h:361) ==231608== by 0xA73923A: std::_Vector_base*, std::allocator*> >::_Vector_base(unsigned long, std::allocator*> const&) (stl_vector.h:305) ==231608== by 0xA738742: std::vector*, std::allocator*> >::vector(std::vector*, std::allocator*> > const&) (stl_vector.h:555) ==231608== by 0xE4D4A55: AbstractElement<2u, 2u>::AbstractElement(unsigned int, std::vector*, std::allocator*> > const&) (AbstractElement.cpp:49) ==231608== by 0xE4F8446: AbstractTetrahedralElement<2u, 2u>::AbstractTetrahedralElement(unsigned int, std::vector*, std::allocator*> > const&) (AbstractTetrahedralElement.cpp:64) ==231608== by 0xE5F2D95: Element<2u, 2u>::Element(unsigned int, std::vector*, std::allocator*> > const&, bool) (Element.cpp:47) ==231608== by 0xE6FED75: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127) ==231608== by 0xA8F8CB0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIP4NodeILj2EEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaIP4NodeILj2EEEE8allocateERS3_m fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EE11_M_allocateEm fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EE17_M_create_storageEm fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EEC1EmRKS3_ fun:_ZNSt6vectorIP4NodeILj2EESaIS2_EEC1ERKS4_ fun:_ZN15AbstractElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN26AbstractTetrahedralElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE 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 } ==231608== 48 bytes in 1 blocks are possibly lost in loss record 27 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xE6FED56: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127) ==231608== by 0xA8F8CB0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { 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 } ==231608== 4,096 bytes in 1 blocks are possibly lost in loss record 67 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xA6F6609: __gnu_cxx::new_allocator*>::allocate(unsigned long, void const*) (new_allocator.h:127) ==231608== by 0xA6F6259: std::allocator_traits*> >::allocate(std::allocator*>&, unsigned long) (alloc_traits.h:464) ==231608== by 0xA6F5E7D: std::_Vector_base*, std::allocator*> >::_M_allocate(unsigned long) (stl_vector.h:346) ==231608== by 0xA6F576A: void std::vector*, std::allocator*> >::_M_realloc_insert* const&>(__gnu_cxx::__normal_iterator**, std::vector*, std::allocator*> > >, Node<2u>* const&) (vector.tcc:440) ==231608== by 0xA6F53FB: std::vector*, std::allocator*> >::push_back(Node<2u>* const&) (stl_vector.h:1198) ==231608== by 0xE6FF04A: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:165) ==231608== by 0xA8F8CB0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIP4NodeILj2EEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaIP4NodeILj2EEEE8allocateERS3_m fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EE11_M_allocateEm fun:_ZNSt6vectorIP4NodeILj2EESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ fun:_ZNSt6vectorIP4NodeILj2EESaIS2_EE9push_backERKS2_ 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 } ==231608== 40,000 bytes in 1,000 blocks are possibly lost in loss record 83 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xA583165: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==231608== by 0xA581F91: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==231608== by 0xA57FBC6: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==231608== by 0xA57E50F: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==231608== by 0xA57D8C8: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==231608== by 0xA57D263: 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) ==231608== by 0xA57C8C1: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==231608== by 0xA57BE17: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==231608== by 0xE69775B: Node<2u>::AddBoundaryElement(unsigned int) (Node.cpp:296) ==231608== by 0xE6FF075: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:169) ==231608== by 0xA8F8CB0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { 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 } ==231608== 48,000 bytes in 1,200 blocks are possibly lost in loss record 84 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xA583165: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==231608== by 0xA581F91: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==231608== by 0xA57FBC6: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==231608== by 0xA57E50F: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==231608== by 0xA57D8C8: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==231608== by 0xA57D263: 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) ==231608== by 0xA57C8C1: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==231608== by 0xA57BE17: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==231608== by 0xE697375: Node<2u>::AddElement(unsigned int) (Node.cpp:270) ==231608== by 0xE5F2EAF: Element<2u, 2u>::RegisterWithNodes() (Element.cpp:69) ==231608== by 0xE5F2DB9: Element<2u, 2u>::Element(unsigned int, std::vector*, std::allocator*> > const&, bool) (Element.cpp:51) ==231608== by 0xE6FED75: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127) ==231608== by 0xA8F8CB0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { 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 } ==231608== 72,288 bytes in 502 blocks are possibly lost in loss record 86 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xE6FEAB9: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:93) ==231608== by 0xA8F8CB0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { 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 } ==231608== 189,538 (320 direct, 189,218 indirect) bytes in 1 blocks are definitely lost in loss record 89 of 90 ==231608== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==231608== by 0xA8F8C20: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:881) ==231608== by 0x16CC7A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==231608== by 0x17234C: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==231608== by 0x16260D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==231608== by 0x166388: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==231608== by 0x16626D: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==231608== by 0x166113: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==231608== by 0x165F7A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==231608== by 0x166611: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==231608== by 0x161345: main (TestImmersedBoundaryCellPopulation.cpp:19) ==231608== { 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 } ==231608== LEAK SUMMARY: ==231608== definitely lost: 320 bytes in 1 blocks ==231608== indirectly lost: 189,218 bytes in 3,393 blocks ==231608== possibly lost: 164,456 bytes in 2,705 blocks ==231608== still reachable: 56 bytes in 3 blocks ==231608== suppressed: 700,698 bytes in 9,375 blocks ==231608== Reachable blocks (those to which a pointer was found) are not shown. ==231608== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==231608== ==231608== For lists of detected and suppressed errors, rerun with: -s ==231608== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 37 from 37)