==630344== Memcheck, a memory error detector
==630344== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==630344== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==630344== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/cell_based/test/TestImmersedBoundaryCellPopulation -malloc_debug -malloc_dump -memory_info
==630344== Parent PID: 628576
==630344== 
==630344== 
==630344== FILE DESCRIPTORS: 9 open (3 std) at exit.
==630344== Open file descriptor 12:
==630344==    at 0x10CE722D: pipe (pipe.c:29)
==630344==    by 0x196A507D: ???
==630344==    by 0x14C134CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==630344==    by 0x105EF418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==630344==    by 0x10588D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==630344==    by 0xF27FD38: PetscInitialize (pinit.c:924)
==630344==    by 0xF0F42DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==630344==    by 0xF0F432D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==630344==    by 0x16CC41: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==630344==    by 0x164FC9: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==630344==    by 0x16826A: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
==630344== Open file descriptor 8: /dev/shm/open_mpi.0000
==630344==    at 0x10CEBBCC: __open_nocancel (open64_nocancel.c:39)
==630344==    by 0x10C6FC4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==630344==    by 0xF129822: ???
==630344==    by 0xF12996F: ???
==630344==    by 0x14CB86DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==630344==    by 0x14CB8938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==630344==    by 0x14C6E922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==630344==    by 0x14C132DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==630344==    by 0x105EF418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==630344==    by 0x10588D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==630344==    by 0xF27FD38: PetscInitialize (pinit.c:924)
==630344==    by 0xF0F42DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==630344==    by 0xF0F432D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==630344==    by 0x16CC41: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==630344==    by 0x164FC9: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==630344==    by 0x16826A: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
==630344== Open file descriptor 115:
==630344==    <inherited from parent>
==630344== 
==630344== Open file descriptor 112:
==630344==    <inherited from parent>
==630344== 
==630344== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryCellPopulation_valgrind.txt
==630344==    <inherited from parent>
==630344== 
==630344== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==630344==    <inherited from parent>
==630344== 
==630344== 
==630344== HEAP SUMMARY:
==630344==     in use at exit: 1,054,748 bytes in 15,477 blocks
==630344==   total heap usage: 110,108 allocs, 94,631 frees, 1,389,470,838 bytes allocated
==630344== 
==630344== 24 bytes in 1 blocks are possibly lost in loss record 12 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0xA6635A9: __gnu_cxx::new_allocator<Node<2u>*>::allocate(unsigned long, void const*) (new_allocator.h:127)
==630344==    by 0xA6631F9: std::allocator_traits<std::allocator<Node<2u>*> >::allocate(std::allocator<Node<2u>*>&, unsigned long) (alloc_traits.h:464)
==630344==    by 0xA662E1D: std::_Vector_base<Node<2u>*, std::allocator<Node<2u>*> >::_M_allocate(unsigned long) (stl_vector.h:346)
==630344==    by 0xA6A7C10: std::_Vector_base<Node<2u>*, std::allocator<Node<2u>*> >::_M_create_storage(unsigned long) (stl_vector.h:361)
==630344==    by 0xA6A7188: std::_Vector_base<Node<2u>*, std::allocator<Node<2u>*> >::_Vector_base(unsigned long, std::allocator<Node<2u>*> const&) (stl_vector.h:305)
==630344==    by 0xA6A63E8: std::vector<Node<2u>*, std::allocator<Node<2u>*> >::vector(std::vector<Node<2u>*, std::allocator<Node<2u>*> > const&) (stl_vector.h:555)
==630344==    by 0xE3FCF35: AbstractElement<2u, 2u>::AbstractElement(unsigned int, std::vector<Node<2u>*, std::allocator<Node<2u>*> > const&) (AbstractElement.cpp:49)
==630344==    by 0xE420926: AbstractTetrahedralElement<2u, 2u>::AbstractTetrahedralElement(unsigned int, std::vector<Node<2u>*, std::allocator<Node<2u>*> > const&) (AbstractTetrahedralElement.cpp:64)
==630344==    by 0xE51B275: Element<2u, 2u>::Element(unsigned int, std::vector<Node<2u>*, std::allocator<Node<2u>*> > const&, bool) (Element.cpp:47)
==630344==    by 0xE627255: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   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
}
==630344== 48 bytes in 1 blocks are possibly lost in loss record 27 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0xE627236: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   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
}
==630344== 160 bytes in 4 blocks are possibly lost in loss record 39 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0x186AAD: __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned int> >::allocate(unsigned long, void const*) (new_allocator.h:127)
==630344==    by 0x186547: std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned int> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned int> >&, unsigned long) (alloc_traits.h:464)
==630344==    by 0x185D8A: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_get_node() (stl_tree.h:561)
==630344==    by 0x18579B: std::_Rb_tree_node<unsigned int>* std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_create_node<unsigned int const&>(unsigned int const&) (stl_tree.h:611)
==630344==    by 0x184C54: std::_Rb_tree_node<unsigned int>* std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_Alloc_node::operator()<unsigned int const&>(unsigned int const&) const (stl_tree.h:529)
==630344==    by 0xA4EA203: std::_Rb_tree_iterator<unsigned int> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_<unsigned int const&, std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_Alloc_node&) (stl_tree.h:1784)
==630344==    by 0xA4E9861: std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int const&>(unsigned int const&) (stl_tree.h:2129)
==630344==    by 0xA4E8DB7: std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >::insert(unsigned int const&) (stl_set.h:512)
==630344==    by 0xE5BFC3B: Node<2u>::AddBoundaryElement(unsigned int) (Node.cpp:296)
==630344==    by 0xE627555: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:169)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   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
}
==630344== 432 bytes in 3 blocks are possibly lost in loss record 43 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0xE626F99: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:93)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   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
}
==630344== 4,160 bytes in 104 blocks are possibly lost in loss record 71 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0x186AAD: __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned int> >::allocate(unsigned long, void const*) (new_allocator.h:127)
==630344==    by 0x186547: std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned int> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned int> >&, unsigned long) (alloc_traits.h:464)
==630344==    by 0x185D8A: std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_get_node() (stl_tree.h:561)
==630344==    by 0x18579B: std::_Rb_tree_node<unsigned int>* std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_create_node<unsigned int const&>(unsigned int const&) (stl_tree.h:611)
==630344==    by 0x184C54: std::_Rb_tree_node<unsigned int>* std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_Alloc_node::operator()<unsigned int const&>(unsigned int const&) const (stl_tree.h:529)
==630344==    by 0xA4EA203: std::_Rb_tree_iterator<unsigned int> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_<unsigned int const&, std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_Alloc_node&) (stl_tree.h:1784)
==630344==    by 0xA4E9861: std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int const&>(unsigned int const&) (stl_tree.h:2129)
==630344==    by 0xA4E8DB7: std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >::insert(unsigned int const&) (stl_set.h:512)
==630344==    by 0xE5BF855: Node<2u>::AddElement(unsigned int) (Node.cpp:270)
==630344==    by 0xE51B38F: Element<2u, 2u>::RegisterWithNodes() (Element.cpp:69)
==630344==    by 0xE51B299: Element<2u, 2u>::Element(unsigned int, std::vector<Node<2u>*, std::allocator<Node<2u>*> > const&, bool) (Element.cpp:51)
==630344==    by 0xE627255: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   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
}
==630344== 12,000 bytes in 1 blocks are possibly lost in loss record 75 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0xA859DCA: __gnu_cxx::new_allocator<boost::numeric::ublas::c_vector<double, 2ul> >::allocate(unsigned long, void const*) (new_allocator.h:127)
==630344==    by 0xA859317: std::allocator_traits<std::allocator<boost::numeric::ublas::c_vector<double, 2ul> > >::allocate(std::allocator<boost::numeric::ublas::c_vector<double, 2ul> >&, unsigned long) (alloc_traits.h:464)
==630344==    by 0xA85885B: std::_Vector_base<boost::numeric::ublas::c_vector<double, 2ul>, std::allocator<boost::numeric::ublas::c_vector<double, 2ul> > >::_M_allocate(unsigned long) (stl_vector.h:346)
==630344==    by 0xADB61F8: std::vector<boost::numeric::ublas::c_vector<double, 2ul>, std::allocator<boost::numeric::ublas::c_vector<double, 2ul> > >::_M_default_append(unsigned long) (vector.tcc:635)
==630344==    by 0xADB541E: std::vector<boost::numeric::ublas::c_vector<double, 2ul>, std::allocator<boost::numeric::ublas::c_vector<double, 2ul> > >::resize(unsigned long) (stl_vector.h:940)
==630344==    by 0xE629424: TetrahedralMesh<2u, 2u>::RefreshJacobianCachedData() (TetrahedralMesh.cpp:683)
==630344==    by 0xE6276E3: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:184)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:_Znwm
   fun:_ZN9__gnu_cxx13new_allocatorIN5boost7numeric5ublas8c_vectorIdLm2EEEE8allocateEmPKv
   fun:_ZNSt16allocator_traitsISaIN5boost7numeric5ublas8c_vectorIdLm2EEEEE8allocateERS5_m
   fun:_ZNSt12_Vector_baseIN5boost7numeric5ublas8c_vectorIdLm2EEESaIS4_EE11_M_allocateEm
   fun:_ZNSt6vectorIN5boost7numeric5ublas8c_vectorIdLm2EEESaIS4_EE17_M_default_appendEm
   fun:_ZNSt6vectorIN5boost7numeric5ublas8c_vectorIdLm2EEESaIS4_EE6resizeEm
   fun:_ZN15TetrahedralMeshILj2ELj2EE25RefreshJacobianCachedDataEv
   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
}
==630344== 24,000 bytes in 1 blocks are possibly lost in loss record 80 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0xE58ED22: __gnu_cxx::new_allocator<boost::numeric::ublas::c_matrix<double, 2ul, 2ul> >::allocate(unsigned long, void const*) (new_allocator.h:127)
==630344==    by 0xE58B092: std::allocator_traits<std::allocator<boost::numeric::ublas::c_matrix<double, 2ul, 2ul> > >::allocate(std::allocator<boost::numeric::ublas::c_matrix<double, 2ul, 2ul> >&, unsigned long) (alloc_traits.h:464)
==630344==    by 0xE586B63: std::_Vector_base<boost::numeric::ublas::c_matrix<double, 2ul, 2ul>, std::allocator<boost::numeric::ublas::c_matrix<double, 2ul, 2ul> > >::_M_allocate(unsigned long) (stl_vector.h:346)
==630344==    by 0xE580C86: std::vector<boost::numeric::ublas::c_matrix<double, 2ul, 2ul>, std::allocator<boost::numeric::ublas::c_matrix<double, 2ul, 2ul> > >::_M_default_append(unsigned long) (vector.tcc:635)
==630344==    by 0xE57B21E: std::vector<boost::numeric::ublas::c_matrix<double, 2ul, 2ul>, std::allocator<boost::numeric::ublas::c_matrix<double, 2ul, 2ul> > >::resize(unsigned long) (stl_vector.h:940)
==630344==    by 0xE62940B: TetrahedralMesh<2u, 2u>::RefreshJacobianCachedData() (TetrahedralMesh.cpp:676)
==630344==    by 0xE6276E3: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:184)
==630344==    by 0xA8674F6: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: possible
   fun:_Znwm
   fun:_ZN9__gnu_cxx13new_allocatorIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEEE8allocateEmPKv
   fun:_ZNSt16allocator_traitsISaIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEEEE8allocateERS5_m
   fun:_ZNSt12_Vector_baseIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEESaIS4_EE11_M_allocateEm
   fun:_ZNSt6vectorIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEESaIS4_EE17_M_default_appendEm
   fun:_ZNSt6vectorIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEESaIS4_EE6resizeEm
   fun:_ZN15TetrahedralMeshILj2ELj2EE25RefreshJacobianCachedDataEv
   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
}
==630344== 313,170 (320 direct, 312,850 indirect) bytes in 1 blocks are definitely lost in loss record 90 of 91
==630344==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==630344==    by 0xA867466: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:881)
==630344==    by 0x16EE0A: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213)
==630344==    by 0x1755CC: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37)
==630344==    by 0x1646AD: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==630344==    by 0x168518: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==630344==    by 0x1683FD: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==630344==    by 0x1682A3: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==630344==    by 0x16810A: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==630344==    by 0x1687A1: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==630344==    by 0x1633E5: main (TestImmersedBoundaryCellPopulation.cpp:19)
==630344== 
{
   <insert_a_suppression_name_here>
   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
}
==630344== LEAK SUMMARY:
==630344==    definitely lost: 320 bytes in 1 blocks
==630344==    indirectly lost: 312,850 bytes in 5,983 blocks
==630344==      possibly lost: 40,824 bytes in 115 blocks
==630344==    still reachable: 56 bytes in 3 blocks
==630344==         suppressed: 700,698 bytes in 9,375 blocks
==630344== Reachable blocks (those to which a pointer was found) are not shown.
==630344== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==630344== 
==630344== For lists of detected and suppressed errors, rerun with: -s
==630344== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 37 from 37)
