==1241276== Memcheck, a memory error detector
==1241276== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1241276== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==1241276== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestOffLatticeRandomFieldGenerator -malloc_debug -malloc_dump -memory_info
==1241276== Parent PID: 1240504
==1241276== 
==1241276== 
==1241276== FILE DESCRIPTORS: 9 open (3 std) at exit.
==1241276== Open file descriptor 12:
==1241276==    at 0x7EF222D: pipe (pipe.c:29)
==1241276==    by 0x1018707D: ???
==1241276==    by 0xBABE4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==1241276==    by 0x7B43418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1241276==    by 0x7ADCD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1241276==    by 0x67B3D38: PetscInitialize (pinit.c:924)
==1241276==    by 0x6685717: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==1241276==    by 0x6685765: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==1241276==    by 0x11C09B: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==1241276==    by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==1241276==    by 0x11A140: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==1241276==    by 0x11A03B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1241276==    by 0x11A64F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1241276==    by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18)
==1241276== 
==1241276== Open file descriptor 8: /dev/shm/open_mpi.0000
==1241276==    at 0x7EF6BCC: __open_nocancel (open64_nocancel.c:39)
==1241276==    by 0x7E7AC4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==1241276==    by 0x7A3D822: ???
==1241276==    by 0x7A3D96F: ???
==1241276==    by 0xBB636DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==1241276==    by 0xBB63938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==1241276==    by 0xBB19922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==1241276==    by 0xBABE2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==1241276==    by 0x7B43418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1241276==    by 0x7ADCD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1241276==    by 0x67B3D38: PetscInitialize (pinit.c:924)
==1241276==    by 0x6685717: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==1241276==    by 0x6685765: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==1241276==    by 0x11C09B: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70)
==1241276==    by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==1241276==    by 0x11A140: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==1241276==    by 0x11A03B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1241276==    by 0x11A64F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1241276==    by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18)
==1241276== 
==1241276== Open file descriptor 116:
==1241276==    <inherited from parent>
==1241276== 
==1241276== Open file descriptor 112:
==1241276==    <inherited from parent>
==1241276== 
==1241276== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestOffLatticeRandomFieldGenerator_valgrind.txt
==1241276==    <inherited from parent>
==1241276== 
==1241276== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==1241276==    <inherited from parent>
==1241276== 
==1241276== 
==1241276== HEAP SUMMARY:
==1241276==     in use at exit: 751,871 bytes in 9,790 blocks
==1241276==   total heap usage: 56,341 allocs, 46,551 frees, 1,353,865,713 bytes allocated
==1241276== 
==1241276== 448 bytes in 8 blocks are definitely lost in loss record 51 of 80
==1241276==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1241276==    by 0x57978A5: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:442)
==1241276==    by 0x5795B3E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:14)
==1241276==    by 0x5798AE4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:18)
==1241276==    by 0x5798B09: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1064)
==1241276==    by 0x400647D: call_init.part.0 (dl-init.c:70)
==1241276==    by 0x4006567: call_init (dl-init.c:33)
==1241276==    by 0x4006567: _dl_init (dl-init.c:117)
==1241276==    by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
==1241276==    by 0x3: ???
==1241276==    by 0x1FFF00030A: ???
==1241276==    by 0x1FFF00037F: ???
==1241276==    by 0x1FFF00038D: ???
==1241276==    by 0x1FFF00039A: ???
==1241276== 
{
   <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:*
}
==1241276== 13,600 bytes in 100 blocks are definitely lost in loss record 74 of 80
==1241276==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1241276==    by 0x11C522: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:95)
==1241276==    by 0x11CFF0: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36)
==1241276==    by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==1241276==    by 0x11A3EE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==1241276==    by 0x11A2D3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==1241276==    by 0x11A179: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==1241276==    by 0x11A03B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1241276==    by 0x11A64F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1241276==    by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18)
==1241276== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:_Znwm
   fun:_ZN34TestOffLatticeRandomFieldGenerator25TestSampleFromRandomFieldEv
   fun:_ZN76TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField7runTestEv
   fun:_ZN7CxxTest19RealTestDescription3runEv
   fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE
   fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE
   fun:_ZN7CxxTest10TestRunner8runWorldEv
   fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE
   fun:_ZN7CxxTest14ErrorFormatter3runEv
   fun:main
}
==1241276== 14,400 bytes in 100 blocks are definitely lost in loss record 75 of 80
==1241276==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1241276==    by 0x11C819: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:125)
==1241276==    by 0x11CFF0: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36)
==1241276==    by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==1241276==    by 0x11A3EE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==1241276==    by 0x11A2D3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==1241276==    by 0x11A179: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==1241276==    by 0x11A03B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1241276==    by 0x11A64F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1241276==    by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18)
==1241276== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:_Znwm
   fun:_ZN34TestOffLatticeRandomFieldGenerator25TestSampleFromRandomFieldEv
   fun:_ZN76TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField7runTestEv
   fun:_ZN7CxxTest19RealTestDescription3runEv
   fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE
   fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE
   fun:_ZN7CxxTest10TestRunner8runWorldEv
   fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE
   fun:_ZN7CxxTest14ErrorFormatter3runEv
   fun:main
}
==1241276== 14,400 bytes in 100 blocks are definitely lost in loss record 76 of 80
==1241276==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1241276==    by 0x11CC92: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomFieldWithLengthscaleZero() (TestOffLatticeRandomFieldGenerator.hpp:158)
==1241276==    by 0x11D05A: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomFieldWithLengthscaleZero::runTest() (TestOffLatticeRandomFieldGenerator.cpp:42)
==1241276==    by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96)
==1241276==    by 0x11A3EE: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74)
==1241276==    by 0x11A2D3: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61)
==1241276==    by 0x11A179: CxxTest::TestRunner::runWorld() (TestRunner.h:46)
==1241276==    by 0x11A03B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1241276==    by 0x11A64F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1241276==    by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18)
==1241276== 
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: definite
   fun:_Znwm
   fun:_ZN34TestOffLatticeRandomFieldGenerator44TestSampleFromRandomFieldWithLengthscaleZeroEv
   fun:_ZN95TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomFieldWithLengthscaleZero7runTestEv
   fun:_ZN7CxxTest19RealTestDescription3runEv
   fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE
   fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE
   fun:_ZN7CxxTest10TestRunner8runWorldEv
   fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE
   fun:_ZN7CxxTest14ErrorFormatter3runEv
   fun:main
}
==1241276== LEAK SUMMARY:
==1241276==    definitely lost: 42,848 bytes in 308 blocks
==1241276==    indirectly lost: 0 bytes in 0 blocks
==1241276==      possibly lost: 0 bytes in 0 blocks
==1241276==    still reachable: 8,400 bytes in 107 blocks
==1241276==         suppressed: 700,623 bytes in 9,375 blocks
==1241276== Reachable blocks (those to which a pointer was found) are not shown.
==1241276== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==1241276== 
==1241276== For lists of detected and suppressed errors, rerun with: -s
==1241276== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 34 from 34)
