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.001475/0.001475, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 75.69 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 62.45 MB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004717/0.1491, allocations: 2.043 MB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.1515, allocations: 1.126 MB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1517, allocations: 4 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.1524, allocations: 259.1 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.1531, allocations: 271 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1548, allocations: 0.6481 MB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.1553, allocations: 343.1 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1555, allocations: 80.62 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1557, allocations: 143.5 kB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.156, allocations: 211.2 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1561, allocations: 12 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.1563, allocations: 79.91 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.1565, allocations: 95.67 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1567, allocations: 122.9 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.1572, allocations: 331 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1572, allocations: 4 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1572, allocations: 0 / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1572, allocations: 4 kB / 485.8 MB, free: 15.51 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.0009552/0.1582, allocations: 0.6494 MB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1582, allocations: 13.11 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.1583, allocations: 44.47 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.1588, allocations: 333.9 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1588, allocations: 4.375 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.1589, allocations: 16.36 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1592, allocations: 133.7 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1592, allocations: 0 / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1593, allocations: 4 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1593, allocations: 4 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.1595, allocations: 95.88 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.1603, allocations: 0.5041 MB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1606, allocations: 106.5 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.1607, allocations: 40.83 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1607, allocations: 3.984 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1607, allocations: 34.56 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.1607, allocations: 4 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001113/0.1619, allocations: 443.8 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1619, allocations: 55.41 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.1626, allocations: 0.572 MB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1626, allocations: 29.7 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1628, allocations: 204.4 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.1629, allocations: 63.14 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.163, allocations: 29.72 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1632, allocations: 354.8 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1634, allocations: 67.95 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1635, allocations: 67.95 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1638, allocations: 162.8 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1638, allocations: 7.938 kB / 489.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003877/0.1642, allocations: 229 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1642, allocations: 4 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1643, allocations: 0 / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1643, allocations: 0 / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1645, allocations: 35.98 kB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1645, allocations: 0 / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.1646, allocations: 11.92 kB / 490 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1646, allocations: 12 kB / 490 MB, free: 11 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.000221/0.1648, allocations: 185.7 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.1649, allocations: 43.38 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/0.1655, allocations: 279.8 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1655, allocations: 0 / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1655, allocations: 0 / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1655, allocations: 4 kB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/0.1665, allocations: 0.6778 MB / 491.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1665, allocations: 3.984 kB / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1667, allocations: 35.92 kB / 491.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1667, allocations: 4 kB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1667, allocations: 4 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1667, allocations: 0 / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.1667, allocations: 11.92 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.1672, allocations: 329.5 kB / 491.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.1673, allocations: 108.6 kB / 491.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.1673, allocations: 8 kB / 491.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.1674, allocations: 8 kB / 491.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.1675, allocations: 15.91 kB / 491.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1675, allocations: 8 kB / 491.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.168, allocations: 431 kB / 492.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.168, allocations: 0 / 492.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.1683, allocations: 55.98 kB / 492.2 MB, free: 8.707 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.001887/0.1702, allocations: 0.6785 MB / 492.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.1707, allocations: 175.8 kB / 493.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1707, allocations: 0 / 493.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1709, allocations: 95.8 kB / 493.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.1716, allocations: 78.88 kB / 493.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1729, allocations: 0.729 MB / 494 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.1735, allocations: 0.8338 MB / 494.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.1736, allocations: 53.89 kB / 494.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.1737, allocations: 23.44 kB / 494.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of SimCode: time 5.912e-06/0.1737, allocations: 0 / 494.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of Templates: time 0.008302/0.182, allocations: 3.372 MB / 498.2 MB, free: 2.918 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