!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : EAM_Dynamo_SunMendelevBecker_2006_Mg__MO_848345414202_005 Supported species : Mg random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Mg (Configuration in file "config-F-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 94.04207229876441 Forces: 1 -4.50790844e+00 -1.08738093e+01 -1.13292695e+01 2 -4.37319087e+00 6.91210414e+00 -9.47263151e+00 3 2.68111457e+00 -8.87335853e+00 -3.23958506e+00 4 -7.47595576e+00 8.79422172e+00 5.97455613e+00 5 5.63239959e+00 -1.30883817e+01 -1.88747699e+00 6 5.76409909e+00 -1.87383626e+00 -7.15961652e+00 7 3.36032396e+00 -1.80693488e+01 -1.52880318e+01 8 -1.35691526e+01 -1.41358252e+01 8.67645265e-01 9 -5.85296252e+00 -2.73800277e-01 -9.10301634e+00 10 -4.20640706e+00 9.86921198e+00 -1.17281132e+01 11 -3.02693936e+00 -6.91596053e+00 1.68733282e+00 12 -7.29697215e+00 8.59689877e+00 -1.13816638e+00 13 -3.16453467e+00 -1.81404657e-01 -2.53191254e+01 14 5.25705370e+00 5.03334231e+00 -3.48414741e+00 15 2.98787995e+01 8.24970100e+00 3.46412577e+00 16 3.73814782e+00 1.75533689e+01 8.10381192e+00 17 -8.92702107e+00 -3.03856789e+00 3.30767693e+00 18 1.39057133e+00 6.19678737e+00 1.72384281e-01 19 1.97085846e-01 -6.49456401e+00 7.77003671e+00 20 -4.08379641e+00 2.70894172e-01 3.35724699e+00 21 -2.46202306e+00 -8.69468101e+00 4.43243111e+00 22 1.36379931e+01 9.83590326e+00 1.24254185e+01 23 3.05562589e+00 -2.17511469e+00 4.68106111e+00 24 -3.30343800e-01 -4.42373966e-01 5.65103045e+00 25 -7.57106892e+00 -4.15293671e+00 6.17535923e+00 26 -2.63043158e+00 9.27128328e+00 -2.44222913e+00 27 6.85523782e+00 -1.53533221e+01 6.64590610e+00 28 -1.64421546e+01 1.38144938e+01 2.95870049e+00 29 -8.66637128e+00 -3.48768270e+00 2.55086108e+00 30 8.10153199e+00 9.47539502e+00 -1.57895694e+00 31 1.12661332e+01 -3.90841170e+00 1.38160037e+01 32 3.77111676e+00 8.15977444e+00 9.12877755e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Mg (Configuration in file "config-T-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 94.04207229876441 Forces: 1 -4.50790844e+00 -1.08738093e+01 -1.13292695e+01 2 -4.37319087e+00 6.91210414e+00 -9.47263151e+00 3 2.68111457e+00 -8.87335853e+00 -3.23958506e+00 4 -7.47595576e+00 8.79422172e+00 5.97455613e+00 5 5.63239959e+00 -1.30883817e+01 -1.88747699e+00 6 5.76409909e+00 -1.87383626e+00 -7.15961652e+00 7 3.36032396e+00 -1.80693488e+01 -1.52880318e+01 8 -1.35691526e+01 -1.41358252e+01 8.67645265e-01 9 -5.85296252e+00 -2.73800277e-01 -9.10301634e+00 10 -4.20640706e+00 9.86921198e+00 -1.17281132e+01 11 -3.02693936e+00 -6.91596053e+00 1.68733282e+00 12 -7.29697215e+00 8.59689877e+00 -1.13816638e+00 13 -3.16453467e+00 -1.81404657e-01 -2.53191254e+01 14 5.25705370e+00 5.03334231e+00 -3.48414741e+00 15 2.98787995e+01 8.24970100e+00 3.46412577e+00 16 3.73814782e+00 1.75533689e+01 8.10381192e+00 17 -8.92702107e+00 -3.03856789e+00 3.30767693e+00 18 1.39057133e+00 6.19678737e+00 1.72384281e-01 19 1.97085846e-01 -6.49456401e+00 7.77003671e+00 20 -4.08379641e+00 2.70894172e-01 3.35724699e+00 21 -2.46202306e+00 -8.69468101e+00 4.43243111e+00 22 1.36379931e+01 9.83590326e+00 1.24254185e+01 23 3.05562589e+00 -2.17511469e+00 4.68106111e+00 24 -3.30343800e-01 -4.42373966e-01 5.65103045e+00 25 -7.57106892e+00 -4.15293671e+00 6.17535923e+00 26 -2.63043158e+00 9.27128328e+00 -2.44222913e+00 27 6.85523782e+00 -1.53533221e+01 6.64590610e+00 28 -1.64421546e+01 1.38144938e+01 2.95870049e+00 29 -8.66637128e+00 -3.48768270e+00 2.55086108e+00 30 8.10153199e+00 9.47539502e+00 -1.57895694e+00 31 1.12661332e+01 -3.90841170e+00 1.38160037e+01 32 3.77111676e+00 8.15977444e+00 9.12877755e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==90960== Memcheck, a memory error detector ==90960== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==90960== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==90960== Command: python runner2.py EAM_Dynamo_SunMendelevBecker_2006_Mg__MO_848345414202_005 ==90960== ==90960== Conditional jump or move depends on uninitialised value(s) ==90960== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==90960== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==90960== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==90960== by 0x547A3F: ??? (in /usr/bin/python3.6) ==90960== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==90960== by 0x5BA640: ??? (in /usr/bin/python3.6) ==90960== by 0x551B80: ??? (in /usr/bin/python3.6) ==90960== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==90960== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==90960== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==90960== by 0x509D47: ??? (in /usr/bin/python3.6) ==90960== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==90960== ==90960== Conditional jump or move depends on uninitialised value(s) ==90960== at 0x4E63408: internal_utf8_loop (loop.c:298) ==90960== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==90960== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==90960== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==90960== by 0x547A3F: ??? (in /usr/bin/python3.6) ==90960== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==90960== by 0x5BA640: ??? (in /usr/bin/python3.6) ==90960== by 0x551B80: ??? (in /usr/bin/python3.6) ==90960== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==90960== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==90960== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==90960== by 0x509D47: ??? (in /usr/bin/python3.6) ==90960== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==90960== ==90960== Conditional jump or move depends on uninitialised value(s) ==90960== at 0x4E63411: internal_utf8_loop (loop.c:303) ==90960== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==90960== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==90960== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==90960== by 0x547A3F: ??? (in /usr/bin/python3.6) ==90960== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==90960== by 0x5BA640: ??? (in /usr/bin/python3.6) ==90960== by 0x551B80: ??? (in /usr/bin/python3.6) ==90960== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==90960== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==90960== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==90960== by 0x509D47: ??? (in /usr/bin/python3.6) ==90960== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==90960== ==90960== Conditional jump or move depends on uninitialised value(s) ==90960== at 0x4E63458: internal_utf8_loop (loop.c:298) ==90960== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==90960== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==90960== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==90960== by 0x547A3F: ??? (in /usr/bin/python3.6) ==90960== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==90960== by 0x5BA640: ??? (in /usr/bin/python3.6) ==90960== by 0x551B80: ??? (in /usr/bin/python3.6) ==90960== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==90960== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==90960== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==90960== by 0x509D47: ??? (in /usr/bin/python3.6) ==90960== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==90960== ==90960== Conditional jump or move depends on uninitialised value(s) ==90960== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==90960== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==90960== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==90960== by 0x547A3F: ??? (in /usr/bin/python3.6) ==90960== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==90960== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==90960== by 0x4F8388: ??? (in /usr/bin/python3.6) ==90960== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==90960== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==90960== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==90960== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==90960== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==90960== ==90960== ==90960== HEAP SUMMARY: ==90960== in use at exit: 2,764,995 bytes in 1,647 blocks ==90960== total heap usage: 36,172 allocs, 34,525 frees, 73,428,653 bytes allocated ==90960== ==90960== LEAK SUMMARY: ==90960== definitely lost: 0 bytes in 0 blocks ==90960== indirectly lost: 0 bytes in 0 blocks ==90960== possibly lost: 146,155 bytes in 87 blocks ==90960== still reachable: 2,618,840 bytes in 1,560 blocks ==90960== suppressed: 0 bytes in 0 blocks ==90960== Rerun with --leak-check=full to see details of leaked memory ==90960== ==90960== For counts of detected and suppressed errors, rerun with: -v ==90960== Use --track-origins=yes to see where uninitialised values come from ==90960== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12345 from 650) ================================================================================ 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.