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.00109/0.00109, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 210.4 kB / 18.58 MB, free: 4.535 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 / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 76.31 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1399, allocations: 62.44 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004061/0.144, allocations: 2.044 MB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1461, allocations: 1.13 MB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1463, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.1468, allocations: 267.1 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.1473, allocations: 259 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1487, allocations: 0.6562 MB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.1491, allocations: 347.1 kB / 484.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1493, allocations: 68.72 kB / 484.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1495, allocations: 147.4 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1498, allocations: 215.2 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.1498, allocations: 8 kB / 485.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.15, allocations: 75.91 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1501, allocations: 99.67 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.1504, allocations: 123.1 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.1508, allocations: 334.9 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1508, allocations: 0 / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1508, allocations: 0 / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1508, allocations: 0 / 485.7 MB, free: 15.55 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.0008742/0.1517, allocations: 0.6573 MB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1517, allocations: 9.109 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.1518, allocations: 40.47 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1522, allocations: 341.9 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1523, allocations: 8.375 kB / 486.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.1523, allocations: 12.38 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.1526, allocations: 121.8 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1526, allocations: 0 / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1526, allocations: 12 kB / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1526, allocations: 0 / 486.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1528, allocations: 99.84 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.1536, allocations: 0.5003 MB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1539, allocations: 118.5 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.154, allocations: 36.84 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.154, allocations: 3.984 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.154, allocations: 34.56 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.154, allocations: 0 / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00102/0.1551, allocations: 454.2 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.1551, allocations: 55.34 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/0.156, allocations: 0.5681 MB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.156, allocations: 33.69 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.1563, allocations: 208.3 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1563, allocations: 55.17 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1565, allocations: 33.7 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002942/0.1568, allocations: 354.8 kB / 489.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1569, allocations: 63.95 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1571, allocations: 67.95 kB / 489.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.1574, allocations: 158.7 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1574, allocations: 3.938 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004136/0.1578, allocations: 225.1 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1578, allocations: 11.94 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1578, allocations: 0 / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1579, allocations: 4 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.158, allocations: 35.97 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.158, allocations: 4 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.1581, allocations: 7.938 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1581, allocations: 7.984 kB / 490 MB, free: 11.04 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.0001735/0.1583, allocations: 181.7 kB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.1584, allocations: 47.44 kB / 490.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.159, allocations: 280 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.159, allocations: 0 / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.159, allocations: 0 / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.159, allocations: 4 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1601, allocations: 0.6778 MB / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1601, allocations: 0 / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.1602, allocations: 35.92 kB / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1602, allocations: 0 / 491.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1603, allocations: 11.98 kB / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1603, allocations: 0 / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1603, allocations: 3.938 kB / 491.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.1608, allocations: 341.3 kB / 491.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1608, allocations: 104.6 kB / 491.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1609, allocations: 0 / 491.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.161, allocations: 11.98 kB / 491.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.1611, allocations: 15.92 kB / 491.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1611, allocations: 4 kB / 491.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005337/0.1616, allocations: 435.1 kB / 492.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1616, allocations: 0 / 492.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1619, allocations: 48 kB / 492.2 MB, free: 8.762 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.001668/0.1636, allocations: 0.692 MB / 492.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.1642, allocations: 171.8 kB / 493.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1642, allocations: 4 kB / 493.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.1645, allocations: 99.78 kB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.1651, allocations: 81.05 kB / 493.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1664, allocations: 0.7239 MB / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.167, allocations: 0.8299 MB / 494.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1671, allocations: 61.89 kB / 494.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.1672, allocations: 35.42 kB / 494.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1672, allocations: 0 / 494.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of Templates: time 0.007543/0.1748, allocations: 3.359 MB / 498.3 MB, free: 2.965 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