Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2499/0.2499, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 84.16 kB / 481.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4471, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004371/0.4515, allocations: 2.269 MB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.4541, allocations: 1.316 MB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.4544, allocations: 8.062 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.455, allocations: 141.5 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007891/0.4558, allocations: 260.7 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.4565, allocations: 186.5 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009021/0.4574, allocations: 467.1 kB / 0.5356 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.4576, allocations: 58.84 kB / 0.5357 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.4582, allocations: 333.5 kB / 0.536 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.4585, allocations: 164.7 kB / 0.5361 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.4586, allocations: 15.94 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.4588, allocations: 70.83 kB / 0.5362 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.4591, allocations: 149.6 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.4593, allocations: 209.6 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.46, allocations: 483.7 kB / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.46, allocations: 0 / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.46, allocations: 0 / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.46, allocations: 5.062 kB / 0.537 GB, free: 9.234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001296/0.4613, allocations: 0.8856 MB / 0.5379 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4614, allocations: 10.75 kB / 0.5379 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.4615, allocations: 71.12 kB / 0.538 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.4622, allocations: 443 kB / 0.5384 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4622, allocations: 10.12 kB / 0.5384 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.4623, allocations: 22.91 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.4627, allocations: 200.4 kB / 0.5386 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.4628, allocations: 5.219 kB / 0.5386 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4628, allocations: 5.625 kB / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.4628, allocations: 8.406 kB / 0.5386 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.4631, allocations: 92.02 kB / 0.5387 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.4643, allocations: 0.8323 MB / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.4651, allocations: 248.9 kB / 0.5398 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.4653, allocations: 89.44 kB / 0.5399 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.4654, allocations: 7.984 kB / 0.5399 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.4658, allocations: 202.5 kB / 0.5401 GB, free: 6.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.4658, allocations: 4 kB / 0.5401 GB, free: 6.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002658/0.4685, allocations: 1.175 MB / 0.5412 GB, free: 5.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.4686, allocations: 137.5 kB / 0.5413 GB, free: 5.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4699, allocations: 0.9607 MB / 0.5423 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.4699, allocations: 42.06 kB / 0.5423 GB, free: 5.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.4701, allocations: 262.3 kB / 0.5426 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.4703, allocations: 143.1 kB / 0.5427 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4704, allocations: 79.36 kB / 0.5428 GB, free: 4.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4706, allocations: 321.3 kB / 0.5431 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.4708, allocations: 116.5 kB / 0.5432 GB, free: 4.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.4711, allocations: 186.7 kB / 0.5434 GB, free: 4.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.4717, allocations: 321.7 kB / 0.5437 GB, free: 4.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4717, allocations: 0 / 0.5437 GB, free: 4.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008012/0.4725, allocations: 436.6 kB / 0.5441 GB, free: 3.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4725, allocations: 9.609 kB / 0.5441 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4725, allocations: 1.25 kB / 0.5441 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.4726, allocations: 8.125 kB / 0.5441 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.4729, allocations: 95.03 kB / 0.5442 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4729, allocations: 7.984 kB / 0.5442 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.473, allocations: 19.88 kB / 0.5442 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.4731, allocations: 16 kB / 0.5443 GB, free: 3.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.4734, allocations: 251.9 kB / 0.5445 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4735, allocations: 79.05 kB / 0.5446 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4737, allocations: 97.73 kB / 0.5447 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/0.4737, allocations: 4 kB / 0.5447 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.4737, allocations: 0 / 0.5447 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.4737, allocations: 11.92 kB / 0.5447 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.4755, allocations: 1.33 MB / 0.546 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4756, allocations: 4 kB / 0.546 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.4757, allocations: 63.91 kB / 0.546 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4757, allocations: 4 kB / 0.546 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.4758, allocations: 15.98 kB / 0.5461 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.4758, allocations: 5.188 kB / 0.5461 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4758, allocations: 11.94 kB / 0.5461 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/0.4767, allocations: 0.7962 MB / 0.5469 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4769, allocations: 176.2 kB / 0.547 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.477, allocations: 11.98 kB / 0.547 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.4772, allocations: 23.98 kB / 0.5471 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.4773, allocations: 43.83 kB / 0.5471 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.4774, allocations: 20 kB / 0.5471 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007343/0.4781, allocations: 0.706 MB / 0.5478 GB, free: 44 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4781, allocations: 0 / 0.5478 GB, free: 44 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.4787, allocations: 87.95 kB / 0.5479 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.48, allocations: 0.5434 MB / 0.5484 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006414/0.4806, allocations: 311.6 kB / 0.5487 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4806, allocations: 0 / 0.5487 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4809, allocations: 164.4 kB / 0.5489 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.4819, allocations: 138.6 kB / 0.549 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4837, allocations: 1.191 MB / 0.5502 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.4843, allocations: 0.9172 MB / 0.5511 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.4845, allocations: 83.28 kB / 0.5512 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.4846, allocations: 55.41 kB / 0.5512 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4846, allocations: 0 / 0.5512 GB, free: 12.67 MB / 414.1 MB Notification: Performance of Templates: time 0.01109/0.4957, allocations: 5.51 MB / 0.5566 GB, free: 7.203 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches