Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 115.8 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.001141/0.001141, allocations: 199.5 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.279/1.279, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 72.45 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1474, allocations: 62.45 MB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004038/0.1515, allocations: 1.938 MB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1533, allocations: 1.087 MB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1534, allocations: 8 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.1539, allocations: 271.1 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.1544, allocations: 255.1 kB / 485 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1557, allocations: 0.6411 MB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.156, allocations: 323.1 kB / 486 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1562, allocations: 52.72 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1564, allocations: 139.4 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1566, allocations: 199.3 kB / 486.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1567, allocations: 8 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1568, allocations: 55.92 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1569, allocations: 87.73 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.157, allocations: 119 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1573, allocations: 290.9 kB / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1573, allocations: 0 / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1573, allocations: 0 / 486.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1573, allocations: 3.938 kB / 486.9 MB, free: 15.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000687/0.158, allocations: 0.63 MB / 487.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1581, allocations: 12.03 kB / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.1582, allocations: 36.47 kB / 487.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.1585, allocations: 322.1 kB / 487.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1586, allocations: 4.375 kB / 487.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1586, allocations: 12.31 kB / 487.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1588, allocations: 93.77 kB / 488 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1588, allocations: 0 / 488 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.1589, allocations: 8 kB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1589, allocations: 4 kB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1591, allocations: 78.5 kB / 488.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.1597, allocations: 452.5 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1599, allocations: 78.47 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.16, allocations: 32.97 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.16, allocations: 4 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1601, allocations: 34.56 kB / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1601, allocations: 0 / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003797/0.1605, allocations: 153.2 kB / 488.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1605, allocations: 63.28 kB / 488.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.1611, allocations: 0.5683 MB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1611, allocations: 29.7 kB / 489.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1613, allocations: 200 kB / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1613, allocations: 19.75 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.1614, allocations: 21.66 kB / 489.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1615, allocations: 354.8 kB / 490.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.1616, allocations: 27.98 kB / 490.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.1616, allocations: 19.98 kB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1618, allocations: 69.19 kB / 490.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1618, allocations: 8 kB / 490.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001995/0.162, allocations: 125.2 kB / 490.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.162, allocations: 4 kB / 490.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.162, allocations: 7.922 kB / 490.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1621, allocations: 0 / 490.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1622, allocations: 15.94 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1622, allocations: 0 / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.1622, allocations: 7.906 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1623, allocations: 3.984 kB / 490.3 MB, free: 11.44 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 (6): * Single equations (assignments): 6 * 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.0001555/0.1624, allocations: 173.8 kB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.1625, allocations: 35.53 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.1628, allocations: 160.9 kB / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1628, allocations: 7.875 kB / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1628, allocations: 0 / 490.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1628, allocations: 7.984 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.1631, allocations: 289.5 kB / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1631, allocations: 0 / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.1632, allocations: 11.98 kB / 491 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1632, allocations: 8 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1632, allocations: 0 / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1632, allocations: 3.938 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1632, allocations: 0 / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1635, allocations: 227 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.1636, allocations: 104.7 kB / 491.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1636, allocations: 192 / 491.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.1637, allocations: 11.94 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.1637, allocations: 7.938 kB / 491.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1637, allocations: 0 / 491.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.1641, allocations: 435.1 kB / 491.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1641, allocations: 0 / 491.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1644, allocations: 31.98 kB / 491.8 MB, free: 9.852 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 (6): * Single equations (assignments): 6 * 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.001463/0.1659, allocations: 0.5841 MB / 492.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1661, allocations: 67.95 kB / 492.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1661, allocations: 0 / 492.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.1662, allocations: 31.92 kB / 492.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.1667, allocations: 72.05 kB / 492.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009561/0.1677, allocations: 0.6348 MB / 493.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1681, allocations: 0.8177 MB / 494 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.964e-05/0.1682, allocations: 45.73 kB / 494.1 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.1683, allocations: 27.38 kB / 494.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1683, allocations: 0 / 494.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of Templates: time 0.006215/0.1745, allocations: 2.735 MB / 496.8 MB, free: 5.031 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches