Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.711/1.711, allocations: 227.4 MB / 247.1 MB, free: 9.004 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.1 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 76.14 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1609, allocations: 62.46 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003966/0.1649, allocations: 1.879 MB / 482 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1668, allocations: 1.084 MB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.167, allocations: 0 / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.1675, allocations: 299.4 kB / 483.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005627/0.1682, allocations: 231.4 kB / 483.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1685, allocations: 87.84 kB / 483.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.1689, allocations: 259.3 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.319e-05/0.1689, allocations: 9.688 kB / 484 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1691, allocations: 135.5 kB / 484.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.1694, allocations: 196 kB / 484.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1694, allocations: 11.98 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1696, allocations: 51.92 kB / 484.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1697, allocations: 136.5 kB / 484.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.1699, allocations: 146.8 kB / 484.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1702, allocations: 283.9 kB / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1702, allocations: 0 / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1702, allocations: 3.984 kB / 484.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1702, allocations: 0 / 484.9 MB, free: 0.7812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009628/0.1712, allocations: 0.7268 MB / 485.7 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.1713, allocations: 12.08 kB / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1714, allocations: 52.22 kB / 485.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.172, allocations: 447.8 kB / 486.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.172, allocations: 12.34 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.172, allocations: 8.125 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.1722, allocations: 83.31 kB / 486.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1723, allocations: 0 / 486.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1723, allocations: 7.938 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1723, allocations: 3.984 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1724, allocations: 23.98 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1728, allocations: 374.4 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1731, allocations: 109.2 kB / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1733, allocations: 49.64 kB / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1733, allocations: 0 / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.1736, allocations: 113 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1736, allocations: 3.938 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005004/0.1741, allocations: 196.9 kB / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1742, allocations: 81.11 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1753, allocations: 1.022 MB / 488.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1753, allocations: 29.7 kB / 488.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1755, allocations: 232.1 kB / 488.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.1756, allocations: 35.62 kB / 488.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.1756, allocations: 21.72 kB / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1758, allocations: 370.8 kB / 488.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.1759, allocations: 31.98 kB / 488.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.176, allocations: 63.03 kB / 489 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1762, allocations: 79.36 kB / 489.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1762, allocations: 4 kB / 489.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003309/0.1766, allocations: 181.4 kB / 489.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1766, allocations: 4 kB / 489.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1766, allocations: 4 kB / 489.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1766, allocations: 0 / 489.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1767, allocations: 19.98 kB / 489.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1767, allocations: 4 kB / 489.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1769, allocations: 11.91 kB / 489.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1769, allocations: 12.06 kB / 489.3 MB, free: 12.12 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.1771, allocations: 221.6 kB / 489.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.1772, allocations: 47.44 kB / 489.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/0.1773, allocations: 64.09 kB / 489.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1773, allocations: 0 / 489.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1773, allocations: 0 / 489.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1773, allocations: 0 / 489.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1777, allocations: 349.2 kB / 490 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1777, allocations: 3.938 kB / 490 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.1777, allocations: 15.98 kB / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.1777, allocations: 0 / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1777, allocations: 4 kB / 490 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1777, allocations: 0 / 490 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1778, allocations: 0 / 490 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.1781, allocations: 209.1 kB / 490.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1783, allocations: 128.5 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.1783, allocations: 19.92 kB / 490.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.1784, allocations: 4 kB / 490.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1785, allocations: 11.92 kB / 490.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1785, allocations: 8 kB / 490.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008193/0.1793, allocations: 0.7643 MB / 491.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1793, allocations: 0 / 491.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1796, allocations: 44 kB / 491.2 MB, free: 10.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: 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 (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.001033/0.1807, allocations: 402.6 kB / 491.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.181, allocations: 87.89 kB / 491.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.181, allocations: 0 / 491.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1811, allocations: 39.92 kB / 491.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1815, allocations: 69.44 kB / 491.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1831, allocations: 0.9856 MB / 492.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.1836, allocations: 0.8581 MB / 493.6 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/0.1837, allocations: 27.42 kB / 493.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1837, allocations: 3.938 kB / 493.6 MB, free: 7.758 MB / 366.1 MB Notification: Performance of Templates: time 0.008923/0.1926, allocations: 5.054 MB / 498.7 MB, free: 2.711 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches