!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Mo__MO_271256517527_005 Supported species : Mo random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Mo (Configuration in file "config-F-Mo.xyz") ----------------------------------------------------------------------------------------------------- Energy = 183.5813045264053 Forces: 1 -1.01693475e+01 -1.97968503e+01 -2.07434201e+01 2 -2.02931963e+01 3.25542718e+01 -2.72139080e+01 3 -3.45496700e+00 -2.96883684e+01 -2.98447146e+00 4 -1.59494937e+01 9.26157016e+00 1.06583823e+01 5 2.97680031e+01 -4.53902228e+01 -9.64316145e+00 6 1.09081078e+01 3.39444269e+00 -1.74544699e+01 7 1.63221004e+01 -6.55356734e+01 -5.95807007e+01 8 -2.04710995e+01 -2.17160222e+01 -1.04899813e+01 9 -2.39137548e+01 -3.47776668e+01 -5.76915359e+01 10 -2.68762959e+00 4.83480651e+01 -4.96893970e+01 11 -9.45500974e+00 -3.56358092e+01 2.10897013e+01 12 -3.58223272e+01 4.80154177e+01 2.65540831e+01 13 -1.03372245e+01 -2.70622697e+01 -9.57545954e+01 14 1.92589220e+01 2.30206849e+01 -1.60737884e+01 15 8.60781921e+01 -9.90171766e+00 2.12931586e+01 16 1.08640201e+01 6.97574408e+01 3.17999887e+01 17 -2.71136505e+01 -1.28462541e+01 -9.94395958e+00 18 -1.43843318e+01 2.00449025e+01 1.40743681e+01 19 1.28353644e+01 -2.31644483e+01 1.88876484e+01 20 -1.24756292e+01 1.73577048e+01 1.42513835e+01 21 -2.21219600e+01 -2.98879243e+01 2.00887250e+01 22 4.67819871e+01 4.96627556e+01 4.65788593e+01 23 9.51340255e+00 -4.78895882e+00 1.71065794e+01 24 5.60142157e+00 1.56058392e+00 1.56553800e+01 25 -2.56101997e+01 -8.90567513e+00 1.89592672e+01 26 -1.63321188e+01 4.33759395e+01 -2.07969134e+01 27 2.03000446e+01 -6.95123972e+01 2.47859581e+01 28 -5.99230581e+01 4.89959717e+01 1.02498772e+01 29 -1.50253709e+01 -2.20878942e+01 1.68489742e+01 30 2.20823269e+01 3.26625708e+01 2.15738118e+00 31 3.55385428e+01 -2.18773952e+01 3.01410564e+01 32 1.96879333e+01 3.45632258e+01 3.68795309e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Mo (Configuration in file "config-T-Mo.xyz") ----------------------------------------------------------------------------------------------------- Energy = 183.5813045264053 Forces: 1 -1.01693475e+01 -1.97968503e+01 -2.07434201e+01 2 -2.02931963e+01 3.25542718e+01 -2.72139080e+01 3 -3.45496700e+00 -2.96883684e+01 -2.98447146e+00 4 -1.59494937e+01 9.26157016e+00 1.06583823e+01 5 2.97680031e+01 -4.53902228e+01 -9.64316145e+00 6 1.09081078e+01 3.39444269e+00 -1.74544699e+01 7 1.63221004e+01 -6.55356734e+01 -5.95807007e+01 8 -2.04710995e+01 -2.17160222e+01 -1.04899813e+01 9 -2.39137548e+01 -3.47776668e+01 -5.76915359e+01 10 -2.68762959e+00 4.83480651e+01 -4.96893970e+01 11 -9.45500974e+00 -3.56358092e+01 2.10897013e+01 12 -3.58223272e+01 4.80154177e+01 2.65540831e+01 13 -1.03372245e+01 -2.70622697e+01 -9.57545954e+01 14 1.92589220e+01 2.30206849e+01 -1.60737884e+01 15 8.60781921e+01 -9.90171766e+00 2.12931586e+01 16 1.08640201e+01 6.97574408e+01 3.17999887e+01 17 -2.71136505e+01 -1.28462541e+01 -9.94395958e+00 18 -1.43843318e+01 2.00449025e+01 1.40743681e+01 19 1.28353644e+01 -2.31644483e+01 1.88876484e+01 20 -1.24756292e+01 1.73577048e+01 1.42513835e+01 21 -2.21219600e+01 -2.98879243e+01 2.00887250e+01 22 4.67819871e+01 4.96627556e+01 4.65788593e+01 23 9.51340255e+00 -4.78895882e+00 1.71065794e+01 24 5.60142157e+00 1.56058392e+00 1.56553800e+01 25 -2.56101997e+01 -8.90567513e+00 1.89592672e+01 26 -1.63321188e+01 4.33759395e+01 -2.07969134e+01 27 2.03000446e+01 -6.95123972e+01 2.47859581e+01 28 -5.99230581e+01 4.89959717e+01 1.02498772e+01 29 -1.50253709e+01 -2.20878942e+01 1.68489742e+01 30 2.20823269e+01 3.26625708e+01 2.15738118e+00 31 3.55385428e+01 -2.18773952e+01 3.01410564e+01 32 1.96879333e+01 3.45632258e+01 3.68795309e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==92302== Memcheck, a memory error detector ==92302== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==92302== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==92302== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Mo__MO_271256517527_005 ==92302== ==92302== Conditional jump or move depends on uninitialised value(s) ==92302== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==92302== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92302== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92302== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92302== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92302== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92302== by 0x551B80: ??? (in /usr/bin/python3.6) ==92302== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92302== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92302== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92302== by 0x509D47: ??? (in /usr/bin/python3.6) ==92302== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92302== ==92302== Conditional jump or move depends on uninitialised value(s) ==92302== at 0x4E63408: internal_utf8_loop (loop.c:298) ==92302== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==92302== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92302== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92302== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92302== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92302== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92302== by 0x551B80: ??? (in /usr/bin/python3.6) ==92302== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92302== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92302== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92302== by 0x509D47: ??? (in /usr/bin/python3.6) ==92302== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92302== ==92302== Conditional jump or move depends on uninitialised value(s) ==92302== at 0x4E63411: internal_utf8_loop (loop.c:303) ==92302== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==92302== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92302== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92302== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92302== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92302== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92302== by 0x551B80: ??? (in /usr/bin/python3.6) ==92302== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92302== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92302== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92302== by 0x509D47: ??? (in /usr/bin/python3.6) ==92302== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92302== ==92302== Conditional jump or move depends on uninitialised value(s) ==92302== at 0x4E63458: internal_utf8_loop (loop.c:298) ==92302== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==92302== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92302== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92302== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92302== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92302== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92302== by 0x551B80: ??? (in /usr/bin/python3.6) ==92302== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92302== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92302== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92302== by 0x509D47: ??? (in /usr/bin/python3.6) ==92302== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92302== ==92302== Conditional jump or move depends on uninitialised value(s) ==92302== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==92302== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92302== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92302== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92302== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==92302== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==92302== by 0x4F8388: ??? (in /usr/bin/python3.6) ==92302== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==92302== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==92302== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==92302== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==92302== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92302== ==92302== ==92302== HEAP SUMMARY: ==92302== in use at exit: 2,764,995 bytes in 1,647 blocks ==92302== total heap usage: 36,172 allocs, 34,525 frees, 64,212,699 bytes allocated ==92302== ==92302== LEAK SUMMARY: ==92302== definitely lost: 0 bytes in 0 blocks ==92302== indirectly lost: 0 bytes in 0 blocks ==92302== possibly lost: 146,155 bytes in 87 blocks ==92302== still reachable: 2,618,840 bytes in 1,560 blocks ==92302== suppressed: 0 bytes in 0 blocks ==92302== Rerun with --leak-check=full to see details of leaked memory ==92302== ==92302== For counts of detected and suppressed errors, rerun with: -v ==92302== Use --track-origins=yes to see where uninitialised values come from ==92302== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12357 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.