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.0008145/0.0008146, allocations: 96.98 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 194.2 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.18 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002871, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 63.57 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002688/0.1461, allocations: 1.685 MB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1479, allocations: 1.049 MB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.148, allocations: 0 / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.1485, allocations: 251.3 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.1489, allocations: 235.3 kB / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1502, allocations: 0.6017 MB / 486.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.1507, allocations: 291.2 kB / 486.5 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1509, allocations: 60.7 kB / 486.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.151, allocations: 115.5 kB / 486.7 MB, free: 252 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1512, allocations: 175.3 kB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1513, allocations: 4 kB / 486.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1514, allocations: 55.92 kB / 486.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1516, allocations: 91.72 kB / 487 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1517, allocations: 65.45 kB / 487.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.152, allocations: 243.8 kB / 487.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.152, allocations: 0 / 487.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.152, allocations: 0 / 487.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.152, allocations: 0 / 487.3 MB, free: 15.62 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.000854/0.1529, allocations: 0.6106 MB / 487.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1529, allocations: 17.09 kB / 487.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.153, allocations: 39.44 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1534, allocations: 313.1 kB / 488.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1534, allocations: 8 kB / 488.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.1535, allocations: 15.98 kB / 488.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1538, allocations: 129.5 kB / 488.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1538, allocations: 0 / 488.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1538, allocations: 4 kB / 488.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1538, allocations: 7.938 kB / 488.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.154, allocations: 95.88 kB / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.1548, allocations: 0.512 MB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.155, allocations: 102.5 kB / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.1551, allocations: 52.78 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1551, allocations: 4 kB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1551, allocations: 38.5 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.1551, allocations: 0 / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001017/0.1562, allocations: 466.4 kB / 489.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1562, allocations: 55.41 kB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.1568, allocations: 0.5682 MB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1569, allocations: 25.7 kB / 490.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.157, allocations: 204.4 kB / 490.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.1571, allocations: 63.09 kB / 490.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.1571, allocations: 4 kB / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.1574, allocations: 354.8 kB / 490.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1575, allocations: 75.95 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1576, allocations: 67.95 kB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1578, allocations: 75.97 kB / 491.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1578, allocations: 0 / 491.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00044/0.1583, allocations: 243 kB / 491.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1583, allocations: 8 kB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1583, allocations: 0 / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1583, allocations: 0 / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1585, allocations: 35.97 kB / 491.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1585, allocations: 7.938 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.1586, allocations: 11.91 kB / 491.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1586, allocations: 8 kB / 491.5 MB, free: 11.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.1588, allocations: 185.7 kB / 491.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.1588, allocations: 35.53 kB / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.1594, allocations: 297.5 kB / 492 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1594, allocations: 4 kB / 492 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1594, allocations: 4 kB / 492 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1594, allocations: 0 / 492 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008372/0.1602, allocations: 0.6843 MB / 492.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1603, allocations: 3.938 kB / 492.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1604, allocations: 39.92 kB / 492.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1604, allocations: 0 / 492.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1604, allocations: 4 kB / 492.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1604, allocations: 0 / 492.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1604, allocations: 4 kB / 492.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1609, allocations: 342.8 kB / 493 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.161, allocations: 116.6 kB / 493.2 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.161, allocations: 8 kB / 493.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.1611, allocations: 15.98 kB / 493.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1612, allocations: 7.984 kB / 493.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1612, allocations: 11.92 kB / 493.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.1616, allocations: 427.1 kB / 493.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 493.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.1619, allocations: 55.89 kB / 493.7 MB, free: 8.906 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.1637, allocations: 0.6971 MB / 494.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.1641, allocations: 171.8 kB / 494.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1642, allocations: 0 / 494.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1643, allocations: 99.89 kB / 494.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.1649, allocations: 69.8 kB / 494.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1661, allocations: 0.801 MB / 495.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.1666, allocations: 0.8302 MB / 496.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.1667, allocations: 57.89 kB / 496.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.1668, allocations: 27.42 kB / 496.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1668, allocations: 4 kB / 496.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of Templates: time 0.006898/0.1737, allocations: 3.163 MB / 499.6 MB, free: 3.246 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