!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Ta__MO_130046220009_005 Supported species : Ta random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ta (Configuration in file "config-F-Ta.xyz") ----------------------------------------------------------------------------------------------------- Energy = 12.262090500075413 Forces: 1 -6.40193922e+00 -1.26364508e+01 -1.31357225e+01 2 -1.37975597e+01 2.24813273e+01 -1.64867930e+01 3 -2.50308101e+00 -2.04884028e+01 -2.38629493e+00 4 -1.13218710e+01 5.17063881e+00 6.13453791e+00 5 2.02461779e+01 -2.93281157e+01 -7.05461938e+00 6 6.69863349e+00 1.29019896e+00 -1.24302468e+01 7 1.38251813e+01 -4.59551666e+01 -4.01204929e+01 8 -2.98177019e+01 -2.99757617e+01 -1.16161616e+01 9 -1.32745118e+01 -2.03917296e+01 -3.23645958e+01 10 -3.70321727e+00 2.83400209e+01 -3.20002617e+01 11 -5.76428780e+00 -2.00837894e+01 1.74531807e+00 12 -2.17010112e+01 2.96722593e+01 1.42563245e+01 13 -5.99214085e+00 -1.46523506e+01 -5.94044249e+01 14 1.11536646e+01 1.07468814e+01 -5.64109167e+00 15 6.75303401e+01 1.73519587e+01 5.45755665e+00 16 1.57507752e+01 4.58531119e+01 1.87585753e+01 17 -1.76795902e+01 -8.55613913e+00 -6.10466364e+00 18 -1.38458611e+01 1.06848326e+01 1.30815886e+01 19 7.77359805e+00 -1.50915268e+01 1.25753227e+01 20 -7.70031007e+00 1.10619320e+01 8.78332581e+00 21 -1.43548284e+01 -2.13652619e+01 1.41027412e+01 22 3.36212554e+01 2.92310331e+01 3.57150941e+01 23 5.61431464e+00 -2.84150202e+00 1.04627877e+01 24 4.02942295e+00 7.35553185e-01 1.11684516e+01 25 -2.32797856e+01 -6.56958135e+00 1.75682305e+01 26 -1.18150608e+01 3.16513381e+01 -1.23778165e+01 27 1.16597947e+01 -4.54103913e+01 1.79170126e+01 28 -3.75611995e+01 3.10579055e+01 6.49375668e+00 29 -7.80230738e+00 -9.37734852e+00 1.54264997e+01 30 1.31918789e+01 1.79046985e+01 -3.70363277e+00 31 2.40920919e+01 -1.43750546e+01 2.05190031e+01 32 1.31291354e+01 2.38648827e+01 2.46606913e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ta (Configuration in file "config-T-Ta.xyz") ----------------------------------------------------------------------------------------------------- Energy = 12.262090500075413 Forces: 1 -6.40193922e+00 -1.26364508e+01 -1.31357225e+01 2 -1.37975597e+01 2.24813273e+01 -1.64867930e+01 3 -2.50308101e+00 -2.04884028e+01 -2.38629493e+00 4 -1.13218710e+01 5.17063881e+00 6.13453791e+00 5 2.02461779e+01 -2.93281157e+01 -7.05461938e+00 6 6.69863349e+00 1.29019896e+00 -1.24302468e+01 7 1.38251813e+01 -4.59551666e+01 -4.01204929e+01 8 -2.98177019e+01 -2.99757617e+01 -1.16161616e+01 9 -1.32745118e+01 -2.03917296e+01 -3.23645958e+01 10 -3.70321727e+00 2.83400209e+01 -3.20002617e+01 11 -5.76428780e+00 -2.00837894e+01 1.74531807e+00 12 -2.17010112e+01 2.96722593e+01 1.42563245e+01 13 -5.99214085e+00 -1.46523506e+01 -5.94044249e+01 14 1.11536646e+01 1.07468814e+01 -5.64109167e+00 15 6.75303401e+01 1.73519587e+01 5.45755665e+00 16 1.57507752e+01 4.58531119e+01 1.87585753e+01 17 -1.76795902e+01 -8.55613913e+00 -6.10466364e+00 18 -1.38458611e+01 1.06848326e+01 1.30815886e+01 19 7.77359805e+00 -1.50915268e+01 1.25753227e+01 20 -7.70031007e+00 1.10619320e+01 8.78332581e+00 21 -1.43548284e+01 -2.13652619e+01 1.41027412e+01 22 3.36212554e+01 2.92310331e+01 3.57150941e+01 23 5.61431464e+00 -2.84150202e+00 1.04627877e+01 24 4.02942295e+00 7.35553185e-01 1.11684516e+01 25 -2.32797856e+01 -6.56958135e+00 1.75682305e+01 26 -1.18150608e+01 3.16513381e+01 -1.23778165e+01 27 1.16597947e+01 -4.54103913e+01 1.79170126e+01 28 -3.75611995e+01 3.10579055e+01 6.49375668e+00 29 -7.80230738e+00 -9.37734852e+00 1.54264997e+01 30 1.31918789e+01 1.79046985e+01 -3.70363277e+00 31 2.40920919e+01 -1.43750546e+01 2.05190031e+01 32 1.31291354e+01 2.38648827e+01 2.46606913e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==92430== Memcheck, a memory error detector ==92430== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==92430== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==92430== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Ta__MO_130046220009_005 ==92430== ==92430== Conditional jump or move depends on uninitialised value(s) ==92430== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==92430== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92430== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92430== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92430== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92430== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92430== by 0x551B80: ??? (in /usr/bin/python3.6) ==92430== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92430== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92430== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92430== by 0x509D47: ??? (in /usr/bin/python3.6) ==92430== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92430== ==92430== Conditional jump or move depends on uninitialised value(s) ==92430== at 0x4E63408: internal_utf8_loop (loop.c:298) ==92430== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==92430== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92430== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92430== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92430== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92430== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92430== by 0x551B80: ??? (in /usr/bin/python3.6) ==92430== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92430== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92430== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92430== by 0x509D47: ??? (in /usr/bin/python3.6) ==92430== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92430== ==92430== Conditional jump or move depends on uninitialised value(s) ==92430== at 0x4E63411: internal_utf8_loop (loop.c:303) ==92430== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==92430== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92430== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92430== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92430== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92430== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92430== by 0x551B80: ??? (in /usr/bin/python3.6) ==92430== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92430== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92430== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92430== by 0x509D47: ??? (in /usr/bin/python3.6) ==92430== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92430== ==92430== Conditional jump or move depends on uninitialised value(s) ==92430== at 0x4E63458: internal_utf8_loop (loop.c:298) ==92430== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==92430== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92430== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92430== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92430== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92430== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92430== by 0x551B80: ??? (in /usr/bin/python3.6) ==92430== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92430== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92430== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92430== by 0x509D47: ??? (in /usr/bin/python3.6) ==92430== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92430== ==92430== Conditional jump or move depends on uninitialised value(s) ==92430== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==92430== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92430== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92430== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92430== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==92430== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==92430== by 0x4F8388: ??? (in /usr/bin/python3.6) ==92430== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==92430== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==92430== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==92430== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==92430== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92430== ==92430== ==92430== HEAP SUMMARY: ==92430== in use at exit: 2,764,995 bytes in 1,647 blocks ==92430== total heap usage: 37,128 allocs, 35,481 frees, 66,474,926 bytes allocated ==92430== ==92430== LEAK SUMMARY: ==92430== definitely lost: 0 bytes in 0 blocks ==92430== indirectly lost: 0 bytes in 0 blocks ==92430== possibly lost: 146,155 bytes in 87 blocks ==92430== still reachable: 2,618,840 bytes in 1,560 blocks ==92430== suppressed: 0 bytes in 0 blocks ==92430== Rerun with --leak-check=full to see details of leaked memory ==92430== ==92430== For counts of detected and suppressed errors, rerun with: -v ==92430== Use --track-origins=yes to see where uninitialised values come from ==92430== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12350 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.