Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, 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.2435/0.2435, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 75.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1629, allocations: 62.44 MB / 481.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004288/0.1673, allocations: 1.661 MB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1687, allocations: 0.5727 MB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1688, allocations: 0 / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007568/0.1696, allocations: 459.1 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.1702, allocations: 299.3 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.1707, allocations: 179.3 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.171, allocations: 175.6 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1712, allocations: 16 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1713, allocations: 115.8 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1716, allocations: 207.6 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1716, allocations: 4 kB / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1717, allocations: 31.92 kB / 485.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1719, allocations: 91.61 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.172, allocations: 103 kB / 485.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.1724, allocations: 263 kB / 485.6 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1724, allocations: 0 / 485.6 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1724, allocations: 4 kB / 485.6 MB, free: 388 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.1724, allocations: 0 / 485.6 MB, free: 388 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009542/0.1734, allocations: 0.6375 MB / 486.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1734, allocations: 8.031 kB / 486.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.1735, allocations: 44.38 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1739, allocations: 300.1 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.174, allocations: 8.359 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.174, allocations: 4.359 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1742, allocations: 65.75 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1742, allocations: 0 / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1743, allocations: 3.984 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1743, allocations: 0 / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1744, allocations: 27.98 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.175, allocations: 392.7 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1752, allocations: 50.56 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1753, allocations: 16.94 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1753, allocations: 0 / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1753, allocations: 30.56 kB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1753, allocations: 0 / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006946/0.176, allocations: 247.8 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1761, allocations: 55.41 kB / 487.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.177, allocations: 0.8698 MB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.177, allocations: 25.7 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1772, allocations: 232 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1772, allocations: 7.812 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.1773, allocations: 17.72 kB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.1775, allocations: 370.7 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.1776, allocations: 23.98 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.1776, allocations: 19.98 kB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1778, allocations: 56.81 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1778, allocations: 192 / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002169/0.178, allocations: 121.1 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.178, allocations: 4 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1781, allocations: 4 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1781, allocations: 4 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.1782, allocations: 15.92 kB / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1782, allocations: 0 / 489.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.1782, allocations: 15.86 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1783, allocations: 0 / 489.2 MB, free: 12.52 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 (5): * Single equations (assignments): 5 * 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.0002021/0.1785, allocations: 213.8 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.1785, allocations: 39.44 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1788, allocations: 149.1 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.1789, allocations: 0 / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1789, allocations: 7.922 kB / 489.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1789, allocations: 3.938 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.1795, allocations: 466.5 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1795, allocations: 7.984 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1796, allocations: 12 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1796, allocations: 0 / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1796, allocations: 3.938 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1796, allocations: 4 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1797, allocations: 0 / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1799, allocations: 214.9 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.18, allocations: 116.9 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1801, allocations: 7.938 kB / 490.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.1802, allocations: 8 kB / 490.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1802, allocations: 3.984 kB / 490.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1802, allocations: 4.281 kB / 490.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006069/0.1808, allocations: 0.6511 MB / 491.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1808, allocations: 0 / 491.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1811, allocations: 23.91 kB / 491.1 MB, free: 10.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001091/0.1822, allocations: 406.3 kB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1824, allocations: 55.89 kB / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1825, allocations: 0 / 491.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.1825, allocations: 27.98 kB / 491.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.183, allocations: 33.8 kB / 491.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1841, allocations: 0.7918 MB / 492.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.1846, allocations: 0.8299 MB / 493.3 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.1846, allocations: 19.98 kB / 493.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.1847, allocations: 15.44 kB / 493.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1847, allocations: 0 / 493.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of Templates: time 0.005511/0.1902, allocations: 1.489 MB / 494.8 MB, free: 6.926 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches