Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 78.73 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 62.45 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004786/0.1493, allocations: 2.311 MB / 481.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.152, allocations: 1.305 MB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1522, allocations: 7.938 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.1527, allocations: 123.5 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.1534, allocations: 227.2 kB / 483.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1538, allocations: 171.7 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.1544, allocations: 462.6 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1546, allocations: 65.06 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.1549, allocations: 295 kB / 484.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1551, allocations: 175.1 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.1552, allocations: 19.94 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1554, allocations: 67.98 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.1555, allocations: 151.4 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.1557, allocations: 206.3 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.1563, allocations: 478.3 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1563, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1563, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1563, allocations: 0 / 485.5 MB, free: 15.56 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.001319/0.1576, allocations: 0.8825 MB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1577, allocations: 8.031 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1578, allocations: 72 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.1584, allocations: 448.1 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1584, allocations: 16.31 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.1585, allocations: 16.12 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.1589, allocations: 197.4 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1589, allocations: 0 / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.159, allocations: 8 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.159, allocations: 4 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.1592, allocations: 91.86 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1603, allocations: 0.8365 MB / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.161, allocations: 254.5 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1612, allocations: 83.53 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1613, allocations: 7.984 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.1618, allocations: 202.2 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.1618, allocations: 0 / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002656/0.1645, allocations: 1.171 MB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.1646, allocations: 140.5 kB / 489.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009964/0.1656, allocations: 0.9613 MB / 490.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.1656, allocations: 41.7 kB / 490.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.1658, allocations: 265 kB / 491.2 MB, free: 9.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.166, allocations: 150.1 kB / 491.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1661, allocations: 74.05 kB / 491.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1662, allocations: 326 kB / 491.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1665, allocations: 112.8 kB / 491.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.1668, allocations: 183.2 kB / 492 MB, free: 8.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.1673, allocations: 327 kB / 492.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1673, allocations: 0 / 492.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007572/0.1681, allocations: 448.5 kB / 492.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1681, allocations: 4 kB / 492.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1681, allocations: 4 kB / 492.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1682, allocations: 4 kB / 492.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.1684, allocations: 83.97 kB / 492.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1685, allocations: 13.16 kB / 492.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1686, allocations: 19.94 kB / 492.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.1687, allocations: 16 kB / 492.9 MB, free: 7.789 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.0003273/0.169, allocations: 255.8 kB / 493.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1691, allocations: 79.05 kB / 493.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.1693, allocations: 93.73 kB / 493.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1693, allocations: 4 kB / 493.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1693, allocations: 0 / 493.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1693, allocations: 7.938 kB / 493.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1711, allocations: 1.338 MB / 494.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1711, allocations: 0 / 494.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1712, allocations: 59.91 kB / 494.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1712, allocations: 4 kB / 494.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1713, allocations: 20.23 kB / 494.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.1713, allocations: 15.94 kB / 494.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1713, allocations: 3.984 kB / 494.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.1723, allocations: 0.786 MB / 495.6 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.1725, allocations: 176.2 kB / 495.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.1726, allocations: 19.98 kB / 495.8 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1728, allocations: 19.98 kB / 495.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.173, allocations: 47.83 kB / 495.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.173, allocations: 24 kB / 495.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.1737, allocations: 0.6985 MB / 496.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1738, allocations: 0 / 496.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.1743, allocations: 95.94 kB / 496.6 MB, free: 3.902 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.001236/0.1755, allocations: 0.5144 MB / 497.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.1762, allocations: 331.5 kB / 497.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1762, allocations: 0 / 497.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.1765, allocations: 168.3 kB / 497.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.1775, allocations: 137.5 kB / 497.8 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1794, allocations: 1.387 MB / 499.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.18, allocations: 0.9172 MB / 0.4884 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.1802, allocations: 83.28 kB / 0.4884 GB, free: 496 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1803, allocations: 55.42 kB / 0.4885 GB, free: 440 kB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1803, allocations: 0 / 0.4885 GB, free: 440 kB / 366.1 MB Notification: Performance of Templates: time 0.01064/0.191, allocations: 5.391 MB / 0.4937 GB, free: 11.09 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches