==2104853== Memcheck, a memory error detector
==2104853== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==2104853== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==2104853== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/cell_based/test/TestCellPopulationCountWriters -malloc_debug -malloc_dump -memory_info
==2104853== Parent PID: 2103158
==2104853== 
==2104853== 
==2104853== FILE DESCRIPTORS: 9 open (3 std) at exit.
==2104853== Open file descriptor 12:
==2104853==    at 0xF8E522D: pipe (pipe.c:29)
==2104853==    by 0x1975807D: ???
==2104853==    by 0x14D5B4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2104853==    by 0x11542418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2104853==    by 0x114DBD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2104853==    by 0x101D0D38: PetscInitialize (pinit.c:924)
==2104853==    by 0xF1AB15B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2104853==    by 0xF1AB1A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2104853==    by 0x136B02: PetscSetup::setUpWorld() (PetscSetupAndFinalize.hpp:61)
==2104853==    by 0x12FEE3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2104853==    by 0x132890: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2104853==    by 0x13278B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2104853==    by 0x132D9F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2104853==    by 0x12E6E5: main (TestCellPopulationCountWriters.cpp:18)
==2104853== 
==2104853== Open file descriptor 8: /dev/shm/open_mpi.0000
==2104853==    at 0xF8E9BCC: __open_nocancel (open64_nocancel.c:39)
==2104853==    by 0xF86DC4F: shm_open@@GLIBC_2.34 (shm_open.c:40)
==2104853==    by 0xF1E0822: ???
==2104853==    by 0xF1E096F: ???
==2104853==    by 0x14E006DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2104853==    by 0x14E00938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2104853==    by 0x14DB6922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2)
==2104853==    by 0x14D5B2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2)
==2104853==    by 0x11542418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2104853==    by 0x114DBD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2)
==2104853==    by 0x101D0D38: PetscInitialize (pinit.c:924)
==2104853==    by 0xF1AB15B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80)
==2104853==    by 0xF1AB1A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88)
==2104853==    by 0x136B02: PetscSetup::setUpWorld() (PetscSetupAndFinalize.hpp:61)
==2104853==    by 0x12FEE3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266)
==2104853==    by 0x132890: CxxTest::TestRunner::runWorld() (TestRunner.h:43)
==2104853==    by 0x13278B: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23)
==2104853==    by 0x132D9F: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47)
==2104853==    by 0x12E6E5: main (TestCellPopulationCountWriters.cpp:18)
==2104853== 
==2104853== Open file descriptor 116:
==2104853==    <inherited from parent>
==2104853== 
==2104853== Open file descriptor 112:
==2104853==    <inherited from parent>
==2104853== 
==2104853== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestCellPopulationCountWriters_valgrind.txt
==2104853==    <inherited from parent>
==2104853== 
==2104853== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp
==2104853==    <inherited from parent>
==2104853== 
==2104853== 
==2104853== HEAP SUMMARY:
==2104853==     in use at exit: 707,031 bytes in 9,490 blocks
==2104853==   total heap usage: 57,435 allocs, 47,945 frees, 1,355,817,070 bytes allocated
==2104853== 
==2104853== 448 bytes in 8 blocks are definitely lost in loss record 52 of 80
==2104853==    at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2104853==    by 0xE3C8875: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:462)
==2104853==    by 0xE3C6B0E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:34)
==2104853==    by 0xE3C9AB4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:38)
==2104853==    by 0xE3C9AD9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1084)
==2104853==    by 0x400647D: call_init.part.0 (dl-init.c:70)
==2104853==    by 0x4006567: call_init (dl-init.c:33)
==2104853==    by 0x4006567: _dl_init (dl-init.c:117)
==2104853==    by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
==2104853==    by 0x3: ???
==2104853==    by 0x1FFF0002EA: ???
==2104853==    by 0x1FFF000361: ???
==2104853==    by 0x1FFF00036F: ???
==2104853==    by 0x1FFF00037C: ???
==2104853== 
{
   <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:*
}
==2104853== LEAK SUMMARY:
==2104853==    definitely lost: 448 bytes in 8 blocks
==2104853==    indirectly lost: 0 bytes in 0 blocks
==2104853==      possibly lost: 0 bytes in 0 blocks
==2104853==    still reachable: 5,880 bytes in 107 blocks
==2104853==         suppressed: 700,703 bytes in 9,375 blocks
==2104853== Reachable blocks (those to which a pointer was found) are not shown.
==2104853== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2104853== 
==2104853== For lists of detected and suppressed errors, rerun with: -s
==2104853== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 37 from 37)
