Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, 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.001976/0.001977, 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.377/2.377, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3646/0.3646, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 77.22 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 62.45 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.005309/0.1694, allocations: 1.742 MB / 481.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1722, allocations: 1.002 MB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1724, allocations: 0 / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.1728, allocations: 51.86 kB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.1733, allocations: 87.67 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1736, allocations: 63.88 kB / 482.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.1739, allocations: 95.69 kB / 483 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.337e-05/0.174, allocations: 8.219 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1741, allocations: 47.72 kB / 483 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1743, allocations: 31.84 kB / 483.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1743, allocations: 4 kB / 483.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1745, allocations: 23.94 kB / 483.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.1745, allocations: 31.89 kB / 483.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.1746, allocations: 39.69 kB / 483.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1749, allocations: 104 kB / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1749, allocations: 0 / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1749, allocations: 0 / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1749, allocations: 0 / 483.3 MB, free: 2.375 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007612/0.1757, allocations: 426.8 kB / 483.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1758, allocations: 8.875 kB / 483.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.1758, allocations: 16.75 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1762, allocations: 220.8 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1762, allocations: 12.38 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1763, allocations: 8.109 kB / 483.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1765, allocations: 45.69 kB / 484 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1765, allocations: 0 / 484 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1765, allocations: 3.938 kB / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1765, allocations: 0 / 484 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1766, allocations: 15.98 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.177, allocations: 197.7 kB / 484.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1772, allocations: 50.62 kB / 484.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.1773, allocations: 24.78 kB / 484.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1774, allocations: 0 / 484.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.1777, allocations: 67.33 kB / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.1777, allocations: 0 / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000436/0.1781, allocations: 101.5 kB / 484.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1782, allocations: 55.39 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.1786, allocations: 271 kB / 484.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1787, allocations: 25.7 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.1788, allocations: 112.1 kB / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1788, allocations: 7.906 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.1789, allocations: 21.66 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1791, allocations: 330.8 kB / 485.2 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.1792, allocations: 16 kB / 485.3 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.1793, allocations: 33.64 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1794, allocations: 41.7 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1794, allocations: 4 kB / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002912/0.1797, allocations: 85.38 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1798, allocations: 8 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1798, allocations: 4.031 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1798, allocations: 0 / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.18, allocations: 11.98 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.18, allocations: 7.938 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.1801, allocations: 7.844 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1801, allocations: 4 kB / 485.5 MB, free: 15.94 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 (7): * Single equations (assignments): 7 * 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.0001591/0.1803, allocations: 137.8 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1803, allocations: 7.906 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.1804, allocations: 24.92 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1804, allocations: 4 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1804, allocations: 4.297 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1804, allocations: 0 / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.1807, allocations: 205.5 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1807, allocations: 4 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.1807, allocations: 4 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1808, allocations: 0 / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1808, allocations: 0 / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1808, allocations: 3.984 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1808, allocations: 0 / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1811, allocations: 113 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.1812, allocations: 92.91 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1812, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.1813, allocations: 4 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1814, allocations: 0 / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.1814, allocations: 7.984 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.1817, allocations: 208.3 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1817, allocations: 0 / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.1821, allocations: 24 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001573/0.1837, allocations: 418.1 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.184, allocations: 39.97 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.184, allocations: 0 / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.1841, allocations: 19.94 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1845, allocations: 31.91 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.1854, allocations: 318 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1858, allocations: 0.72 MB / 487.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.1858, allocations: 11.44 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1859, allocations: 4 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of Templates: time 0.006111/0.192, allocations: 1.866 MB / 489.7 MB, free: 11.68 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches