Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 116 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.001121, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3083/0.3083, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 81.14 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1657, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003806/0.1695, allocations: 1.781 MB / 481.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1716, allocations: 1.017 MB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1717, allocations: 4 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.1722, allocations: 43.88 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1727, allocations: 87.69 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1729, allocations: 67.86 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1732, allocations: 107.7 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1733, allocations: 8 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1735, allocations: 47.72 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1736, allocations: 39.78 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1736, allocations: 4 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1737, allocations: 43.97 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.1738, allocations: 27.92 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.1739, allocations: 51.61 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1742, allocations: 131.8 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1742, allocations: 3.984 kB / 483 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1742, allocations: 0 / 483 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1742, allocations: 0 / 483 MB, free: 2.141 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.0007248/0.1749, allocations: 446.7 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.175, allocations: 12.03 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.1751, allocations: 8.844 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1754, allocations: 220.9 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1754, allocations: 8.375 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1754, allocations: 4.125 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1756, allocations: 61.61 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1757, allocations: 0 / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1757, allocations: 0 / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1757, allocations: 4 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.1758, allocations: 15.98 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.1763, allocations: 304.9 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1765, allocations: 62.61 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.1765, allocations: 16.86 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1766, allocations: 3.984 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.1768, allocations: 71.39 kB / 484.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1769, allocations: 3.938 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.1775, allocations: 181 kB / 484.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1775, allocations: 55.39 kB / 484.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1778, allocations: 267 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1778, allocations: 29.7 kB / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.1779, allocations: 116.1 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.178, allocations: 19.72 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.178, allocations: 29.7 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.1783, allocations: 330.8 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.1783, allocations: 19.98 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.1784, allocations: 37.64 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1786, allocations: 61.62 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1786, allocations: 0 / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.1788, allocations: 109.4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1788, allocations: 6.656 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1788, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1788, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.179, allocations: 23.98 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.179, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.179, allocations: 11.88 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.179, allocations: 3.984 kB / 485.4 MB, free: 15.41 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.0001283/0.1792, allocations: 144.5 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.1792, allocations: 15.81 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.1793, allocations: 21.39 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1793, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1793, allocations: 384 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1793, allocations: 3.938 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1799, allocations: 411.3 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1799, allocations: 0 / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1799, allocations: 12.03 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1799, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1799, allocations: 11.92 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.18, allocations: 4 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.18, allocations: 0 / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1802, allocations: 204.4 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.1803, allocations: 88.92 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1804, allocations: 19.88 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.1805, allocations: 3.984 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1805, allocations: 4 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1806, allocations: 4 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.1808, allocations: 208.4 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1808, allocations: 4.188 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.181, allocations: 20 kB / 486.6 MB, free: 14.15 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.00115/0.1822, allocations: 452.7 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1824, allocations: 63.89 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1824, allocations: 0 / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.1825, allocations: 35.92 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1829, allocations: 31.98 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.1836, allocations: 323.6 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.184, allocations: 0.7197 MB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.1841, allocations: 17.12 kB / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1841, allocations: 23.42 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1841, allocations: 0 / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.007047/0.1912, allocations: 1.742 MB / 490 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches