Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 74.83 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1569, allocations: 62.44 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.005556/0.1626, allocations: 1.723 MB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1652, allocations: 1.021 MB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1654, allocations: 0 / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.1658, allocations: 51.75 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.1663, allocations: 103.5 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1666, allocations: 75.67 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1669, allocations: 103.7 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.167, allocations: 19.97 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1672, allocations: 43.8 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1673, allocations: 35.78 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1673, allocations: 4 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1675, allocations: 39.98 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.1676, allocations: 23.92 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.1677, allocations: 39.67 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.168, allocations: 131.8 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.168, allocations: 0 / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.168, allocations: 0 / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.168, allocations: 0 / 483.4 MB, free: 1.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008271/0.1689, allocations: 434.8 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.1689, allocations: 8.031 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.169, allocations: 16.83 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.1694, allocations: 217.6 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1694, allocations: 384 / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1695, allocations: 8.125 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.1697, allocations: 57.61 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1697, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1697, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1698, allocations: 4 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1699, allocations: 19.98 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.1704, allocations: 296.8 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1707, allocations: 58.61 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.1708, allocations: 28.84 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1709, allocations: 3.938 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.1712, allocations: 67.3 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1712, allocations: 0 / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009406/0.1722, allocations: 173.1 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.1723, allocations: 59.39 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.1727, allocations: 234.2 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1728, allocations: 29.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1729, allocations: 108.1 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.173, allocations: 23.66 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.1731, allocations: 29.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1733, allocations: 326.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1734, allocations: 19.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1736, allocations: 37.66 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1738, allocations: 69.67 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1738, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000323/0.1741, allocations: 101.5 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1742, allocations: 10.44 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1742, allocations: 4.375 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1742, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1744, allocations: 12 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1744, allocations: 8.031 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1745, allocations: 19.83 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1746, allocations: 4 kB / 485.9 MB, free: 15.16 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 (10): * Single equations (assignments): 10 * 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.0001851/0.1748, allocations: 129.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1748, allocations: 7.906 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.1749, allocations: 21.41 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1749, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1749, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.175, allocations: 3.938 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.1757, allocations: 407.2 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1757, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.1758, allocations: 11.98 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1758, allocations: 3.984 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.1759, allocations: 7.938 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1759, allocations: 0 / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1759, allocations: 0 / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.1764, allocations: 204.5 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1765, allocations: 88.92 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.1766, allocations: 15.88 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1768, allocations: 3.984 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.1768, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1769, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.1771, allocations: 176.4 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1772, allocations: 4 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000488/0.1777, allocations: 28 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001779/0.1794, allocations: 448.2 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1798, allocations: 67.91 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1798, allocations: 0 / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1799, allocations: 32.08 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.1806, allocations: 39.05 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.1815, allocations: 259.6 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.1821, allocations: 0.7158 MB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.662e-05/0.1822, allocations: 16.89 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.1823, allocations: 19.42 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1823, allocations: 0 / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.008065/0.1904, allocations: 1.733 MB / 490.3 MB, free: 10.76 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches