!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! VERIFICATION CHECK: vc-memory-leak !!!!! !!!!! !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Description: Check that the model has no memory leaks. This is tested using the Valgrind memory debugging tool (http://valgrind.org) by performing a series of energy and force calculations on a randomly distorted face-centered cubic (FCC) cube base structure for both non-periodic and periodic boundary conditions. Separate configurations are tested for each species supported by the model, as well as one containing a random distribution of all species. Configurations used for testing are provided as auxiliary files. Author: Ellad Tadmor and Daniel S. Karls ----------------------------------------------------------------------------------------------------- Results for KIM Model : Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Cs__MO_256406354561_004 Supported species : Cs random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Cs (Configuration in file "config-F-Cs.xyz") ----------------------------------------------------------------------------------------------------- Energy = 530.5945360514397 Forces: 1 -8.85657384e+00 -8.15041272e+00 -8.92611909e+00 2 -2.73295582e+00 -3.57713287e+00 -1.52853790e+01 3 -3.18796446e+00 -1.47163773e+01 -3.20557663e+00 4 -1.47897268e+01 -1.78114778e+00 -3.29681447e+00 5 2.33382715e+00 -1.29331079e+01 -1.06249432e+01 6 1.08260513e+01 -3.41004773e+00 -1.21497007e+01 7 1.13106515e+01 -1.34619973e+01 -4.58055423e+00 8 3.23131787e+00 -5.47537571e+00 -3.86923093e+00 9 -1.03347612e+01 2.11684222e+00 -1.36956687e+01 10 -2.89430798e+00 1.36942150e+01 -1.30891268e+01 11 -6.39082911e+00 1.21295516e+00 -4.73912376e+00 12 -1.30540316e+01 1.17269138e+01 -2.67092790e+00 13 4.30652159e+00 2.33309441e+00 -1.73365578e+01 14 9.99889021e+00 9.56222044e+00 -9.00601824e+00 15 1.69672638e+01 3.02438323e+00 -3.77417632e+00 16 2.68833051e+00 1.75528005e+01 -2.49672179e+00 17 -1.25185868e+01 -1.03419364e+01 2.07726842e+00 18 -4.25460847e+00 -4.49111689e+00 3.57169542e+00 19 -1.85869858e+00 -1.26833165e+01 1.07053886e+01 20 -1.13743278e+01 -1.92231058e+00 1.10471813e+01 21 2.74244749e+00 -1.49590247e+01 4.80944374e+00 22 1.66625267e+01 -2.46244571e+00 4.13307202e+00 23 8.78638816e+00 -6.81850542e+00 9.65933222e+00 24 2.78625908e+00 -3.53557441e+00 1.54313267e+01 25 -1.52106078e+01 3.45923932e+00 3.02195958e+00 26 -3.87036270e+00 1.65921190e+01 4.11209561e+00 27 -4.45325419e+00 1.20008618e+00 1.46700483e+01 28 -1.01195949e+01 9.29620844e+00 9.04961311e+00 29 4.00001511e+00 2.67085009e+00 6.33789527e+00 30 1.31974493e+01 1.24076764e+01 3.57088075e+00 31 1.26122117e+01 2.36624879e+00 1.25723883e+01 32 3.45104056e+00 1.15039769e+01 1.39770503e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Cs (Configuration in file "config-T-Cs.xyz") ----------------------------------------------------------------------------------------------------- Energy = 530.5945360514397 Forces: 1 -8.85657384e+00 -8.15041272e+00 -8.92611909e+00 2 -2.73295582e+00 -3.57713287e+00 -1.52853790e+01 3 -3.18796446e+00 -1.47163773e+01 -3.20557663e+00 4 -1.47897268e+01 -1.78114778e+00 -3.29681447e+00 5 2.33382715e+00 -1.29331079e+01 -1.06249432e+01 6 1.08260513e+01 -3.41004773e+00 -1.21497007e+01 7 1.13106515e+01 -1.34619973e+01 -4.58055423e+00 8 3.23131787e+00 -5.47537571e+00 -3.86923093e+00 9 -1.03347612e+01 2.11684222e+00 -1.36956687e+01 10 -2.89430798e+00 1.36942150e+01 -1.30891268e+01 11 -6.39082911e+00 1.21295516e+00 -4.73912376e+00 12 -1.30540316e+01 1.17269138e+01 -2.67092790e+00 13 4.30652159e+00 2.33309441e+00 -1.73365578e+01 14 9.99889021e+00 9.56222044e+00 -9.00601824e+00 15 1.69672638e+01 3.02438323e+00 -3.77417632e+00 16 2.68833051e+00 1.75528005e+01 -2.49672179e+00 17 -1.25185868e+01 -1.03419364e+01 2.07726842e+00 18 -4.25460847e+00 -4.49111689e+00 3.57169542e+00 19 -1.85869858e+00 -1.26833165e+01 1.07053886e+01 20 -1.13743278e+01 -1.92231058e+00 1.10471813e+01 21 2.74244749e+00 -1.49590247e+01 4.80944374e+00 22 1.66625267e+01 -2.46244571e+00 4.13307202e+00 23 8.78638816e+00 -6.81850542e+00 9.65933222e+00 24 2.78625908e+00 -3.53557441e+00 1.54313267e+01 25 -1.52106078e+01 3.45923932e+00 3.02195958e+00 26 -3.87036270e+00 1.65921190e+01 4.11209561e+00 27 -4.45325419e+00 1.20008618e+00 1.46700483e+01 28 -1.01195949e+01 9.29620844e+00 9.04961311e+00 29 4.00001511e+00 2.67085009e+00 6.33789527e+00 30 1.31974493e+01 1.24076764e+01 3.57088075e+00 31 1.26122117e+01 2.36624879e+00 1.25723883e+01 32 3.45104056e+00 1.15039769e+01 1.39770503e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==98774== Memcheck, a memory error detector ==98774== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==98774== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==98774== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Cs__MO_256406354561_004 ==98774== ==98774== Conditional jump or move depends on uninitialised value(s) ==98774== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==98774== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==98774== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==98774== by 0x547A3F: ??? (in /usr/bin/python3.6) ==98774== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==98774== by 0x5BA640: ??? (in /usr/bin/python3.6) ==98774== by 0x551B80: ??? (in /usr/bin/python3.6) ==98774== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==98774== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==98774== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==98774== by 0x509D47: ??? (in /usr/bin/python3.6) ==98774== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==98774== ==98774== Conditional jump or move depends on uninitialised value(s) ==98774== at 0x4E63408: internal_utf8_loop (loop.c:298) ==98774== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==98774== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==98774== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==98774== by 0x547A3F: ??? (in /usr/bin/python3.6) ==98774== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==98774== by 0x5BA640: ??? (in /usr/bin/python3.6) ==98774== by 0x551B80: ??? (in /usr/bin/python3.6) ==98774== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==98774== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==98774== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==98774== by 0x509D47: ??? (in /usr/bin/python3.6) ==98774== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==98774== ==98774== Conditional jump or move depends on uninitialised value(s) ==98774== at 0x4E63411: internal_utf8_loop (loop.c:303) ==98774== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==98774== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==98774== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==98774== by 0x547A3F: ??? (in /usr/bin/python3.6) ==98774== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==98774== by 0x5BA640: ??? (in /usr/bin/python3.6) ==98774== by 0x551B80: ??? (in /usr/bin/python3.6) ==98774== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==98774== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==98774== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==98774== by 0x509D47: ??? (in /usr/bin/python3.6) ==98774== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==98774== ==98774== Conditional jump or move depends on uninitialised value(s) ==98774== at 0x4E63458: internal_utf8_loop (loop.c:298) ==98774== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==98774== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==98774== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==98774== by 0x547A3F: ??? (in /usr/bin/python3.6) ==98774== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==98774== by 0x5BA640: ??? (in /usr/bin/python3.6) ==98774== by 0x551B80: ??? (in /usr/bin/python3.6) ==98774== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==98774== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==98774== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==98774== by 0x509D47: ??? (in /usr/bin/python3.6) ==98774== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==98774== ==98774== Conditional jump or move depends on uninitialised value(s) ==98774== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==98774== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==98774== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==98774== by 0x547A3F: ??? (in /usr/bin/python3.6) ==98774== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==98774== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==98774== by 0x4F8388: ??? (in /usr/bin/python3.6) ==98774== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==98774== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==98774== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==98774== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==98774== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==98774== ==98774== ==98774== HEAP SUMMARY: ==98774== in use at exit: 2,764,995 bytes in 1,647 blocks ==98774== total heap usage: 36,557 allocs, 34,910 frees, 61,443,988 bytes allocated ==98774== ==98774== LEAK SUMMARY: ==98774== definitely lost: 0 bytes in 0 blocks ==98774== indirectly lost: 0 bytes in 0 blocks ==98774== possibly lost: 146,155 bytes in 87 blocks ==98774== still reachable: 2,618,840 bytes in 1,560 blocks ==98774== suppressed: 0 bytes in 0 blocks ==98774== Rerun with --leak-check=full to see details of leaked memory ==98774== ==98774== For counts of detected and suppressed errors, rerun with: -v ==98774== Use --track-origins=yes to see where uninitialised values come from ==98774== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12397 from 664) ================================================================================ To pass this verification check the number of bytes that are "definitely lost" or "indirectly lost" must be zero. NOTE that Valgrind will typically report non-zero "possibly lost" bytes due to Python's internal memory allocation and garbage collection that it does not monitor. Full Valgrind output written to auxiliary file "valgrind.out" Grade: P Comment: No memory leak detected.