Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009802/0.0009801, allocations: 98.53 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.001444/0.001444, allocations: 190.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.473/1.473, allocations: 227.7 MB / 246.4 MB, free: 9.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 8 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 63.56 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003313/0.1653, allocations: 1.37 MB / 483.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1669, allocations: 0.5343 MB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.1671, allocations: 0 / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.1674, allocations: 67.8 kB / 484.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.1678, allocations: 87.77 kB / 484.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.1685, allocations: 162.9 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1687, allocations: 75.81 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1688, allocations: 16.16 kB / 484.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.1689, allocations: 35.84 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1691, allocations: 47.77 kB / 484.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1691, allocations: 4 kB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1692, allocations: 39.98 kB / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.1693, allocations: 27.91 kB / 484.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.1694, allocations: 37.64 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1696, allocations: 87.86 kB / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1696, allocations: 0 / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1696, allocations: 0 / 485 MB, free: 1.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1696, allocations: 7.938 kB / 485 MB, free: 1.926 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007118/0.1704, allocations: 407.2 kB / 485.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1704, allocations: 12.03 kB / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.1705, allocations: 7.906 kB / 485.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1708, allocations: 202.8 kB / 485.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1708, allocations: 0 / 485.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1709, allocations: 8 kB / 485.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.1711, allocations: 69.59 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1712, allocations: 7.906 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1712, allocations: 3.938 kB / 485.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1712, allocations: 4 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.1714, allocations: 51.95 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.1722, allocations: 332.7 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1725, allocations: 62.55 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1726, allocations: 28.97 kB / 486.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1727, allocations: 4 kB / 486.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.1727, allocations: 38.55 kB / 486.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1727, allocations: 4 kB / 486.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002225/0.175, allocations: 0.5046 MB / 486.7 MB, free: 32 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.1751, allocations: 51.41 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1754, allocations: 216 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1754, allocations: 25.7 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.1755, allocations: 108.1 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.1756, allocations: 39.45 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.1756, allocations: 4 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1758, allocations: 322.8 kB / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.176, allocations: 63.89 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1763, allocations: 67.91 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1765, allocations: 67.95 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1765, allocations: 0 / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000544/0.1771, allocations: 181.7 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1771, allocations: 11.98 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1771, allocations: 0 / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1772, allocations: 3.953 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.1773, allocations: 31.98 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1774, allocations: 0 / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1775, allocations: 19.98 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1775, allocations: 0 / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001665/0.1777, allocations: 134.4 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.1778, allocations: 15.84 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.1784, allocations: 211 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1785, allocations: 4 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1785, allocations: 3.953 kB / 488.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1785, allocations: 4 kB / 488.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1796, allocations: 0.5155 MB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.1796, allocations: 8.531 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1798, allocations: 31.94 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1798, allocations: 4 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1798, allocations: 4.062 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.1798, allocations: 8 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1798, allocations: 0 / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.1805, allocations: 288.9 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.1806, allocations: 93 kB / 489.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1806, allocations: 7.953 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.1808, allocations: 15.98 kB / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.1809, allocations: 12 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1809, allocations: 0 / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1811, allocations: 167.5 kB / 489.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1812, allocations: 0 / 489.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.1816, allocations: 24 kB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001774/0.1834, allocations: 460.6 kB / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.184, allocations: 143.8 kB / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.184, allocations: 0 / 490 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.1843, allocations: 75.89 kB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.1849, allocations: 24.3 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.1858, allocations: 363.3 kB / 490.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1862, allocations: 0.7199 MB / 491.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.1864, allocations: 36.52 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.1864, allocations: 19.38 kB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1865, allocations: 0 / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Templates: time 0.006569/0.193, allocations: 1.504 MB / 492.8 MB, free: 9.934 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches