!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_ZhouJohnsonWadley_2004_Cu__MO_127245782811_005 Supported species : Cu random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Cu (Configuration in file "config-F-Cu.xyz") ----------------------------------------------------------------------------------------------------- Energy = 6.795338337914177 Forces: 1 -2.77353066e+00 -6.21870096e+00 -6.63369274e+00 2 -8.09475752e+00 1.22987529e+01 -8.20343988e+00 3 7.40159604e-01 -8.46283901e+00 -1.43465366e+00 4 -4.02915951e+00 3.86157210e+00 3.90681061e+00 5 1.01417008e+01 -1.63242732e+01 -1.67049392e+00 6 3.00559577e+00 1.63561694e+00 -5.19027994e+00 7 3.75756653e+00 -2.17885906e+01 -2.02370013e+01 8 -7.75390804e+00 -8.89398961e+00 9.60887426e-01 9 -9.87112636e+00 -5.65707475e+00 -1.45102944e+01 10 -3.41381260e+00 1.63257264e+01 -1.58514962e+01 11 -2.29266140e+00 -1.27364758e+01 1.03559956e+01 12 -7.83204614e+00 1.34799857e+01 7.00824990e-02 13 -3.82471526e+00 -7.33097255e+00 -3.35000758e+01 14 5.31218202e+00 7.01741620e+00 -4.36108860e+00 15 2.85006958e+01 -3.91592301e+00 9.22199455e+00 16 3.69510233e+00 2.18085927e+01 1.16410544e+01 17 -8.64421377e+00 -3.50652935e+00 -3.54101512e+00 18 -2.88508748e+00 7.77058694e+00 3.17884814e+00 19 4.60967316e+00 -6.80874330e+00 5.21514203e+00 20 -2.96303228e+00 6.22626099e+00 3.98507421e+00 21 -8.10432751e+00 -8.21286004e+00 6.24425699e+00 22 1.33236725e+01 1.85744149e+01 1.61214408e+01 23 2.33362407e+00 -6.97966188e-01 4.35289561e+00 24 1.90644903e+00 8.46184823e-01 3.76948331e+00 25 -5.40123538e+00 -7.96631253e+00 9.86204607e+00 26 -5.40084940e+00 1.34101890e+01 -7.63842281e+00 27 8.49750524e+00 -2.52575319e+01 6.93373950e+00 28 -2.04997045e+01 1.70194301e+01 2.63170024e+00 29 -6.07171084e+00 -9.75553187e+00 3.18156121e+00 30 6.07000187e+00 1.02423767e+01 3.28038612e-01 31 1.14139337e+01 -7.81251833e+00 9.44120680e+00 32 6.54801628e+00 1.08297267e+01 1.13696957e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Cu (Configuration in file "config-T-Cu.xyz") ----------------------------------------------------------------------------------------------------- Energy = 6.795338337914177 Forces: 1 -2.77353066e+00 -6.21870096e+00 -6.63369274e+00 2 -8.09475752e+00 1.22987529e+01 -8.20343988e+00 3 7.40159604e-01 -8.46283901e+00 -1.43465366e+00 4 -4.02915951e+00 3.86157210e+00 3.90681061e+00 5 1.01417008e+01 -1.63242732e+01 -1.67049392e+00 6 3.00559577e+00 1.63561694e+00 -5.19027994e+00 7 3.75756653e+00 -2.17885906e+01 -2.02370013e+01 8 -7.75390804e+00 -8.89398961e+00 9.60887426e-01 9 -9.87112636e+00 -5.65707475e+00 -1.45102944e+01 10 -3.41381260e+00 1.63257264e+01 -1.58514962e+01 11 -2.29266140e+00 -1.27364758e+01 1.03559956e+01 12 -7.83204614e+00 1.34799857e+01 7.00824990e-02 13 -3.82471526e+00 -7.33097255e+00 -3.35000758e+01 14 5.31218202e+00 7.01741620e+00 -4.36108860e+00 15 2.85006958e+01 -3.91592301e+00 9.22199455e+00 16 3.69510233e+00 2.18085927e+01 1.16410544e+01 17 -8.64421377e+00 -3.50652935e+00 -3.54101512e+00 18 -2.88508748e+00 7.77058694e+00 3.17884814e+00 19 4.60967316e+00 -6.80874330e+00 5.21514203e+00 20 -2.96303228e+00 6.22626099e+00 3.98507421e+00 21 -8.10432751e+00 -8.21286004e+00 6.24425699e+00 22 1.33236725e+01 1.85744149e+01 1.61214408e+01 23 2.33362407e+00 -6.97966188e-01 4.35289561e+00 24 1.90644903e+00 8.46184823e-01 3.76948331e+00 25 -5.40123538e+00 -7.96631253e+00 9.86204607e+00 26 -5.40084940e+00 1.34101890e+01 -7.63842281e+00 27 8.49750524e+00 -2.52575319e+01 6.93373950e+00 28 -2.04997045e+01 1.70194301e+01 2.63170024e+00 29 -6.07171084e+00 -9.75553187e+00 3.18156121e+00 30 6.07000187e+00 1.02423767e+01 3.28038612e-01 31 1.14139337e+01 -7.81251833e+00 9.44120680e+00 32 6.54801628e+00 1.08297267e+01 1.13696957e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==92036== Memcheck, a memory error detector ==92036== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==92036== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==92036== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Cu__MO_127245782811_005 ==92036== ==92036== Conditional jump or move depends on uninitialised value(s) ==92036== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==92036== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92036== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92036== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92036== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92036== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92036== by 0x551B80: ??? (in /usr/bin/python3.6) ==92036== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92036== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92036== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92036== by 0x509D47: ??? (in /usr/bin/python3.6) ==92036== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92036== ==92036== Conditional jump or move depends on uninitialised value(s) ==92036== at 0x4E63408: internal_utf8_loop (loop.c:298) ==92036== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==92036== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92036== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92036== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92036== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92036== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92036== by 0x551B80: ??? (in /usr/bin/python3.6) ==92036== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92036== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92036== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92036== by 0x509D47: ??? (in /usr/bin/python3.6) ==92036== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92036== ==92036== Conditional jump or move depends on uninitialised value(s) ==92036== at 0x4E63411: internal_utf8_loop (loop.c:303) ==92036== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==92036== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92036== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92036== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92036== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92036== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92036== by 0x551B80: ??? (in /usr/bin/python3.6) ==92036== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92036== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92036== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92036== by 0x509D47: ??? (in /usr/bin/python3.6) ==92036== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92036== ==92036== Conditional jump or move depends on uninitialised value(s) ==92036== at 0x4E63458: internal_utf8_loop (loop.c:298) ==92036== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==92036== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92036== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92036== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92036== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92036== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92036== by 0x551B80: ??? (in /usr/bin/python3.6) ==92036== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92036== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92036== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92036== by 0x509D47: ??? (in /usr/bin/python3.6) ==92036== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92036== ==92036== Conditional jump or move depends on uninitialised value(s) ==92036== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==92036== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92036== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92036== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92036== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==92036== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==92036== by 0x4F8388: ??? (in /usr/bin/python3.6) ==92036== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==92036== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==92036== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==92036== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==92036== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92036== ==92036== ==92036== HEAP SUMMARY: ==92036== in use at exit: 2,764,995 bytes in 1,647 blocks ==92036== total heap usage: 36,172 allocs, 34,525 frees, 64,212,481 bytes allocated ==92036== ==92036== LEAK SUMMARY: ==92036== definitely lost: 0 bytes in 0 blocks ==92036== indirectly lost: 0 bytes in 0 blocks ==92036== possibly lost: 146,155 bytes in 87 blocks ==92036== still reachable: 2,618,840 bytes in 1,560 blocks ==92036== suppressed: 0 bytes in 0 blocks ==92036== Rerun with --leak-check=full to see details of leaked memory ==92036== ==92036== For counts of detected and suppressed errors, rerun with: -v ==92036== Use --track-origins=yes to see where uninitialised values come from ==92036== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12358 from 649) ================================================================================ 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.