Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 98.5 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 193.8 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.19 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002776, allocations: 8.219 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 63.57 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002604/0.162, allocations: 1.509 MB / 483.9 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1641, allocations: 1.007 MB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1643, allocations: 0 / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.1649, allocations: 299.4 kB / 485.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.1655, allocations: 235.4 kB / 485.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1659, allocations: 79.84 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.1663, allocations: 219.3 kB / 485.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.1664, allocations: 9.688 kB / 485.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.1667, allocations: 123.5 kB / 485.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.167, allocations: 159.5 kB / 486 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1671, allocations: 4 kB / 486 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1673, allocations: 39.98 kB / 486.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.1675, allocations: 139.5 kB / 486.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1676, allocations: 93.38 kB / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.168, allocations: 275.8 kB / 486.6 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.168, allocations: 4 kB / 486.6 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.168, allocations: 0 / 486.6 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1681, allocations: 0 / 486.6 MB, free: 344 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001343/0.1694, allocations: 0.6765 MB / 487.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.1695, allocations: 11.97 kB / 487.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1696, allocations: 47.44 kB / 487.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.1704, allocations: 442.9 kB / 487.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1704, allocations: 0 / 487.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1705, allocations: 4 kB / 487.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1707, allocations: 83.36 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1707, allocations: 0 / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1708, allocations: 3.938 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1708, allocations: 0 / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1709, allocations: 35.91 kB / 487.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.1715, allocations: 382.3 kB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1718, allocations: 101.2 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1719, allocations: 45.64 kB / 488.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1719, allocations: 4 kB / 488.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.1722, allocations: 101.1 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1722, allocations: 0 / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006208/0.1728, allocations: 196.9 kB / 488.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.173, allocations: 85.11 kB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.1745, allocations: 1.054 MB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1745, allocations: 25.7 kB / 489.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1747, allocations: 240.1 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.1748, allocations: 39.47 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.1748, allocations: 0 / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.175, allocations: 370.8 kB / 490.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.1751, allocations: 31.98 kB / 490.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.1752, allocations: 55.41 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.1753, allocations: 36.45 kB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1753, allocations: 0 / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003121/0.1756, allocations: 168.9 kB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1757, allocations: 8.062 kB / 490.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1757, allocations: 4 kB / 490.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1757, allocations: 0 / 490.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1758, allocations: 31.86 kB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1758, allocations: 0 / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.176, allocations: 11.94 kB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.176, allocations: 4 kB / 490.8 MB, free: 11.82 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.1762, allocations: 230.2 kB / 491.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1763, allocations: 55.34 kB / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.225e-05/0.1764, allocations: 60.14 kB / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1764, allocations: 0 / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.1764, allocations: 4 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.1764, allocations: 7.969 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1768, allocations: 341.4 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1768, allocations: 7.891 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.1769, allocations: 8 kB / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1769, allocations: 0 / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1769, allocations: 8 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1769, allocations: 3.984 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1769, allocations: 4 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.1773, allocations: 193.3 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.1775, allocations: 152.4 kB / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.1776, allocations: 0 / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.1777, allocations: 4 kB / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.1777, allocations: 15.98 kB / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1778, allocations: 4 kB / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009233/0.1787, allocations: 0.7877 MB / 492.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1787, allocations: 0 / 492.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.179, allocations: 48 kB / 492.7 MB, free: 9.809 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.1803, allocations: 415.7 kB / 493.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1806, allocations: 83.95 kB / 493.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1806, allocations: 4 kB / 493.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1808, allocations: 35.92 kB / 493.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1812, allocations: 69.34 kB / 493.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1828, allocations: 0.9245 MB / 494.3 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1833, allocations: 0.8468 MB / 495.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1835, allocations: 59.45 kB / 495.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.1835, allocations: 35.42 kB / 495.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1835, allocations: 3.938 kB / 495.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of Templates: time 0.009037/0.1926, allocations: 3.427 MB / 498.6 MB, free: 4.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches