Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 80.44 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1578, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003794/0.1616, allocations: 1.922 MB / 483.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1637, allocations: 1.123 MB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1638, allocations: 7.938 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1643, allocations: 251.3 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.1649, allocations: 239.1 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1653, allocations: 115.6 kB / 485.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1657, allocations: 263.3 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1658, allocations: 29.67 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.166, allocations: 139.4 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1662, allocations: 187.5 kB / 485.7 MB, free: 252 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1662, allocations: 8 kB / 485.7 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1664, allocations: 59.98 kB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.1665, allocations: 71.69 kB / 485.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.1666, allocations: 91.23 kB / 485.9 MB, free: 20 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.1669, allocations: 255 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1669, allocations: 0 / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.1669, allocations: 4 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1669, allocations: 7.938 kB / 486.2 MB, free: 15.76 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008046/0.1677, allocations: 0.5797 MB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1678, allocations: 12.03 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.1679, allocations: 28.56 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.1683, allocations: 290.4 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1684, allocations: 8.359 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1684, allocations: 12.12 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1686, allocations: 118.2 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1686, allocations: 7.844 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1687, allocations: 0 / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1687, allocations: 3.984 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1688, allocations: 55.89 kB / 487.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.1694, allocations: 480.7 kB / 487.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1698, allocations: 121.2 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.17, allocations: 49.81 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.17, allocations: 4 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1702, allocations: 125.1 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.1703, allocations: 0 / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001251/0.1715, allocations: 0.5036 MB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1716, allocations: 85.05 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.1721, allocations: 497.6 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1721, allocations: 37.64 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1723, allocations: 168.5 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.1724, allocations: 71 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.1725, allocations: 45.7 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.1728, allocations: 342.8 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1729, allocations: 59.98 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1731, allocations: 95.33 kB / 489.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.1734, allocations: 151.4 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1734, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003694/0.1737, allocations: 237.5 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1738, allocations: 7.938 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1738, allocations: 4 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1738, allocations: 0 / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1739, allocations: 47.92 kB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.174, allocations: 0 / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.174, allocations: 11.89 kB / 490.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.1741, allocations: 12 kB / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001523/0.1742, allocations: 173.8 kB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1743, allocations: 39.56 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.1744, allocations: 46.81 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1744, allocations: 4 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1744, allocations: 0 / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1744, allocations: 4 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.1754, allocations: 0.7467 MB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1754, allocations: 0 / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.1755, allocations: 31.98 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1755, allocations: 4 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1755, allocations: 4 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1755, allocations: 3.984 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1755, allocations: 7.938 kB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.1761, allocations: 433.4 kB / 491.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1761, allocations: 108.7 kB / 492 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.1762, allocations: 8 kB / 492 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1763, allocations: 8 kB / 492 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.1764, allocations: 27.84 kB / 492 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.1764, allocations: 8 kB / 492.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004139/0.1768, allocations: 375.1 kB / 492.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1768, allocations: 0 / 492.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.1772, allocations: 51.98 kB / 492.5 MB, free: 9.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001269/0.1785, allocations: 0.5041 MB / 493 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.1788, allocations: 163.8 kB / 493.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1788, allocations: 0 / 493.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.179, allocations: 80.03 kB / 493.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.1795, allocations: 64.58 kB / 493.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.1805, allocations: 0.5984 MB / 493.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.181, allocations: 0.7792 MB / 494.7 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1811, allocations: 41.92 kB / 494.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.1812, allocations: 35.42 kB / 494.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1812, allocations: 3.938 kB / 494.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of Templates: time 0.006911/0.1881, allocations: 3.172 MB / 497.9 MB, free: 3.797 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches