Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.211/2.211, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3524/0.3524, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 81.78 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.159, allocations: 62.45 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004935/0.164, allocations: 1.785 MB / 481.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1669, allocations: 1.021 MB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.167, allocations: 0 / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.1675, allocations: 59.8 kB / 482.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.168, allocations: 87.67 kB / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1683, allocations: 55.88 kB / 483 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1686, allocations: 107.7 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1687, allocations: 8 kB / 483.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1689, allocations: 47.77 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.169, allocations: 31.8 kB / 483.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.169, allocations: 4 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1692, allocations: 43.97 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.1693, allocations: 31.84 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.1694, allocations: 47.62 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1697, allocations: 100.1 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1697, allocations: 0 / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1697, allocations: 4 kB / 483.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1697, allocations: 0 / 483.4 MB, free: 2.27 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.0008183/0.1705, allocations: 438.7 kB / 483.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1706, allocations: 12.88 kB / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.1707, allocations: 8.844 kB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.171, allocations: 228.8 kB / 484 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1711, allocations: 12.3 kB / 484.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1711, allocations: 4.125 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1714, allocations: 57.67 kB / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1714, allocations: 0 / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1714, allocations: 0 / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1715, allocations: 4 kB / 484.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1716, allocations: 15.98 kB / 484.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.1722, allocations: 296.9 kB / 484.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1725, allocations: 62.62 kB / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1726, allocations: 20.84 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1726, allocations: 0 / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.1729, allocations: 67.39 kB / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.235e-06/0.173, allocations: 0 / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.174, allocations: 189.2 kB / 484.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1741, allocations: 55.41 kB / 484.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.1746, allocations: 267 kB / 485.1 MB, free: 380 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1747, allocations: 29.7 kB / 485.1 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1748, allocations: 116.1 kB / 485.2 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.1749, allocations: 23.7 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.175, allocations: 21.72 kB / 485.3 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1752, allocations: 334.7 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1753, allocations: 32.05 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1755, allocations: 33.7 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1757, allocations: 61.77 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1758, allocations: 0 / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003595/0.1761, allocations: 109.4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1762, allocations: 4 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1762, allocations: 0 / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1762, allocations: 4.031 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1764, allocations: 19.98 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1764, allocations: 0 / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.1765, allocations: 15.81 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1765, allocations: 3.984 kB / 485.9 MB, free: 15.54 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.0001751/0.1767, allocations: 137.1 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.1768, allocations: 19.8 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.1769, allocations: 21.41 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1769, allocations: 7.938 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1769, allocations: 0 / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1769, allocations: 3.938 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.1777, allocations: 403.3 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1777, allocations: 0 / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.1778, allocations: 11.98 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1778, allocations: 0 / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.1779, allocations: 3.938 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1779, allocations: 8.031 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1779, allocations: 0 / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.1783, allocations: 208.1 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.1784, allocations: 88.92 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.1785, allocations: 11.92 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1786, allocations: 0 / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.1787, allocations: 8 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.1788, allocations: 11.98 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.1791, allocations: 204.4 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1791, allocations: 192 / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.1797, allocations: 23.98 kB / 487 MB, free: 14.29 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.001985/0.1817, allocations: 463.4 kB / 487.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.182, allocations: 55.92 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.182, allocations: 0 / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1822, allocations: 36.08 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.1829, allocations: 32.05 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.1838, allocations: 351.3 kB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.1843, allocations: 0.72 MB / 488.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.1844, allocations: 19.42 kB / 488.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1844, allocations: 0 / 488.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.006985/0.1914, allocations: 2.091 MB / 490.8 MB, free: 10.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches