==2290797== Memcheck, a memory error detector
==2290797== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2290797== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==2290797== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestImmersedBoundaryHoneycombMeshGenerator -malloc_debug -malloc_dump -memory_info
==2290797== Parent PID: 2290032
==2290797== 
==2290797== Invalid free() / delete / delete[] / realloc()
==2290797==    at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2290797==    by 0x5B38103: ImmersedBoundaryMesh<2u, 2u>::Clear() (ImmersedBoundaryMesh.cpp:604)
==2290797==    by 0x5B36979: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:524)
==2290797==    by 0x5B36A59: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:525)
==2290797==    by 0x5B1A579: ImmersedBoundaryHoneycombMeshGenerator::~ImmersedBoundaryHoneycombMeshGenerator() (ImmersedBoundaryHoneycombMeshGenerator.cpp:138)
==2290797==    by 0x1138C8: TestImmersedBoundaryHoneycombMeshGenerator::TestBoundaryElementsAreTaggedCorrectly() (TestImmersedBoundaryHoneycombMeshGenerator.hpp:83)
==2290797==    by 0x114C64: TestDescription_TestImmersedBoundaryHoneycombMeshGenerator_TestBoundaryElementsAreTaggedCorrectly::runTest() (TestImmersedBoundaryHoneycombMeshGenerator.cpp:30)
==2290797==    by 0x10E60A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==2290797==    by 0x1116BE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==2290797==    by 0x1115A3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==2290797==    by 0x111449: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==2290797==    by 0x11130B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2290797==    by 0x11191F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2290797==    by 0x10D5D5: main (TestImmersedBoundaryHoneycombMeshGenerator.cpp:18)
==2290797==  Address 0x124702a0 is 0 bytes inside a block of size 48 free'd
==2290797==    at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2290797==    by 0x5ABE789: ImmersedBoundaryElement<2u, 2u>::~ImmersedBoundaryElement() (ImmersedBoundaryElement.cpp:63)
==2290797==    by 0x5ABE7C9: ImmersedBoundaryElement<2u, 2u>::~ImmersedBoundaryElement() (ImmersedBoundaryElement.cpp:65)
==2290797==    by 0x5B37F92: ImmersedBoundaryMesh<2u, 2u>::Clear() (ImmersedBoundaryMesh.cpp:583)
==2290797==    by 0x5B36979: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:524)
==2290797==    by 0x5B36A59: ImmersedBoundaryMesh<2u, 2u>::~ImmersedBoundaryMesh() (ImmersedBoundaryMesh.cpp:525)
==2290797==    by 0x5B1A579: ImmersedBoundaryHoneycombMeshGenerator::~ImmersedBoundaryHoneycombMeshGenerator() (ImmersedBoundaryHoneycombMeshGenerator.cpp:138)
==2290797==    by 0x1138C8: TestImmersedBoundaryHoneycombMeshGenerator::TestBoundaryElementsAreTaggedCorrectly() (TestImmersedBoundaryHoneycombMeshGenerator.hpp:83)
==2290797==    by 0x114C64: TestDescription_TestImmersedBoundaryHoneycombMeshGenerator_TestBoundaryElementsAreTaggedCorrectly::runTest() (TestImmersedBoundaryHoneycombMeshGenerator.cpp:30)
==2290797==    by 0x10E60A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==2290797==    by 0x1116BE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==2290797==    by 0x1115A3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==2290797==    by 0x111449: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==2290797==    by 0x11130B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2290797==    by 0x11191F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2290797==    by 0x10D5D5: main (TestImmersedBoundaryHoneycombMeshGenerator.cpp:18)
==2290797==  Block was alloc'd at
==2290797==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2290797==    by 0x5B3621F: ImmersedBoundaryMesh<2u, 2u>::ImmersedBoundaryMesh(std::vector<Node<2u>*, std::allocator<Node<2u>*> >, std::vector<ImmersedBoundaryElement<2u, 2u>*, std::allocator<ImmersedBoundaryElement<2u, 2u>*> >, std::vector<ImmersedBoundaryElement<1u, 2u>*, std::allocator<ImmersedBoundaryElement<1u, 2u>*> >, unsigned int, unsigned int) (ImmersedBoundaryMesh.cpp:134)
==2290797==    by 0x5B1A2E5: ImmersedBoundaryHoneycombMeshGenerator::ImmersedBoundaryHoneycombMeshGenerator(unsigned int, unsigned int, unsigned int, double, double) (ImmersedBoundaryHoneycombMeshGenerator.cpp:133)
==2290797==    by 0x113582: TestImmersedBoundaryHoneycombMeshGenerator::TestBoundaryElementsAreTaggedCorrectly() (TestImmersedBoundaryHoneycombMeshGenerator.hpp:68)
==2290797==    by 0x114C64: TestDescription_TestImmersedBoundaryHoneycombMeshGenerator_TestBoundaryElementsAreTaggedCorrectly::runTest() (TestImmersedBoundaryHoneycombMeshGenerator.cpp:30)
==2290797==    by 0x10E60A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==2290797==    by 0x1116BE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==2290797==    by 0x1115A3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==2290797==    by 0x111449: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==2290797==    by 0x11130B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2290797==    by 0x11191F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2290797==    by 0x10D5D5: main (TestImmersedBoundaryHoneycombMeshGenerator.cpp:18)
==2290797== 
{
   <insert_a_suppression_name_here>
   Memcheck:Free
   fun:_ZdlPvm
   fun:_ZN20ImmersedBoundaryMeshILj2ELj2EE5ClearEv
   fun:_ZN20ImmersedBoundaryMeshILj2ELj2EED1Ev
   fun:_ZN20ImmersedBoundaryMeshILj2ELj2EED0Ev
   fun:_ZN38ImmersedBoundaryHoneycombMeshGeneratorD1Ev
   fun:_ZN42TestImmersedBoundaryHoneycombMeshGenerator38TestBoundaryElementsAreTaggedCorrectlyEv
   fun:_ZN97TestDescription_TestImmersedBoundaryHoneycombMeshGenerator_TestBoundaryElementsAreTaggedCorrectly7runTestEv
   fun:_ZN7CxxTest19RealTestDescription3runEv
   fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE
   fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE
   fun:_ZN7CxxTest10TestRunner8runWorldEv
   fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE
   fun:_ZN7CxxTest14ErrorFormatter3runEv
   fun:main
}
==2290797== 
==2290797== FILE DESCRIPTORS: 9 open (3 std) at exit.
==2290797== Open file descriptor 12:
==2290797==    at 0x80FD22D: pipe (pipe.c:29)
==2290797==    by 0x100BB07D: ???
==2290797==    by 0xB9F24CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2290797==    by 0x7A07418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2290797==    by 0x79A0D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2290797==    by 0x6675D38: PetscInitialize (pinit.c:924)
==2290797==    by 0x654C2DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2290797==    by 0x654C32D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2290797==    by 0x11345D: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==2290797==    by 0x10EDD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2290797==    by 0x111410: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2290797==    by 0x11130B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2290797==    by 0x11191F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2290797==    by 0x10D5D5: main (TestImmersedBoundaryHoneycombMeshGenerator.cpp:18)
==2290797== 
==2290797== Open file descriptor 8: /dev/shm/open_mpi.0000
==2290797==    at 0x8101BCC: __open_nocancel (open64_nocancel.c:39)
==2290797==    by 0x8085C4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==2290797==    by 0x78FF822: ???
==2290797==    by 0x78FF96F: ???
==2290797==    by 0xBA976DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2290797==    by 0xBA97938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2290797==    by 0xBA4D922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2290797==    by 0xB9F22DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2290797==    by 0x7A07418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2290797==    by 0x79A0D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2290797==    by 0x6675D38: PetscInitialize (pinit.c:924)
==2290797==    by 0x654C2DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2290797==    by 0x654C32D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2290797==    by 0x11345D: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==2290797==    by 0x10EDD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2290797==    by 0x111410: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2290797==    by 0x11130B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2290797==    by 0x11191F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2290797==    by 0x10D5D5: main (TestImmersedBoundaryHoneycombMeshGenerator.cpp:18)
==2290797== 
==2290797== Open file descriptor 116:
==2290797==    <inherited from parent>
==2290797== 
==2290797== Open file descriptor 112:
==2290797==    <inherited from parent>
==2290797== 
==2290797== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryHoneycombMeshGenerator_valgrind.txt
==2290797==    <inherited from parent>
==2290797== 
==2290797== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==2290797==    <inherited from parent>
==2290797== 
==2290797== 
==2290797== HEAP SUMMARY:
==2290797==     in use at exit: 700,631 bytes in 9,377 blocks
==2290797==   total heap usage: 54,129 allocs, 44,815 frees, 1,355,518,904 bytes allocated
==2290797== 
==2290797== LEAK SUMMARY:
==2290797==    definitely lost: 0 bytes in 0 blocks
==2290797==    indirectly lost: 0 bytes in 0 blocks
==2290797==      possibly lost: 0 bytes in 0 blocks
==2290797==    still reachable: 24 bytes in 2 blocks
==2290797==         suppressed: 700,607 bytes in 9,375 blocks
==2290797== Reachable blocks (those to which a pointer was found) are not shown.
==2290797== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2290797== 
==2290797== For lists of detected and suppressed errors, rerun with: -s
==2290797== ERROR SUMMARY: 63 errors from 1 contexts (suppressed: 35 from 35)
