==2103827== Memcheck, a memory error detector
==2103827== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2103827== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==2103827== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestToroidalHoneycombVertexMeshGenerator -malloc_debug -malloc_dump -memory_info
==2103827== Parent PID: 2103158
==2103827== 
==2103827== 
==2103827== FILE DESCRIPTORS: 9 open (3 std) at exit.
==2103827== Open file descriptor 12:
==2103827==    at 0x80D622D: pipe (pipe.c:29)
==2103827==    by 0x1009407D: ???
==2103827==    by 0xB9CB4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2103827==    by 0x79E2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2103827==    by 0x797BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2103827==    by 0x6650D38: PetscInitialize (pinit.c:924)
==2103827==    by 0x652715B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2103827==    by 0x65271A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2103827==    by 0x11A329: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==2103827==    by 0x113A45: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2103827==    by 0x11633E: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2103827==    by 0x1161DE: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2103827==    by 0x116875: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2103827==    by 0x111D75: main (TestToroidalHoneycombVertexMeshGenerator.cpp:19)
==2103827== 
==2103827== Open file descriptor 8: /dev/shm/open_mpi.0000
==2103827==    at 0x80DABCC: __open_nocancel (open64_nocancel.c:39)
==2103827==    by 0x805EC4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==2103827==    by 0x78DA822: ???
==2103827==    by 0x78DA96F: ???
==2103827==    by 0xBA706DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2103827==    by 0xBA70938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2103827==    by 0xBA26922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2103827==    by 0xB9CB2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2103827==    by 0x79E2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2103827==    by 0x797BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2103827==    by 0x6650D38: PetscInitialize (pinit.c:924)
==2103827==    by 0x652715B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2103827==    by 0x65271A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2103827==    by 0x11A329: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==2103827==    by 0x113A45: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2103827==    by 0x11633E: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2103827==    by 0x1161DE: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2103827==    by 0x116875: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2103827==    by 0x111D75: main (TestToroidalHoneycombVertexMeshGenerator.cpp:19)
==2103827== 
==2103827== Open file descriptor 116:
==2103827==    <inherited from parent>
==2103827== 
==2103827== Open file descriptor 112:
==2103827==    <inherited from parent>
==2103827== 
==2103827== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestToroidalHoneycombVertexMeshGenerator_valgrind.txt
==2103827==    <inherited from parent>
==2103827== 
==2103827== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==2103827==    <inherited from parent>
==2103827== 
==2103827== 
==2103827== HEAP SUMMARY:
==2103827==     in use at exit: 706,903 bytes in 9,489 blocks
==2103827==   total heap usage: 50,882 allocs, 41,393 frees, 1,353,679,578 bytes allocated
==2103827== 
==2103827== 448 bytes in 8 blocks are definitely lost in loss record 51 of 79
==2103827==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103827==    by 0x5746875: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:462)
==2103827==    by 0x5744B0E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:34)
==2103827==    by 0x5747AB4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:38)
==2103827==    by 0x5747AD9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1084)
==2103827==    by 0x400647D: call_init.part.0 (dl-init.c:70)
==2103827==    by 0x4006567: call_init (dl-init.c:33)
==2103827==    by 0x4006567: _dl_init (dl-init.c:117)
==2103827==    by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
==2103827==    by 0x3: ???
==2103827==    by 0x1FFF0002E2: ???
==2103827==    by 0x1FFF00035D: ???
==2103827==    by 0x1FFF00036B: ???
==2103827==    by 0x1FFF000378: ???
==2103827== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:_Znwm
   fun:_ZN13OpenSimplex2S17initLatticePointsEv
   fun:_ZN13OpenSimplex2S11InitializerC1Ev
   fun:_Z41__static_initialization_and_destruction_0ii
   fun:_GLOBAL__sub_I_OpenSimplex2S.cpp
   fun:call_init.part.0
   fun:call_init
   fun:_dl_init
   obj:/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
}
==2103827== LEAK SUMMARY:
==2103827==    definitely lost: 448 bytes in 8 blocks
==2103827==    indirectly lost: 0 bytes in 0 blocks
==2103827==      possibly lost: 0 bytes in 0 blocks
==2103827==    still reachable: 5,848 bytes in 106 blocks
==2103827==         suppressed: 700,607 bytes in 9,375 blocks
==2103827== Reachable blocks (those to which a pointer was found) are not shown.
==2103827== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2103827== 
==2103827== For lists of detected and suppressed errors, rerun with: -s
==2103827== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 37 from 37)
