Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 91.34 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 201.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.7 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004618, allocations: 8 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 63.56 MB / 483.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003524/0.1606, allocations: 1.477 MB / 484.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.1631, allocations: 0.998 MB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1633, allocations: 0 / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.1639, allocations: 115.6 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.1645, allocations: 111.7 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.165, allocations: 63.83 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1654, allocations: 131.6 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1655, allocations: 17.34 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1657, allocations: 59.75 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1659, allocations: 67.75 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1659, allocations: 4 kB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.1662, allocations: 63.91 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.1663, allocations: 27.91 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1664, allocations: 73.31 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1667, allocations: 155.8 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1667, allocations: 0 / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.1667, allocations: 0 / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1667, allocations: 3.938 kB / 486.4 MB, free: 0.7266 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007672/0.1675, allocations: 433.5 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1676, allocations: 16.03 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.1677, allocations: 12.75 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.168, allocations: 225.1 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1681, allocations: 384 / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.1681, allocations: 16.11 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1683, allocations: 73.59 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1684, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1684, allocations: 4 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1684, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1686, allocations: 43.91 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.1692, allocations: 328.6 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1695, allocations: 82.53 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.1696, allocations: 24.86 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1697, allocations: 0 / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.1699, allocations: 87.31 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.1699, allocations: 0 / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001208/0.1711, allocations: 305.2 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.1712, allocations: 59.41 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.1716, allocations: 255.7 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1717, allocations: 29.7 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1718, allocations: 116.1 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.1719, allocations: 47.5 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.172, allocations: 17.72 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1722, allocations: 334.8 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1723, allocations: 35.98 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1725, allocations: 56.38 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1727, allocations: 105.6 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1727, allocations: 0 / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004354/0.1732, allocations: 157.5 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1732, allocations: 7.984 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.1732, allocations: 4 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1733, allocations: 4.047 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1734, allocations: 31.86 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1735, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.1736, allocations: 8.031 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1736, allocations: 7.984 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001782/0.1738, allocations: 133.8 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1738, allocations: 19.75 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.1739, allocations: 29.52 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.174, allocations: 3.938 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.174, allocations: 0 / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.174, allocations: 0 / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.1749, allocations: 0.5077 MB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1749, allocations: 0 / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1751, allocations: 19.94 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1751, allocations: 0 / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.1751, allocations: 11.98 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1751, allocations: 0 / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.1751, allocations: 7.938 kB / 490 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.1756, allocations: 256.8 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.1757, allocations: 96.92 kB / 490.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1758, allocations: 0 / 490.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1759, allocations: 11.98 kB / 490.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.176, allocations: 15.92 kB / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.1761, allocations: 12.28 kB / 490.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.1763, allocations: 197.5 kB / 490.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1763, allocations: 0 / 490.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.1767, allocations: 39.92 kB / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001403/0.1781, allocations: 0.4935 MB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1785, allocations: 103.8 kB / 491.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1785, allocations: 4.062 kB / 491.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1786, allocations: 55.91 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.1792, allocations: 27.98 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.18, allocations: 379.9 kB / 491.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1804, allocations: 0.7165 MB / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1805, allocations: 29.41 kB / 492.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.1806, allocations: 27.42 kB / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1806, allocations: 3.938 kB / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Templates: time 0.006129/0.1867, allocations: 2.088 MB / 494.6 MB, free: 8.391 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches