Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009952/0.0009954, allocations: 100.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 191.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.18 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.000358, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1685, allocations: 63.57 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002887/0.1715, allocations: 1.415 MB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1736, allocations: 0.9389 MB / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.1738, allocations: 0 / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1741, allocations: 39.89 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.1746, allocations: 87.59 kB / 484.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1748, allocations: 55.89 kB / 485 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1751, allocations: 87.69 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1752, allocations: 15.98 kB / 485.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1753, allocations: 35.8 kB / 485.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1755, allocations: 35.84 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1755, allocations: 4 kB / 485.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1756, allocations: 39.92 kB / 485.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1757, allocations: 19.91 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.1758, allocations: 41.64 kB / 485.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.176, allocations: 84.09 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.176, allocations: 0 / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.176, allocations: 0 / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.176, allocations: 0 / 485.3 MB, free: 1.594 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.0006507/0.1767, allocations: 414.8 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1767, allocations: 8.031 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.1768, allocations: 7.906 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1771, allocations: 214.7 kB / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1771, allocations: 0 / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1772, allocations: 0 / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1774, allocations: 61.61 kB / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1774, allocations: 0 / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1774, allocations: 3.984 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1774, allocations: 0 / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/0.1775, allocations: 27.98 kB / 486 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.178, allocations: 288.9 kB / 486.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1782, allocations: 58.62 kB / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.1783, allocations: 20.84 kB / 486.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1784, allocations: 7.938 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1786, allocations: 67.39 kB / 486.5 MB, free: 276 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1786, allocations: 0 / 486.5 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006797/0.1793, allocations: 177.4 kB / 486.6 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1793, allocations: 51.41 kB / 486.7 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1796, allocations: 210.8 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1797, allocations: 29.7 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.1798, allocations: 108.1 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1798, allocations: 23.7 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.1798, allocations: 4 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.18, allocations: 322.8 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.1801, allocations: 23.98 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.1802, allocations: 37.64 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.921e-05/0.1803, allocations: 23.98 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1803, allocations: 4 kB / 487.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002621/0.1805, allocations: 93.59 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1806, allocations: 6.344 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1806, allocations: 4.062 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1806, allocations: 7.938 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1807, allocations: 19.98 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1808, allocations: 3.938 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.1808, allocations: 4 kB / 487.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1809, allocations: 3.953 kB / 487.6 MB, free: 15.08 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.181, allocations: 137.8 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1811, allocations: 11.81 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.1811, allocations: 21.39 kB / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1811, allocations: 0 / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1811, allocations: 0 / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1812, allocations: 0 / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.1818, allocations: 399.3 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1818, allocations: 0 / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.1818, allocations: 15.92 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1819, allocations: 4 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1819, allocations: 0 / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1819, allocations: 0 / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.1819, allocations: 7.953 kB / 488.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1822, allocations: 204.4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.1823, allocations: 93 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1823, allocations: 3.938 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1824, allocations: 4 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.1825, allocations: 7.938 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1825, allocations: 8 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1827, allocations: 156.3 kB / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.075e-06/0.1827, allocations: 0 / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.1832, allocations: 31.92 kB / 488.7 MB, free: 13.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.1845, allocations: 454.3 kB / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1847, allocations: 55.98 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1847, allocations: 4.062 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.1849, allocations: 31.91 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.1854, allocations: 30.97 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.1861, allocations: 258.2 kB / 489.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.1865, allocations: 0.716 MB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.29e-05/0.1866, allocations: 12.83 kB / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.1866, allocations: 19.42 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1866, allocations: 4 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.006261/0.1929, allocations: 1.596 MB / 491.8 MB, free: 10.83 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches