Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, 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.001209/0.00121, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 81.98 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1637, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003795/0.1675, allocations: 1.728 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1695, allocations: 1.029 MB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.1696, allocations: 4 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.17, allocations: 43.75 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.1703, allocations: 87.61 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1706, allocations: 83.66 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1708, allocations: 95.7 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1709, allocations: 23.98 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.171, allocations: 39.78 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.1711, allocations: 35.8 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1712, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1713, allocations: 47.91 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.1714, allocations: 19.92 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.1715, allocations: 31.75 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1717, allocations: 119.9 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1717, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1717, allocations: 4 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1717, allocations: 4 kB / 483.5 MB, free: 1.793 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.0006864/0.1724, allocations: 414.9 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1725, allocations: 12.03 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.1726, allocations: 12.83 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1729, allocations: 215.9 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1729, allocations: 8.359 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1729, allocations: 8.125 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1731, allocations: 57.67 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1731, allocations: 7.922 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1732, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1732, allocations: 4 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.1732, allocations: 15.98 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1737, allocations: 288.8 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1739, allocations: 62.67 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.174, allocations: 16.86 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.174, allocations: 0 / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.1743, allocations: 71.33 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1743, allocations: 0 / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006205/0.1749, allocations: 177.1 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.175, allocations: 63.34 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.1753, allocations: 206.4 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1753, allocations: 25.7 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.1754, allocations: 104.1 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1755, allocations: 19.72 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.1755, allocations: 25.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1757, allocations: 326.8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.1758, allocations: 20 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.1758, allocations: 42.02 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.176, allocations: 65.64 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.176, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1762, allocations: 101.4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.1762, allocations: 11.98 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1763, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1763, allocations: 4.031 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1764, allocations: 15.94 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1764, allocations: 4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1765, allocations: 7.938 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1765, allocations: 7.984 kB / 485.9 MB, free: 15.18 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.0001321/0.1766, allocations: 124.2 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1766, allocations: 11.91 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.1767, allocations: 21.39 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1767, allocations: 4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1767, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1767, allocations: 3.938 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.1773, allocations: 395.4 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1773, allocations: 0 / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1773, allocations: 11.94 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1774, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1774, allocations: 7.938 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1774, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1774, allocations: 7.969 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1776, allocations: 204.5 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1778, allocations: 92.91 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1778, allocations: 3.938 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1779, allocations: 8 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.1779, allocations: 7.984 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1779, allocations: 8 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1781, allocations: 156.8 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1781, allocations: 0 / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1784, allocations: 24 kB / 487 MB, free: 14 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.001754/0.1802, allocations: 464.1 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1804, allocations: 55.98 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1804, allocations: 0 / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.1805, allocations: 31.92 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1808, allocations: 31.97 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.1814, allocations: 239.1 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1819, allocations: 0.7158 MB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.247e-05/0.1819, allocations: 17.12 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.182, allocations: 19.42 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.182, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.005349/0.1874, allocations: 1.734 MB / 490.2 MB, free: 10.83 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches