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.000945/0.000945, allocations: 114.7 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.001035/0.001035, allocations: 200.6 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.301/1.301, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.81 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 62.43 MB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004387/0.1536, allocations: 2.043 MB / 483.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1555, allocations: 1.13 MB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.1556, allocations: 3.938 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.1561, allocations: 267.1 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.1566, allocations: 259.1 kB / 485.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.158, allocations: 0.6449 MB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.1584, allocations: 355.1 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.1587, allocations: 80.7 kB / 486.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1589, allocations: 143.5 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1591, allocations: 219.2 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1592, allocations: 8 kB / 486.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1593, allocations: 71.98 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1595, allocations: 107.6 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1596, allocations: 123 kB / 486.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.16, allocations: 330.7 kB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.16, allocations: 4 kB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.16, allocations: 0 / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1601, allocations: 0 / 487.2 MB, free: 14.77 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.0008726/0.1609, allocations: 0.6611 MB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.161, allocations: 9.109 kB / 487.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.1611, allocations: 40.47 kB / 487.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.1615, allocations: 330 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1615, allocations: 8.375 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1616, allocations: 20.3 kB / 488.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.1619, allocations: 121.8 kB / 488.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1619, allocations: 4 kB / 488.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1619, allocations: 7.938 kB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1619, allocations: 8 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1621, allocations: 95.8 kB / 488.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007313/0.1629, allocations: 0.5003 MB / 489 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1631, allocations: 106.5 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.1632, allocations: 40.84 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.1632, allocations: 4 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1633, allocations: 38.5 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1633, allocations: 0 / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001072/0.1644, allocations: 444.4 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1644, allocations: 51.41 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.1651, allocations: 0.5798 MB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1651, allocations: 25.7 kB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1653, allocations: 208.4 kB / 490.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.1654, allocations: 55.17 kB / 490.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.1654, allocations: 33.7 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1656, allocations: 354.8 kB / 490.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1658, allocations: 63.95 kB / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1659, allocations: 70.3 kB / 491 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1662, allocations: 156.7 kB / 491.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1662, allocations: 3.938 kB / 491.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003866/0.1666, allocations: 235.5 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1666, allocations: 4 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1666, allocations: 0 / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1667, allocations: 4 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1668, allocations: 35.97 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1668, allocations: 4 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.1669, allocations: 11.94 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1669, allocations: 4 kB / 491.5 MB, free: 10.26 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.000204/0.1672, allocations: 185.7 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.1672, allocations: 43.44 kB / 491.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.1678, allocations: 273.6 kB / 492 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1678, allocations: 4 kB / 492 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.1678, allocations: 4 kB / 492 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1678, allocations: 3.984 kB / 492 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.1687, allocations: 0.6815 MB / 492.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1688, allocations: 0 / 492.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1689, allocations: 35.92 kB / 492.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1689, allocations: 0 / 492.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1689, allocations: 12 kB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1689, allocations: 4 kB / 492.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1689, allocations: 3.938 kB / 492.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.1694, allocations: 333.1 kB / 493 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1695, allocations: 104.7 kB / 493.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1695, allocations: 4 kB / 493.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1696, allocations: 8 kB / 493.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1697, allocations: 15.92 kB / 493.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1697, allocations: 7.984 kB / 493.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.1701, allocations: 423.1 kB / 493.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1701, allocations: 4 kB / 493.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1704, allocations: 55.89 kB / 493.6 MB, free: 7.973 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.001699/0.1721, allocations: 0.6902 MB / 494.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.1725, allocations: 163.8 kB / 494.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1725, allocations: 0 / 494.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1726, allocations: 91.89 kB / 494.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.1732, allocations: 86.64 kB / 494.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1742, allocations: 0.7133 MB / 495.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.1747, allocations: 0.8377 MB / 496.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.1748, allocations: 57.91 kB / 496.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1749, allocations: 31.42 kB / 496.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1749, allocations: 0 / 496.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of Templates: time 0.007017/0.1819, allocations: 3.363 MB / 499.7 MB, free: 2.191 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches