Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 178.8 kB / 17.39 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007206/0.0007207, allocations: 98.23 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3297/0.3297, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003574, allocations: 12 kB / 432.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 58.86 MB / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006282/0.1196, allocations: 212.5 kB / 491.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1226, allocations: 1.951 MB / 493.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.1226, allocations: 0 / 493.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.1226, allocations: 0 / 493.6 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.61e-05/0.1227, allocations: 3.938 kB / 493.6 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1238, allocations: 275.4 kB / 493.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.1239, allocations: 4 kB / 493.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.1239, allocations: 0 / 493.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.1239, allocations: 7.938 kB / 493.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01444/0.1384, allocations: 2.758 MB / 496.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1385, allocations: 4 kB / 496.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.337e-05/0.1385, allocations: 4 kB / 496.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.1386, allocations: 4 kB / 496.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.1386, allocations: 25.7 kB / 496.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.664e-05/0.1387, allocations: 11.97 kB / 496.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1387, allocations: 0 / 496.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1387, allocations: 0 / 496.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1387, allocations: 0 / 496.7 MB, free: 5.684 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003179/0.1391, allocations: 315.5 kB / 497 MB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.037e-05/0.1392, allocations: 12.03 kB / 497.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.1394, allocations: 88.2 kB / 497.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.1396, allocations: 243.6 kB / 497.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.1397, allocations: 150.9 kB / 497.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.1397, allocations: 154.7 kB / 497.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.86e-05/0.1398, allocations: 104.9 kB / 497.8 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.1399, allocations: 83.22 kB / 497.9 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/0.14, allocations: 150.6 kB / 498 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-05/0.14, allocations: 158.5 kB / 498.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.1401, allocations: 150.6 kB / 498.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.1404, allocations: 442 kB / 498.7 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.1405, allocations: 173.1 kB / 498.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.1406, allocations: 88.08 kB / 499 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1406, allocations: 79.28 kB / 499.1 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.1407, allocations: 109.8 kB / 499.2 MB, free: 3.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1407, allocations: 0 / 499.2 MB, free: 3.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.139e-05/0.1408, allocations: 29.7 kB / 499.2 MB, free: 3.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.1409, allocations: 110.7 kB / 499.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.141, allocations: 93.86 kB / 499.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.141, allocations: 25.7 kB / 499.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.141, allocations: 80.14 kB / 499.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.141, allocations: 3.938 kB / 499.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.141, allocations: 0 / 499.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1412, allocations: 311 kB / 499.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-06/0.1412, allocations: 4 kB / 499.8 MB, free: 2.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.1412, allocations: 13.72 kB / 499.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.1412, allocations: 79.28 kB / 499.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.1413, allocations: 75.28 kB / 500 MB, free: 2.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.853e-05/0.1413, allocations: 37.62 kB / 0.4883 GB, free: 2.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.1414, allocations: 79.28 kB / 0.4884 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.1414, allocations: 79.22 kB / 0.4885 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.979e-05/0.1415, allocations: 162.6 kB / 0.4886 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.644e-05/0.1415, allocations: 79.22 kB / 0.4887 GB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.983e-05/0.1416, allocations: 150.6 kB / 0.4888 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.1417, allocations: 79.28 kB / 0.4889 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.1417, allocations: 83.22 kB / 0.489 GB, free: 1.441 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.1419, allocations: 264.4 kB / 0.4892 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.142, allocations: 112.9 kB / 0.4893 GB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.142, allocations: 108 kB / 0.4894 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.778e-05/0.1421, allocations: 176.3 kB / 0.4896 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/0.1421, allocations: 101 kB / 0.4897 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.1422, allocations: 194 kB / 0.4899 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.1423, allocations: 180.3 kB / 0.4901 GB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.1424, allocations: 108.9 kB / 0.4902 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1912/0.3336, allocations: 176.3 kB / 0.4903 GB, free: 44.25 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.435e-05/0.3336, allocations: 258.9 kB / 0.4906 GB, free: 44 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.07e-05/0.3337, allocations: 379.1 kB / 0.4909 GB, free: 43.61 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.451e-05/0.3338, allocations: 109.8 kB / 0.4911 GB, free: 43.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.3338, allocations: 75.84 kB / 0.4911 GB, free: 43.43 MB / 378.7 MB Notification: Performance of Backend: time 6.81e-07/0.3338, allocations: 0 / 0.4911 GB, free: 43.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.3341, allocations: 82.72 kB / 0.4912 GB, free: 43.37 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002751/0.3344, allocations: 0.9947 MB / 0.4922 GB, free: 42.33 MB / 378.7 MB Error: Internal error GetVarIndexListByMapping: No Element for eps found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: eps (no alias) initial: 1e-13 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for eps found!