Model Extended KIM ID = === Verification check vc-memory-leak start (2017-12-16 10:00:50) === !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 ----------------------------------------------------------------------------------------------------- Results for KIM Model : EMT_Asap_MetalGlass_CuMgZr__MO_655725647552_002 Supported species : Cu Mg Zr 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 = 16.5566125944 Forces: 1 -7.85370016e+00 -7.40668635e+00 -1.05273274e+01 2 2.16863969e+00 4.60105773e+00 -1.18719902e+01 3 4.34122205e+00 -1.01609378e+01 8.02379875e+00 4 -1.01319592e+01 6.47806158e+00 5.91945084e+00 5 2.76797935e-01 -7.52000369e+00 -8.13229994e+00 6 4.21863740e+00 6.88698097e+00 -8.81797628e+00 7 4.75097288e+00 -1.22014266e+01 3.91263333e+00 8 -9.85315192e+00 -2.96564846e+01 -6.31556868e+00 9 -7.87550538e+00 -1.47042696e+01 -2.17668485e+01 10 1.24410703e+00 1.12311637e+01 -1.11730354e+01 11 7.49820205e+00 -3.96880687e+00 2.59373031e+00 12 -1.41490003e+01 2.22614389e+01 3.97418613e+00 13 -3.67206512e+00 -2.16584691e+00 -2.41409055e+01 14 1.35487900e+00 2.88756281e+00 -2.78469926e+00 15 2.78258859e+01 -6.18045805e+00 -1.27156345e+01 16 4.60356831e+00 1.51417525e+01 -2.73638524e+00 17 -1.22554530e+01 -8.29788136e+00 -1.70961350e+00 18 6.02619720e+00 1.52517093e+01 -1.18107542e+01 19 4.82660746e+00 -2.68341208e+01 8.90612084e+00 20 -1.38981622e+01 1.33120203e+01 8.77003001e+00 21 -1.08349418e+00 -4.27856592e+00 -1.23966395e+00 22 8.54780705e+00 5.03735301e+00 7.17752297e+00 23 1.29373888e+00 -4.71791002e-01 2.35422384e+00 24 8.84327404e+00 8.12602026e+00 6.79940537e+00 25 -1.87083460e+01 -1.65717447e+01 1.50053337e+01 26 6.70489047e+00 1.92185710e+01 6.67600107e+00 27 1.51108959e+01 -2.93701661e+01 5.55262138e+00 28 -2.94781154e+01 2.01711653e+01 1.72633400e+00 29 -1.58658455e+01 5.31559331e+00 1.62396360e+01 30 1.04996466e+01 1.77048537e+01 1.18666570e+01 31 1.21668618e+01 -4.22097659e+00 1.35486807e+01 32 1.25219665e+01 1.03848626e+01 6.69633614e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Cu (Configuration in file "config-T-Cu.xyz") ----------------------------------------------------------------------------------------------------- Energy = 38.9030538277 Forces: 1 1.26582815e+01 -1.63459978e+01 1.27293683e+00 2 -4.74408015e+00 4.13759399e+00 3.27553251e+00 3 1.85068974e+00 8.83627105e-01 1.09953097e+01 4 -8.55807023e-01 8.21263018e+00 3.38339862e+00 5 4.62956416e+00 1.03616297e+00 -7.14164766e+00 6 -1.50841987e+01 2.07219689e+01 -3.88853004e+00 7 -1.00106358e+00 -8.40256932e+00 3.95010309e+00 8 -8.85098374e+00 -2.96977665e+01 -6.79376407e+00 9 -6.47365900e+00 -2.22866333e+01 -6.32859434e+00 10 -3.21182015e+00 1.45210119e+00 -7.75246491e+00 11 6.53475296e+00 -3.26565255e+00 1.41694310e+00 12 5.17466384e+00 1.92061530e+01 2.49949300e+00 13 -3.01476285e+00 -2.22093272e+00 -1.98983220e+01 14 -1.26920132e+01 -1.28685065e+00 -3.39867851e+00 15 2.07581769e+01 -9.10462405e+00 -1.12856991e+01 16 4.86791451e+00 9.21176875e+00 -1.35852491e+00 17 1.13071705e+01 -2.32935104e+01 -5.87936333e-01 18 5.16182576e+00 1.40289141e+01 -1.10441009e+01 19 4.48014075e+00 -2.33080732e+01 7.21112530e+00 20 -5.60389475e+00 2.06218668e+01 -8.76876818e-01 21 1.26314927e+00 2.38906136e+00 -5.38754406e-01 22 -1.52933491e+01 2.12727833e+01 8.89713180e+00 23 -8.84954550e+00 -3.78468024e+00 -1.03149621e+01 24 1.50528285e+01 8.54353251e+00 -7.79669706e+00 25 -1.56388095e+01 -1.66518898e+01 1.42547732e+01 26 3.90298152e+00 1.28986901e+01 6.58792571e+00 27 1.69295687e+01 -2.94072902e+01 -4.12351188e+00 28 -2.30183379e+01 2.03589466e+01 -1.04402637e+01 29 -1.48612326e+01 6.26632864e+00 1.63134691e+01 30 5.05632176e-01 1.36496258e+01 1.97324264e+01 31 1.17795616e+01 -4.12516559e+00 1.15964057e+01 32 1.23366554e+01 8.28988090e+00 2.18235477e+00 MONOATOMIC STRUCTURE (pbc=False)-- Species = Mg (Configuration in file "config-F-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 323.419862808 Forces: 1 -4.61464593e+00 -4.54771606e+00 -2.67343588e+00 2 2.72239857e+01 -1.57444906e+01 -1.82575223e+01 3 2.80601985e+00 -9.41939362e+00 -3.59804836e+00 4 -4.75322081e+01 -5.31902042e+01 4.61532108e+00 5 -2.42495782e+01 -1.49550349e+01 -5.48923840e+01 6 3.47524002e+01 -1.21119652e+00 -3.02359120e+01 7 3.00172480e+01 -3.04461460e+01 3.40686572e+01 8 -3.17090420e+01 4.24181792e+00 1.88145878e+01 9 -3.38694097e+01 2.20768194e+01 -3.69022702e+01 10 1.80576878e+01 6.73144746e+00 -3.72204301e+01 11 2.34207604e+01 6.34970135e+01 -3.40754266e+01 12 -2.86504598e+01 2.29801158e+01 2.37019810e+01 13 -2.13517210e+01 -9.92089530e+00 -2.59638710e+01 14 1.32597686e+01 1.73660560e+01 -1.24232351e+01 15 2.14429208e+01 -1.22242393e+01 -2.48272728e+00 16 1.44537606e+01 3.06614307e+01 -2.40769197e+01 17 -1.34745205e+01 -5.33223813e+00 -2.71933502e+00 18 3.55192954e+00 -5.77841455e+01 3.88464200e+01 19 -2.12669990e+01 -1.67273342e+01 2.56977745e+01 20 -4.15399469e+01 -2.38365362e+01 9.61228466e+00 21 1.29877693e+01 -2.82536820e+01 -2.94440912e+01 22 1.69145780e+01 7.27948398e+00 7.24831088e+00 23 1.19187561e+01 -7.05129350e+00 1.09129017e+01 24 2.17285368e+01 1.53218060e+01 1.96973882e+01 25 -2.87325333e+01 1.10340068e+01 8.33120674e+00 26 -4.05673309e+01 2.00019141e+01 1.96817814e+01 27 1.91649344e+01 3.65695074e+01 1.92151152e+01 28 -4.05422934e+00 6.53639699e+00 3.56916254e+00 29 3.29676688e+01 -8.23479245e+00 1.33660786e+01 30 1.80170428e+01 3.01306977e+01 2.06163074e+01 31 9.18895858e+00 -7.52195919e+00 1.30597133e+01 32 9.73789855e+00 1.19727840e+01 2.39106165e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Mg (Configuration in file "config-T-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 458.717362227 Forces: 1 1.03724493e+01 2.29158653e+01 1.81847247e+01 2 2.71484097e+01 -2.56941712e+01 2.75948913e+01 3 5.82744979e+00 2.97348010e+01 -5.28742038e+00 4 -3.66453164e+01 -5.15599925e+01 4.30942889e+00 5 -3.38147443e+01 5.41722039e+00 -3.89863555e+01 6 7.68287700e+00 -8.41874445e+00 -2.33725440e+01 7 2.85570768e+01 -7.78895513e+00 3.19157405e+01 8 -2.92804923e+01 2.62189112e+00 1.66767655e+01 9 -2.31244286e+01 3.46450521e+01 3.86454540e+00 10 2.35256246e+01 1.80693503e+00 -2.11105009e+01 11 2.05820071e+01 6.39196349e+01 -3.47933913e+01 12 -3.07055189e+01 -4.47967907e+00 1.44903516e+01 13 -1.86939962e+01 -8.53195347e+00 -2.00647954e+01 14 4.45334885e+00 -1.83758692e+01 8.75415803e+00 15 1.07507305e+01 -8.91705433e+00 -7.82448816e+00 16 1.62170063e+01 5.77768774e+00 -1.99470980e+01 17 3.22699621e+00 7.02146297e+00 -1.58357606e+00 18 1.88427903e+00 -5.77662978e+01 3.98151534e+01 19 -1.66994395e+01 -1.43354689e+01 1.17268971e+01 20 -3.79500072e+01 -3.38838471e+01 -3.02100833e+01 21 1.56238143e+01 -4.58057282e-01 -3.09289285e+01 22 5.14864312e+00 6.00658996e+00 6.25824339e+00 23 -1.40208887e+00 1.78361654e+01 -1.61008965e+01 24 2.65612866e+01 1.47017670e+01 9.27459452e+00 25 9.75843767e+00 -7.98765395e+00 9.53360406e+00 26 -3.82070603e+01 2.55623258e+00 1.96888241e+01 27 2.61672730e+01 4.76393423e+01 -1.52921638e+01 28 1.22842563e+01 -1.30030776e+01 -1.67603943e+01 29 3.32557715e+01 -6.18131920e+00 1.40431221e+01 30 -1.16705045e+01 3.24747814e+01 1.84819223e+01 31 -1.15296740e+01 -1.12175707e+01 7.46516115e+00 32 6.95533212e-01 -1.64757173e+01 2.01845082e+01 MONOATOMIC STRUCTURE (pbc=False)-- Species = Zr (Configuration in file "config-F-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 225.093530597 Forces: 1 -7.43772601e+01 -2.82519447e+01 -6.84730144e+01 2 2.06697363e+01 1.91781955e+01 -3.22229524e+01 3 6.04767227e+01 -2.46724215e+01 6.14466810e+01 4 -3.33262203e+01 4.21847519e+00 1.72525056e+01 5 1.57684796e+01 -1.67785221e+01 -1.62446343e+01 6 2.67620622e+01 -2.16878016e+01 -4.46595998e+01 7 2.10687737e+01 -2.16741833e+01 5.52772300e+00 8 -2.18213650e+01 -9.36187912e+00 1.79070291e+01 9 -1.63156989e+01 8.43502498e+00 -2.73078640e+01 10 1.18944444e+00 9.67829773e+00 -1.31695223e+01 11 2.25787018e+01 -6.64449073e+00 3.26692386e+00 12 -1.72555239e+01 3.74111323e+01 -1.01070678e+01 13 -3.03709385e+01 2.51863491e+01 -3.20567191e+01 14 7.16633989e+00 8.38270831e+00 -7.47452496e+00 15 4.41132896e+01 1.30693745e+01 1.88933193e+01 16 -9.03460509e+00 2.39443310e+01 -2.38128529e+01 17 -2.03049758e+01 -1.88927253e+01 1.36516107e+01 18 -1.23392590e+01 2.11995011e+01 -5.36589574e+00 19 -9.65212272e+00 -2.19278065e+01 2.04414249e+01 20 -2.10499830e+01 -5.85656164e+00 1.08639567e+01 21 1.46850214e+01 -3.68258243e+01 -1.17188834e+01 22 2.07228996e+01 2.17885995e+01 -3.75908156e+01 23 1.81105550e+01 -4.74734582e+01 3.21689571e+01 24 -6.14134088e+00 9.22586597e+00 2.87081345e+01 25 -2.11858495e+01 -8.39562273e+00 2.22300187e+01 26 -1.75935246e+01 1.69296465e+01 -1.64494545e+01 27 2.04177677e+00 6.86677864e+00 1.28406159e+01 28 -1.22007077e+01 1.00376192e+01 1.01903123e+01 29 -8.80481651e+00 -1.02290234e+01 3.17470224e+00 30 2.82310651e+01 1.40766872e+01 8.61265411e+00 31 1.64249964e+01 1.80140160e+01 2.65382469e+01 32 1.17643271e+01 1.10296625e+01 3.29389852e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Zr (Configuration in file "config-T-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 377.806358145 Forces: 1 -6.16424718e+01 4.28004998e+00 -6.09235053e+01 2 1.72526710e+01 1.69415760e+01 -1.91204366e+01 3 5.74521186e+01 -1.64926627e+00 5.74597983e+01 4 7.08868183e+00 1.33236824e+01 1.21362192e+01 5 2.53828285e+01 1.83452009e+01 4.40552913e+00 6 7.94287817e+00 -3.02989791e+01 -2.61859826e+01 7 -2.71132044e+01 -1.97290618e+01 -2.83388292e+00 8 -1.83641129e+01 -1.07743579e+01 1.53416931e+01 9 1.26756244e+01 1.34022616e+01 -1.44902337e+01 10 -4.34419077e+00 -3.27178852e+01 5.37802567e+00 11 1.91358736e+01 -4.42822548e+00 1.94557682e+00 12 -1.51953765e+01 -3.15454349e+00 -5.83331269e-01 13 -3.08575353e+01 2.46433055e+01 -2.08504427e+01 14 8.12854018e+00 1.39081927e+00 3.35311450e+00 15 3.96340708e+00 1.22841340e+01 1.92087710e+01 16 -5.17533831e+00 1.22827807e+01 -1.93547472e+01 17 1.02663759e+01 -3.35593027e+00 1.82674797e+01 18 -1.38491125e+01 1.90003421e+01 -4.08370795e+00 19 -6.06761900e+00 1.86337835e+01 2.20842753e+00 20 9.96871916e+00 -7.53771453e+00 2.79847657e+00 21 1.84330396e+01 -1.13656051e+01 -1.12559518e+01 22 7.19687256e+00 1.87628048e+01 -3.69600218e+01 23 2.21227757e+00 -3.21966503e+01 2.92807289e+01 24 -6.24474683e+00 7.01850783e+00 2.11654850e+01 25 3.14137243e+00 -9.08104802e+00 2.61387882e+01 26 -1.88553961e+01 -1.23677595e+01 -1.64712094e+01 27 3.43680506e+00 4.77357942e+00 1.50960838e-01 28 -2.07856777e+01 -8.27422543e+00 -4.84667747e+00 29 -7.68962326e+00 -7.78659434e+00 4.35791019e+00 30 4.66725986e+00 -4.59132462e+00 7.39848470e+00 31 2.30386033e-01 2.25101674e+01 -1.33363412e+00 32 1.76086740e+01 -8.28382414e+00 8.29829574e+00 MIXED STRUCTURE (pbc=False)-- Species = Cu Mg Zr (Configuration in file "config-F-CuMgZr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 174.366499178 Forces: 1 -2.46832184e+01 -1.62209118e+01 -3.10335816e+01 2 -3.83867514e+01 2.73767557e+01 -1.07049156e+01 3 2.61760978e+01 -2.13410300e+01 4.34226881e+00 4 -8.45784376e+00 5.88371019e-01 2.84440582e+01 5 2.37510128e+01 -4.74411852e+01 -2.06111376e+01 6 2.06192105e+01 5.41950638e+00 -3.05032758e+01 7 2.20483977e+01 -3.04945071e+01 -4.45225380e+00 8 4.90970472e-01 9.19090718e+00 -3.33795866e+01 9 -4.09394242e+00 1.52545240e+01 -2.15673438e+01 10 3.73445843e-01 3.52970470e+00 -7.44202972e+00 11 -7.27243454e+00 4.60378904e+00 1.55117105e+01 12 -7.32446441e+00 8.77016120e+00 3.09602629e+00 13 4.73842866e+00 1.14427298e+01 -2.83745171e+01 14 6.38239196e+00 3.73619289e+00 -6.33893924e+00 15 1.94229431e+01 1.60167042e+01 9.81124332e+00 16 -4.74170278e+00 6.11408204e+00 4.85907195e+00 17 -1.72377588e+01 -1.83537304e+00 1.62985266e+01 18 -5.09461300e+01 1.02962130e+01 1.98266342e+01 19 -1.71504207e+01 -2.10326378e+01 6.77903403e+00 20 -1.15389388e+01 -1.41832109e+01 3.54924028e+00 21 -3.56305697e+00 -4.43830952e+01 6.26612733e+00 22 3.68410041e+01 1.19249807e+01 1.69689388e+01 23 1.29766850e+01 -8.71302504e+00 1.10639320e+01 24 9.54296893e+00 1.51521813e+01 2.32185033e+01 25 -2.62732868e+01 -5.29431870e+01 -5.62688236e+01 26 3.02536349e+01 3.31676752e+01 -9.48591179e+00 27 2.65606827e+01 -2.35574816e+00 2.94182873e+01 28 -2.36156423e+01 4.21358257e+01 4.15241405e+01 29 -9.70533655e+00 2.05002101e+01 3.85499493e-01 30 1.83430008e+01 1.30025976e+01 -1.62790034e+01 31 2.21714286e+01 -1.45642094e+01 1.58556165e+01 32 -2.57013753e+01 1.72850089e+01 1.92224604e+01 MIXED STRUCTURE (pbc=True)-- Species = Cu Mg Zr (Configuration in file "config-T-CuMgZr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 279.464983165 Forces: 1 1.79193032e+01 3.03836951e+01 -5.69888892e+01 2 -4.14122939e+01 2.47784402e+01 7.47363079e+00 3 3.42296305e+01 5.73966767e+00 4.95056908e+00 4 1.57562399e+01 6.94429168e+00 2.35811824e+01 5 2.70199708e+01 -4.53965956e+01 2.08855843e+01 6 7.68880731e+00 3.50094371e+00 -2.51992879e+01 7 -2.71341426e+01 -1.47467494e+01 1.39422256e+01 8 2.30306624e+00 6.83546906e+00 -3.51289315e+01 9 6.81575528e+00 1.51245170e+01 -2.02398362e+01 10 -1.44376601e+00 -1.72026872e+01 1.16836047e+01 11 -8.44508394e+00 5.54794828e+00 1.41886215e+01 12 5.69116352e+00 -5.59945829e+01 1.97138467e+01 13 4.96180088e+00 1.22379121e+01 -1.85000254e+01 14 -1.57429278e+01 -1.34556825e+01 -1.44105560e+01 15 6.63852905e+00 1.96472448e+01 1.33323384e+01 16 -2.66275099e+00 -8.37528429e+00 7.04361346e-01 17 2.10587748e+00 6.85689207e+00 2.02365182e+01 18 -5.06987333e+01 7.52806546e+00 2.15271683e+01 19 -1.85044026e+01 -3.79910411e-01 -2.15148150e+01 20 -2.38681598e+00 -1.67056919e+01 2.96833784e+00 21 -8.86732611e+00 -2.80232689e+01 1.15002292e+01 22 2.28813575e+01 1.15504561e+01 2.09373012e+01 23 8.62494282e+00 1.34134835e+01 1.29371309e+01 24 1.54311812e+01 2.45017905e+01 -2.81371440e+01 25 -1.95369619e+01 -5.10691663e+01 -5.41808042e+01 26 2.89154779e+01 1.94269699e+01 -6.64778829e+00 27 2.03120243e+01 -1.95626752e+00 1.98612426e+01 28 -1.03416227e+01 3.65567242e+01 4.09533539e+01 29 -7.99959322e+00 2.05894099e+01 1.57072712e+00 30 4.88271772e+00 -1.43207881e+01 -2.33136659e+01 31 8.97378152e+00 -1.22279916e+01 8.61213921e+00 32 -2.59752062e+01 8.69074548e+00 1.27016304e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==24136== Memcheck, a memory error detector ==24136== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==24136== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==24136== Command: python runner2.py EMT_Asap_MetalGlass_CuMgZr__MO_655725647552_002 ==24136== ==24136== Warning: set address range perms: large range [0x20fe9000, 0x314e9000) (defined) ==24136== Warning: set address range perms: large range [0x2122d000, 0x314e9000) (defined) ==24136== Warning: set address range perms: large range [0x20fe9000, 0x314e9000) (noaccess) ==24136== Warning: set address range perms: large range [0x23029000, 0x33529000) (defined) ==24136== Warning: set address range perms: large range [0x2326d000, 0x33529000) (defined) ==24136== Warning: set address range perms: large range [0x23029000, 0x33529000) (noaccess) ==24136== Warning: set address range perms: large range [0x23029000, 0x33529000) (defined) ==24136== Warning: set address range perms: large range [0x2326d000, 0x33529000) (defined) ==24136== Warning: set address range perms: large range [0x23029000, 0x33529000) (noaccess) ==24136== Mismatched free() / delete / delete [] ==24136== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==24136== by 0x232503C8: AsapOpenKIM_EMT::AsapKimPotential::~AsapKimPotential() (asap_kim_api.cpp:126) ==24136== by 0x2323477E: asap_emt_destroy(void*) (asap_emt_driver.cpp:83) ==24136== by 0x2302AA90: model_destroy (parameterized-model.cpp:162) ==24136== by 0x1FA5679A: KIM_API_model::model_destroy() (KIM_API.cpp:2549) ==24136== by 0x1F8280BB: void pybind11::cpp_function::initialize(pybind11_init_kimapi(pybind11::module&)::{lambda(void*)#10}&&, int (*)(void*), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call) (kim_api_bind.cpp:119) ==24136== by 0x1F8359F2: pybind11::cpp_function::dispatcher(_object*, _object*, _object*) (pybind11.h:620) ==24136== by 0x4C45F9: PyEval_EvalFrameEx (in /usr/bin/python2.7) ==24136== by 0x4C2704: PyEval_EvalCodeEx (in /usr/bin/python2.7) ==24136== by 0x4CA7DE: PyEval_EvalFrameEx (in /usr/bin/python2.7) ==24136== by 0x4C2704: PyEval_EvalCodeEx (in /usr/bin/python2.7) ==24136== by 0x4DE69D: ??? (in /usr/bin/python2.7) ==24136== Address 0x1d93bca0 is 0 bytes inside a block of size 58 alloc'd ==24136== at 0x4C2E80F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==24136== by 0x23250434: AsapOpenKIM_EMT::AsapKimPotential::AsapKimPotential(long*, char const*, int, int, bool) (asap_kim_api.cpp:64) ==24136== by 0x23234BEA: model_driver_init (asap_emt_driver.cpp:156) ==24136== by 0x2302B65C: EMT_Asap_MetalGlass_CuMgZr__MO_655725647552_002_init (parameterized-model.cpp:233) ==24136== by 0x1FA60FBE: KIM_API_model::model_init() (KIM_API.cpp:2537) ==24136== by 0x1FA61678: KIM_API_model_init (KIM_API_C.cpp:177) ==24136== by 0x1F82803B: void pybind11::cpp_function::initialize(pybind11_init_kimapi(pybind11::module&)::{lambda(void*)#9}&&, int (*)(void*), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call) (kim_api_bind.cpp:111) ==24136== by 0x1F8359F2: pybind11::cpp_function::dispatcher(_object*, _object*, _object*) (pybind11.h:620) ==24136== by 0x4C45F9: PyEval_EvalFrameEx (in /usr/bin/python2.7) ==24136== by 0x4C2704: PyEval_EvalCodeEx (in /usr/bin/python2.7) ==24136== by 0x4CA7DE: PyEval_EvalFrameEx (in /usr/bin/python2.7) ==24136== by 0x4C2704: PyEval_EvalCodeEx (in /usr/bin/python2.7) ==24136== ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23ea0000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (noaccess) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23ea0000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (noaccess) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23ea0000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (noaccess) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23ea0000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (noaccess) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23ea0000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (noaccess) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23ea0000, 0x3415c000) (defined) ==24136== Warning: set address range perms: large range [0x23c5c000, 0x3415c000) (noaccess) ==24136== ==24136== HEAP SUMMARY: ==24136== in use at exit: 4,042,691 bytes in 5,794 blocks ==24136== total heap usage: 184,782 allocs, 178,988 frees, 140,731,851 bytes allocated ==24136== ==24136== LEAK SUMMARY: ==24136== definitely lost: 64 bytes in 4 blocks ==24136== indirectly lost: 96 bytes in 4 blocks ==24136== possibly lost: 162,822 bytes in 96 blocks ==24136== still reachable: 3,879,709 bytes in 5,690 blocks ==24136== suppressed: 0 bytes in 0 blocks ==24136== Rerun with --leak-check=full to see details of leaked memory ==24136== ==24136== For counts of detected and suppressed errors, rerun with: -v ==24136== ERROR SUMMARY: 4 errors from 1 contexts (suppressed: 2422 from 151) ================================================================================ 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" (Search for the word "lost" in the file to identify memory leaks.) Grade: F Comment: Memory leak detected. === Verification check vc-memory-leak end (2017-12-16 10:01:36) ===