Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002204/0.002204, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 75.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1539, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003394/0.1574, allocations: 1.67 MB / 483.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1585, allocations: 0.5883 MB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.1586, allocations: 0 / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.1592, allocations: 463.1 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.1597, allocations: 299.2 kB / 484.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1602, allocations: 171.5 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1605, allocations: 183.6 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1606, allocations: 28.22 kB / 484.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1608, allocations: 111.7 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.161, allocations: 219.6 kB / 485.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1611, allocations: 4 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1612, allocations: 51.97 kB / 485.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1613, allocations: 87.62 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1614, allocations: 110.9 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1618, allocations: 278.9 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1618, allocations: 3.938 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1618, allocations: 0 / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1618, allocations: 0 / 485.7 MB, free: 292 kB / 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.000938/0.1628, allocations: 0.657 MB / 486.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1628, allocations: 8.031 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.1629, allocations: 44.38 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.1633, allocations: 300.1 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1634, allocations: 4.375 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.1634, allocations: 8.359 kB / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1637, allocations: 69.78 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1637, allocations: 0 / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1637, allocations: 0 / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1637, allocations: 8 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1639, allocations: 43.91 kB / 486.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/0.1647, allocations: 424.5 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.165, allocations: 62.58 kB / 487.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.1651, allocations: 28.97 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1651, allocations: 0 / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1652, allocations: 34.56 kB / 487.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1652, allocations: 0 / 487.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001585/0.1668, allocations: 499.5 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1668, allocations: 59.34 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.1678, allocations: 0.8614 MB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1678, allocations: 29.7 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.168, allocations: 219.9 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.1681, allocations: 31.55 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1681, allocations: 25.7 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1683, allocations: 366.7 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1684, allocations: 51.95 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1686, allocations: 59.95 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.1688, allocations: 125 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1688, allocations: 0 / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003467/0.1692, allocations: 201 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1692, allocations: 4 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1692, allocations: 0 / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1693, allocations: 7.938 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1694, allocations: 35.86 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1694, allocations: 0 / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.1695, allocations: 7.984 kB / 489.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1695, allocations: 8 kB / 489.9 MB, free: 11.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.1697, allocations: 221.8 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.1698, allocations: 43.44 kB / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.1702, allocations: 241.8 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1703, allocations: 3.938 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1703, allocations: 4 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1703, allocations: 0 / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.1711, allocations: 0.6015 MB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1711, allocations: 3.938 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.1712, allocations: 23.98 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1712, allocations: 4.062 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1713, allocations: 4 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1713, allocations: 0 / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1713, allocations: 0 / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.1717, allocations: 316.5 kB / 491.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1718, allocations: 112.5 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.1718, allocations: 8 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1719, allocations: 7.984 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.172, allocations: 12 kB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.172, allocations: 0 / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006406/0.1727, allocations: 0.655 MB / 492.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1727, allocations: 0 / 492.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1729, allocations: 32 kB / 492.2 MB, free: 9.434 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 (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.001199/0.1742, allocations: 452.5 kB / 492.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.1745, allocations: 139.8 kB / 492.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1746, allocations: 0 / 492.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1747, allocations: 71.89 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.1752, allocations: 33.8 kB / 492.9 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1765, allocations: 0.8713 MB / 493.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.1771, allocations: 0.8377 MB / 494.6 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.742e-05/0.1772, allocations: 36.7 kB / 494.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.1772, allocations: 15.44 kB / 494.6 MB, free: 7.094 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1772, allocations: 3.938 kB / 494.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of Templates: time 0.005466/0.1827, allocations: 1.936 MB / 496.6 MB, free: 5.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches