Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009373/0.0009373, allocations: 197.6 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.5 MB / 244 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000739/0.0007391, allocations: 105.8 kB / 296.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3838/0.3838, allocations: 44.82 MB / 392.9 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002771, allocations: 8 kB / 465.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3143, allocations: 62.96 MB / 0.5165 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0004802/0.3149, allocations: 210.6 kB / 0.5167 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3168, allocations: 2.01 MB / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.3168, allocations: 4 kB / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.3169, allocations: 0 / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.581e-05/0.3169, allocations: 0 / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.3176, allocations: 293.5 kB / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.164e-05/0.3176, allocations: 2.75 kB / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.3177, allocations: 0 / 0.5189 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.576e-05/0.3177, allocations: 6.656 kB / 0.519 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01269/0.3304, allocations: 2.769 MB / 0.5217 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3304, allocations: 0 / 0.5217 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.3305, allocations: 15.22 kB / 0.5217 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.3305, allocations: 0 / 0.5217 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.3306, allocations: 29.64 kB / 0.5217 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.346e-05/0.3306, allocations: 5.812 kB / 0.5217 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3306, allocations: 0 / 0.5217 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3307, allocations: 0 / 0.5217 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.3307, allocations: 0 / 0.5217 GB, free: 34.7 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.0002204/0.3309, allocations: 317.8 kB / 0.522 GB, free: 34.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3309, allocations: 8.719 kB / 0.522 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.3311, allocations: 89.52 kB / 0.5221 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.151e-05/0.3312, allocations: 235.7 kB / 0.5223 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.3313, allocations: 150.9 kB / 0.5225 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.3313, allocations: 154.7 kB / 0.5226 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.763e-05/0.3313, allocations: 107.7 kB / 0.5227 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3314, allocations: 75.28 kB / 0.5228 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.3314, allocations: 154.6 kB / 0.5229 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.3314, allocations: 150.6 kB / 0.5231 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.3315, allocations: 154.6 kB / 0.5232 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3316, allocations: 444.2 kB / 0.5237 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.3317, allocations: 173.1 kB / 0.5238 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.3317, allocations: 88.08 kB / 0.5239 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3317, allocations: 78.16 kB / 0.524 GB, free: 32.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3318, allocations: 105.8 kB / 0.5241 GB, free: 32.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.3318, allocations: 0 / 0.5241 GB, free: 32.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.926e-05/0.3319, allocations: 31.92 kB / 0.5241 GB, free: 32.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.3319, allocations: 110.8 kB / 0.5242 GB, free: 31.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.332, allocations: 89.86 kB / 0.5243 GB, free: 31.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.332, allocations: 25.7 kB / 0.5243 GB, free: 31.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.332, allocations: 87.2 kB / 0.5244 GB, free: 31.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.332, allocations: 0 / 0.5244 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.332, allocations: 3.938 kB / 0.5244 GB, free: 31.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.3321, allocations: 310.8 kB / 0.5247 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-06/0.3321, allocations: 0 / 0.5247 GB, free: 31.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.3321, allocations: 16.62 kB / 0.5247 GB, free: 31.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.589e-05/0.3322, allocations: 78.61 kB / 0.5248 GB, free: 31.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.3322, allocations: 75.28 kB / 0.5249 GB, free: 31.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.89e-05/0.3322, allocations: 36.42 kB / 0.5249 GB, free: 31.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3323, allocations: 81.12 kB / 0.525 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3323, allocations: 83.27 kB / 0.5251 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.3323, allocations: 153.5 kB / 0.5252 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.257e-05/0.3323, allocations: 83.25 kB / 0.5253 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.3324, allocations: 157.8 kB / 0.5254 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.3324, allocations: 78.44 kB / 0.5255 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3324, allocations: 79.22 kB / 0.5256 GB, free: 30.54 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 6.456e-05/0.3325, allocations: 259.2 kB / 0.5258 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.3326, allocations: 112.9 kB / 0.5259 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.3326, allocations: 118.2 kB / 0.5261 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.3326, allocations: 176.3 kB / 0.5262 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.3326, allocations: 101 kB / 0.5263 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.3327, allocations: 184.9 kB / 0.5265 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.3327, allocations: 179.5 kB / 0.5267 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.3328, allocations: 111.7 kB / 0.5268 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.3328, allocations: 180.3 kB / 0.527 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.817e-05/0.3329, allocations: 262.4 kB / 0.5272 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.608e-05/0.3329, allocations: 373.3 kB / 0.5276 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.436e-05/0.333, allocations: 119.8 kB / 0.5277 GB, free: 28.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.915e-05/0.333, allocations: 75.28 kB / 0.5277 GB, free: 28.24 MB / 378.7 MB Notification: Performance of Backend: time 4.91e-07/0.333, allocations: 0 / 0.5277 GB, free: 28.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.3333, allocations: 80.05 kB / 0.5278 GB, free: 28.17 MB / 378.7 MB Notification: Performance of SimCode: time 0.0002659/0.3336, allocations: 0.9915 MB / 0.5288 GB, free: 27.12 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!