==1868103== Memcheck, a memory error detector
==1868103== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1868103== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==1868103== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/heart/test/TestMonodomainStiffnessMatrixAssembler -malloc_debug -malloc_dump -memory_info
==1868103== Parent PID: 1849946
==1868103== 
==1868103== 
==1868103== FILE DESCRIPTORS: 9 open (3 std) at exit.
==1868103== Open file descriptor 12:
==1868103==    at 0xBFB222D: pipe (pipe.c:29)
==1868103==    by 0x142F907D: ???
==1868103==    by 0xFAFB4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==1868103==    by 0xC32E418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1868103==    by 0xC2C7D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1868103==    by 0xA562D38: PetscInitialize (pinit.c:924)
==1868103==    by 0xA43915B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==1868103==    by 0xA4391A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==1868103==    by 0x13BAB8: PetscSetup::setUpWorld() (PetscSetupAndFinalize.hpp:61)
==1868103==    by 0x136833: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==1868103==    by 0x1393DA: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==1868103==    by 0x1392D5: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1868103==    by 0x1398E9: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1868103==    by 0x135035: main (TestMonodomainStiffnessMatrixAssembler.cpp:18)
==1868103== 
==1868103== Open file descriptor 8: /dev/shm/open_mpi.0000
==1868103==    at 0xBFB6BCC: __open_nocancel (open64_nocancel.c:39)
==1868103==    by 0xBF3AC4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==1868103==    by 0xB7EC822: ???
==1868103==    by 0xB7EC96F: ???
==1868103==    by 0xFBA06DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==1868103==    by 0xFBA0938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==1868103==    by 0xFB56922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==1868103==    by 0xFAFB2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==1868103==    by 0xC32E418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1868103==    by 0xC2C7D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==1868103==    by 0xA562D38: PetscInitialize (pinit.c:924)
==1868103==    by 0xA43915B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==1868103==    by 0xA4391A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==1868103==    by 0x13BAB8: PetscSetup::setUpWorld() (PetscSetupAndFinalize.hpp:61)
==1868103==    by 0x136833: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==1868103==    by 0x1393DA: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==1868103==    by 0x1392D5: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==1868103==    by 0x1398E9: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==1868103==    by 0x135035: main (TestMonodomainStiffnessMatrixAssembler.cpp:18)
==1868103== 
==1868103== Open file descriptor 116:
==1868103==    <inherited from parent>
==1868103== 
==1868103== Open file descriptor 112:
==1868103==    <inherited from parent>
==1868103== 
==1868103== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestMonodomainStiffnessMatrixAssembler_valgrind.txt
==1868103==    <inherited from parent>
==1868103== 
==1868103== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==1868103==    <inherited from parent>
==1868103== 
==1868103== 
==1868103== HEAP SUMMARY:
==1868103==     in use at exit: 707,015 bytes in 9,489 blocks
==1868103==   total heap usage: 51,932 allocs, 42,443 frees, 1,353,720,098 bytes allocated
==1868103== 
==1868103== 448 bytes in 8 blocks are definitely lost in loss record 51 of 79
==1868103==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1868103==    by 0x95C9975: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:462)
==1868103==    by 0x95C7C0E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:34)
==1868103==    by 0x95CABB4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:38)
==1868103==    by 0x95CABD9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1084)
==1868103==    by 0x400647D: call_init.part.0 (dl-init.c:70)
==1868103==    by 0x4006567: call_init (dl-init.c:33)
==1868103==    by 0x4006567: _dl_init (dl-init.c:117)
==1868103==    by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
==1868103==    by 0x3: ???
==1868103==    by 0x1FFF0002DA: ???
==1868103==    by 0x1FFF000354: ???
==1868103==    by 0x1FFF000362: ???
==1868103==    by 0x1FFF00036F: ???
==1868103== 
{
   <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:*
}
==1868103== LEAK SUMMARY:
==1868103==    definitely lost: 448 bytes in 8 blocks
==1868103==    indirectly lost: 0 bytes in 0 blocks
==1868103==      possibly lost: 0 bytes in 0 blocks
==1868103==    still reachable: 5,848 bytes in 106 blocks
==1868103==         suppressed: 700,719 bytes in 9,375 blocks
==1868103== Reachable blocks (those to which a pointer was found) are not shown.
==1868103== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==1868103== 
==1868103== For lists of detected and suppressed errors, rerun with: -s
==1868103== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 37 from 37)
