!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_WilsonMendelev_2016_Mg__MO_574574915905_000 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 = 93.42141188130542 Forces: 1 -4.25335801e+00 -1.06225377e+01 -1.08903102e+01 2 -4.53589811e+00 6.61587652e+00 -9.26632711e+00 3 2.07677340e+00 -8.59727467e+00 -3.37886324e+00 4 -7.29100102e+00 8.44264636e+00 5.57123461e+00 5 5.44834930e+00 -1.28361244e+01 -1.84017702e+00 6 5.58839846e+00 -1.78175227e+00 -6.78054011e+00 7 3.18267578e+00 -1.78990947e+01 -1.51561954e+01 8 -1.31353955e+01 -1.44600885e+01 4.35912711e-01 9 -5.63763659e+00 -5.72692617e-02 -8.54479519e+00 10 -4.37148288e+00 9.35946668e+00 -1.13513252e+01 11 -3.36080610e+00 -6.23589202e+00 1.08418970e+00 12 -6.95416634e+00 8.08646633e+00 -1.38020223e+00 13 -3.04390016e+00 1.59654560e-01 -2.52186614e+01 14 5.01058105e+00 4.77586163e+00 -3.37697127e+00 15 3.00397333e+01 8.63740363e+00 3.27330378e+00 16 3.77134842e+00 1.73369696e+01 7.83416345e+00 17 -8.21012831e+00 -2.90336548e+00 3.40106638e+00 18 1.07919250e+00 5.04413289e+00 6.65415056e-01 19 -7.01638837e-05 -6.06966061e+00 7.34737222e+00 20 -3.94224963e+00 -4.00832252e-03 3.31141846e+00 21 -2.02754547e+00 -8.42990700e+00 4.61173990e+00 22 1.34205438e+01 9.30249760e+00 1.22943884e+01 23 2.86818789e+00 -2.44194649e+00 4.34048612e+00 24 -5.62253376e-01 -7.76522573e-01 5.67771956e+00 25 -7.63650980e+00 -3.54748379e+00 5.92609647e+00 26 -2.61183640e+00 8.88392869e+00 -1.81763802e+00 27 6.73169214e+00 -1.47175047e+01 6.62087354e+00 28 -1.60593330e+01 1.36205366e+01 2.81357799e+00 29 -7.97414013e+00 -1.71404491e+00 2.86690609e+00 30 7.38909816e+00 7.82364239e+00 7.21041034e-02 31 1.02384142e+01 -2.15016628e+00 1.24311109e+01 32 4.76272249e+00 7.15556017e+00 8.42292683e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Mg (Configuration in file "config-T-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 93.42141188130542 Forces: 1 -4.25335801e+00 -1.06225377e+01 -1.08903102e+01 2 -4.53589811e+00 6.61587652e+00 -9.26632711e+00 3 2.07677340e+00 -8.59727467e+00 -3.37886324e+00 4 -7.29100102e+00 8.44264636e+00 5.57123461e+00 5 5.44834930e+00 -1.28361244e+01 -1.84017702e+00 6 5.58839846e+00 -1.78175227e+00 -6.78054011e+00 7 3.18267578e+00 -1.78990947e+01 -1.51561954e+01 8 -1.31353955e+01 -1.44600885e+01 4.35912711e-01 9 -5.63763659e+00 -5.72692617e-02 -8.54479519e+00 10 -4.37148288e+00 9.35946668e+00 -1.13513252e+01 11 -3.36080610e+00 -6.23589202e+00 1.08418970e+00 12 -6.95416634e+00 8.08646633e+00 -1.38020223e+00 13 -3.04390016e+00 1.59654560e-01 -2.52186614e+01 14 5.01058105e+00 4.77586163e+00 -3.37697127e+00 15 3.00397333e+01 8.63740363e+00 3.27330378e+00 16 3.77134842e+00 1.73369696e+01 7.83416345e+00 17 -8.21012831e+00 -2.90336548e+00 3.40106638e+00 18 1.07919250e+00 5.04413289e+00 6.65415056e-01 19 -7.01638837e-05 -6.06966061e+00 7.34737222e+00 20 -3.94224963e+00 -4.00832252e-03 3.31141846e+00 21 -2.02754547e+00 -8.42990700e+00 4.61173990e+00 22 1.34205438e+01 9.30249760e+00 1.22943884e+01 23 2.86818789e+00 -2.44194649e+00 4.34048612e+00 24 -5.62253376e-01 -7.76522573e-01 5.67771956e+00 25 -7.63650980e+00 -3.54748379e+00 5.92609647e+00 26 -2.61183640e+00 8.88392869e+00 -1.81763802e+00 27 6.73169214e+00 -1.47175047e+01 6.62087354e+00 28 -1.60593330e+01 1.36205366e+01 2.81357799e+00 29 -7.97414013e+00 -1.71404491e+00 2.86690609e+00 30 7.38909816e+00 7.82364239e+00 7.21041034e-02 31 1.02384142e+01 -2.15016628e+00 1.24311109e+01 32 4.76272249e+00 7.15556017e+00 8.42292683e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==91365== Memcheck, a memory error detector ==91365== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==91365== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==91365== Command: python runner2.py EAM_Dynamo_WilsonMendelev_2016_Mg__MO_574574915905_000 ==91365== ==91365== Conditional jump or move depends on uninitialised value(s) ==91365== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==91365== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91365== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91365== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91365== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91365== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91365== by 0x551B80: ??? (in /usr/bin/python3.6) ==91365== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91365== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91365== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91365== by 0x509D47: ??? (in /usr/bin/python3.6) ==91365== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91365== ==91365== Conditional jump or move depends on uninitialised value(s) ==91365== at 0x4E63408: internal_utf8_loop (loop.c:298) ==91365== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==91365== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91365== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91365== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91365== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91365== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91365== by 0x551B80: ??? (in /usr/bin/python3.6) ==91365== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91365== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91365== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91365== by 0x509D47: ??? (in /usr/bin/python3.6) ==91365== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91365== ==91365== Conditional jump or move depends on uninitialised value(s) ==91365== at 0x4E63411: internal_utf8_loop (loop.c:303) ==91365== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==91365== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91365== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91365== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91365== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91365== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91365== by 0x551B80: ??? (in /usr/bin/python3.6) ==91365== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91365== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91365== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91365== by 0x509D47: ??? (in /usr/bin/python3.6) ==91365== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91365== ==91365== Conditional jump or move depends on uninitialised value(s) ==91365== at 0x4E63458: internal_utf8_loop (loop.c:298) ==91365== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==91365== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91365== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91365== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91365== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91365== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91365== by 0x551B80: ??? (in /usr/bin/python3.6) ==91365== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91365== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91365== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91365== by 0x509D47: ??? (in /usr/bin/python3.6) ==91365== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91365== ==91365== Conditional jump or move depends on uninitialised value(s) ==91365== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==91365== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91365== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91365== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91365== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==91365== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==91365== by 0x4F8388: ??? (in /usr/bin/python3.6) ==91365== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==91365== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==91365== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==91365== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==91365== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91365== ==91365== ==91365== HEAP SUMMARY: ==91365== in use at exit: 2,764,995 bytes in 1,647 blocks ==91365== total heap usage: 36,172 allocs, 34,525 frees, 73,427,844 bytes allocated ==91365== ==91365== LEAK SUMMARY: ==91365== definitely lost: 0 bytes in 0 blocks ==91365== indirectly lost: 0 bytes in 0 blocks ==91365== possibly lost: 146,155 bytes in 87 blocks ==91365== still reachable: 2,618,840 bytes in 1,560 blocks ==91365== suppressed: 0 bytes in 0 blocks ==91365== Rerun with --leak-check=full to see details of leaked memory ==91365== ==91365== For counts of detected and suppressed errors, rerun with: -v ==91365== Use --track-origins=yes to see where uninitialised values come from ==91365== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12371 from 652) ================================================================================ 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.