==2085506== Memcheck, a memory error detector
==2085506== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2085506== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==2085506== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/heart/test/TestSpiralWaveAndPhase -malloc_debug -malloc_dump -memory_info
==2085506== Parent PID: 2067151
==2085506== 
==2085506== 
==2085506== FILE DESCRIPTORS: 9 open (3 std) at exit.
==2085506== Open file descriptor 12:
==2085506==    at 0x849722D: pipe (pipe.c:29)
==2085506==    by 0x104A407D: ???
==2085506==    by 0xC33C4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2085506==    by 0x8B19418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2085506==    by 0x8AB2D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2085506==    by 0x6A61D38: PetscInitialize (pinit.c:924)
==2085506==    by 0x693815B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2085506==    by 0x69381A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2085506==    by 0x118FE0: PetscSetup::setUpWorld() (PetscSetupAndFinalize.hpp:61)
==2085506==    by 0x114793: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2085506==    by 0x116F8C: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2085506==    by 0x116E87: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2085506==    by 0x11749B: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2085506==    by 0x112F95: main (TestSpiralWaveAndPhase.cpp:18)
==2085506== 
==2085506== Open file descriptor 8: /dev/shm/open_mpi.0000
==2085506==    at 0x849BBCC: __open_nocancel (open64_nocancel.c:39)
==2085506==    by 0x841FC4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==2085506==    by 0x7CEB822: ???
==2085506==    by 0x7CEB96F: ???
==2085506==    by 0xC3E16DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2085506==    by 0xC3E1938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2085506==    by 0xC397922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2085506==    by 0xC33C2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2085506==    by 0x8B19418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2085506==    by 0x8AB2D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2085506==    by 0x6A61D38: PetscInitialize (pinit.c:924)
==2085506==    by 0x693815B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2085506==    by 0x69381A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2085506==    by 0x118FE0: PetscSetup::setUpWorld() (PetscSetupAndFinalize.hpp:61)
==2085506==    by 0x114793: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2085506==    by 0x116F8C: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2085506==    by 0x116E87: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2085506==    by 0x11749B: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2085506==    by 0x112F95: main (TestSpiralWaveAndPhase.cpp:18)
==2085506== 
==2085506== Open file descriptor 116:
==2085506==    <inherited from parent>
==2085506== 
==2085506== Open file descriptor 112:
==2085506==    <inherited from parent>
==2085506== 
==2085506== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestSpiralWaveAndPhase_valgrind.txt
==2085506==    <inherited from parent>
==2085506== 
==2085506== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==2085506==    <inherited from parent>
==2085506== 
==2085506== 
==2085506== HEAP SUMMARY:
==2085506==     in use at exit: 707,344 bytes in 9,495 blocks
==2085506==   total heap usage: 4,513,829 allocs, 4,504,334 frees, 1,954,305,101 bytes allocated
==2085506== 
==2085506== 448 bytes in 8 blocks are definitely lost in loss record 52 of 77
==2085506==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2085506==    by 0x5AE2875: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:462)
==2085506==    by 0x5AE0B0E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:34)
==2085506==    by 0x5AE3AB4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:38)
==2085506==    by 0x5AE3AD9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1084)
==2085506==    by 0x400647D: call_init.part.0 (dl-init.c:70)
==2085506==    by 0x4006567: call_init (dl-init.c:33)
==2085506==    by 0x4006567: _dl_init (dl-init.c:117)
==2085506==    by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
==2085506==    by 0x3: ???
==2085506==    by 0x1FFF000302: ???
==2085506==    by 0x1FFF00036C: ???
==2085506==    by 0x1FFF00037A: ???
==2085506==    by 0x1FFF000387: ???
==2085506== 
{
   <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:*
}
==2085506== LEAK SUMMARY:
==2085506==    definitely lost: 448 bytes in 8 blocks
==2085506==    indirectly lost: 0 bytes in 0 blocks
==2085506==      possibly lost: 0 bytes in 0 blocks
==2085506==    still reachable: 5,848 bytes in 106 blocks
==2085506==         suppressed: 701,048 bytes in 9,381 blocks
==2085506== Reachable blocks (those to which a pointer was found) are not shown.
==2085506== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2085506== 
==2085506== For lists of detected and suppressed errors, rerun with: -s
==2085506== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 34 from 32)
