Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.3 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.00233, allocations: 76.44 kB / 416.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1467, allocations: 62.45 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004704/0.1514, allocations: 2.311 MB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.1542, allocations: 1.313 MB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.1545, allocations: 4 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.155, allocations: 115.5 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006958/0.1558, allocations: 215.2 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.1564, allocations: 163.7 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.1572, allocations: 430.7 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.1574, allocations: 57.06 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.1579, allocations: 259 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.1582, allocations: 147.1 kB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.1583, allocations: 16 kB / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.1585, allocations: 71.95 kB / 484.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1587, allocations: 123.5 kB / 484.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.159, allocations: 182.5 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.1596, allocations: 422.5 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1596, allocations: 0 / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1596, allocations: 0 / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.1596, allocations: 4 kB / 485.1 MB, free: 15.93 MB / 366.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.001416/0.161, allocations: 0.8207 MB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1611, allocations: 13.95 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.1612, allocations: 72.08 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.1618, allocations: 408.5 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1618, allocations: 16.36 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1619, allocations: 20.03 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.1623, allocations: 197.5 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.1624, allocations: 0 / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1624, allocations: 11.94 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1624, allocations: 4 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.1627, allocations: 87.94 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1639, allocations: 0.8016 MB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.1646, allocations: 246.5 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1648, allocations: 83.53 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.1649, allocations: 12.05 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004377/0.1653, allocations: 212.2 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.1653, allocations: 0 / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002726/0.168, allocations: 1.113 MB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.1681, allocations: 136.5 kB / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/0.169, allocations: 0.7931 MB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1691, allocations: 37.7 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.1693, allocations: 244.9 kB / 490.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1694, allocations: 142.1 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.1696, allocations: 78.05 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1698, allocations: 370.8 kB / 491 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.1701, allocations: 120.8 kB / 491.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.1704, allocations: 187.2 kB / 491.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.1711, allocations: 319 kB / 491.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1711, allocations: 0 / 491.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007878/0.1719, allocations: 436.5 kB / 492 MB, free: 8.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1719, allocations: 10.66 kB / 492 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1719, allocations: 0 / 492 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.172, allocations: 4 kB / 492 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.1722, allocations: 87.89 kB / 492.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1723, allocations: 5.297 kB / 492.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1724, allocations: 23.92 kB / 492.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1725, allocations: 16 kB / 492.1 MB, free: 8.504 MB / 366.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.0002583/0.1727, allocations: 235.9 kB / 492.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.1728, allocations: 71.14 kB / 492.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.173, allocations: 76.91 kB / 492.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.173, allocations: 8 kB / 492.5 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.173, allocations: 0 / 492.5 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.173, allocations: 3.938 kB / 492.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.1749, allocations: 1.318 MB / 493.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1749, allocations: 0 / 493.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1751, allocations: 67.84 kB / 493.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.1751, allocations: 4 kB / 493.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.1751, allocations: 19.98 kB / 493.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.1751, allocations: 8.25 kB / 494 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1752, allocations: 7.984 kB / 494 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.1761, allocations: 0.7812 MB / 494.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.1762, allocations: 168.3 kB / 494.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.1763, allocations: 12 kB / 494.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.1767, allocations: 23.98 kB / 494.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.1768, allocations: 43.83 kB / 495 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.1768, allocations: 23.98 kB / 495 MB, free: 5.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006861/0.1775, allocations: 0.5771 MB / 495.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1775, allocations: 4 kB / 495.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005546/0.1781, allocations: 83.98 kB / 495.7 MB, free: 4.824 MB / 366.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.001303/0.1794, allocations: 0.5317 MB / 496.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.18, allocations: 304.4 kB / 496.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.18, allocations: 0 / 496.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.1804, allocations: 168.4 kB / 496.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00093/0.1813, allocations: 123 kB / 496.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1829, allocations: 1.22 MB / 498 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.1835, allocations: 0.8932 MB / 498.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000242/0.1837, allocations: 80.03 kB / 499 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1839, allocations: 55.42 kB / 499 MB, free: 1.559 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1839, allocations: 0 / 499 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Templates: time 0.01096/0.1949, allocations: 5.131 MB / 0.4923 GB, free: 12.47 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches