Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 118 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 76.28 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 62.45 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004977/0.1578, allocations: 2.097 MB / 481.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1601, allocations: 1.103 MB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.1604, allocations: 0 / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.1612, allocations: 251.4 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008157/0.1621, allocations: 243.3 kB / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.1638, allocations: 0.6102 MB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.1644, allocations: 347.1 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.1647, allocations: 76.7 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.1649, allocations: 155.3 kB / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.1653, allocations: 215.2 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.1653, allocations: 12 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1656, allocations: 71.92 kB / 484.6 MB, free: 440 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1657, allocations: 103.7 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1659, allocations: 126.9 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.1664, allocations: 331 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1664, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1664, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1664, allocations: 4 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00095/0.1674, allocations: 0.6572 MB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1674, allocations: 9.109 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1676, allocations: 40.47 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.168, allocations: 334 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.168, allocations: 8.375 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1681, allocations: 16.36 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.1684, allocations: 121.8 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1684, allocations: 4 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.1684, allocations: 8 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1684, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1686, allocations: 95.86 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.1694, allocations: 0.508 MB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1696, allocations: 106.5 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.1697, allocations: 40.84 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1698, allocations: 3.984 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1698, allocations: 34.56 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1698, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001136/0.1709, allocations: 462.2 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.171, allocations: 51.41 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.1717, allocations: 0.572 MB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1717, allocations: 29.7 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1719, allocations: 204.4 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.172, allocations: 51.17 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.1721, allocations: 41.7 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1722, allocations: 350.8 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1724, allocations: 63.95 kB / 489 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1725, allocations: 67.95 kB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1728, allocations: 160.7 kB / 489.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1728, allocations: 7.875 kB / 489.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004087/0.1732, allocations: 235.2 kB / 489.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1733, allocations: 4 kB / 489.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1733, allocations: 4 kB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.1733, allocations: 4 kB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1735, allocations: 31.97 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1735, allocations: 4 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.1736, allocations: 15.88 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1736, allocations: 7.984 kB / 489.5 MB, free: 11.35 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 (17): * Single equations (assignments): 17 * 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.0001832/0.1738, allocations: 185.7 kB / 489.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.1739, allocations: 43.44 kB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.1744, allocations: 273.6 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1744, allocations: 0 / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1744, allocations: 0 / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1744, allocations: 4 kB / 490 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.1754, allocations: 0.6794 MB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1754, allocations: 0 / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1755, allocations: 35.92 kB / 490.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1755, allocations: 0 / 490.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1755, allocations: 11.98 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1756, allocations: 0 / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1756, allocations: 7.938 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.176, allocations: 333.6 kB / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1761, allocations: 104.6 kB / 491.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1762, allocations: 0 / 491.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.1763, allocations: 11.98 kB / 491.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.1763, allocations: 19.91 kB / 491.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1764, allocations: 11.94 kB / 491.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004561/0.1768, allocations: 431.1 kB / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1768, allocations: 0 / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.1772, allocations: 44 kB / 491.6 MB, free: 9.078 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 (17): * Single equations (assignments): 17 * 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.001725/0.1789, allocations: 0.6908 MB / 492.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.1794, allocations: 175.8 kB / 492.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1794, allocations: 0 / 492.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.1796, allocations: 98.44 kB / 492.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.1802, allocations: 84.42 kB / 492.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1815, allocations: 0.8383 MB / 493.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.182, allocations: 0.8221 MB / 494.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1821, allocations: 65.83 kB / 494.4 MB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.1822, allocations: 31.42 kB / 494.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1822, allocations: 0 / 494.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of Templates: time 0.008377/0.1906, allocations: 3.327 MB / 497.8 MB, free: 3.203 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches