Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.001379, allocations: 115 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001528, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 246.5 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2334/0.2334, allocations: 46.13 MB / 343.8 MB, free: 11.71 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.09 kB / 417.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1312, allocations: 62.46 MB / 479.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003942/0.1351, allocations: 2.086 MB / 481.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1372, allocations: 1.107 MB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1373, allocations: 0 / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.1378, allocations: 263.3 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.1383, allocations: 235.4 kB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1397, allocations: 0.6129 MB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.1402, allocations: 343.1 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.1404, allocations: 84.67 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1406, allocations: 147.4 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1409, allocations: 215.2 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.141, allocations: 8 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1412, allocations: 75.95 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.1414, allocations: 103.6 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1415, allocations: 123 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.142, allocations: 335 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.142, allocations: 4 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.142, allocations: 3.938 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.142, allocations: 0 / 485.3 MB, free: 15.83 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.0008356/0.1428, allocations: 0.6534 MB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1429, allocations: 9.109 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.143, allocations: 44.41 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1434, allocations: 326.1 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1434, allocations: 8.375 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1434, allocations: 12.38 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1437, allocations: 133.7 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1437, allocations: 4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1438, allocations: 4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1438, allocations: 4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.144, allocations: 87.88 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.1448, allocations: 0.5081 MB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.145, allocations: 106.5 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.1451, allocations: 44.83 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1451, allocations: 4 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1452, allocations: 34.56 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1452, allocations: 4 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001072/0.1463, allocations: 448.1 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1463, allocations: 55.41 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.147, allocations: 0.572 MB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.147, allocations: 33.7 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1472, allocations: 212.3 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.1473, allocations: 51.17 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.1474, allocations: 33.72 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1475, allocations: 354.8 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1477, allocations: 67.95 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1478, allocations: 71.89 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1481, allocations: 159 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1481, allocations: 3.938 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000404/0.1486, allocations: 229 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1486, allocations: 8 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1486, allocations: 0 / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1486, allocations: 0 / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1488, allocations: 35.92 kB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1488, allocations: 0 / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.1489, allocations: 15.92 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1489, allocations: 8 kB / 489.6 MB, free: 11.31 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.0002135/0.1491, allocations: 185.7 kB / 489.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.1492, allocations: 43.44 kB / 489.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.1498, allocations: 283.6 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1498, allocations: 4 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1498, allocations: 4 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1498, allocations: 0 / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009358/0.1508, allocations: 0.6739 MB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1508, allocations: 0 / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1509, allocations: 31.98 kB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1509, allocations: 4 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1509, allocations: 8 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1509, allocations: 0 / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1509, allocations: 3.938 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.1514, allocations: 340.9 kB / 491.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.1515, allocations: 104.6 kB / 491.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1515, allocations: 0 / 491.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.1516, allocations: 12 kB / 491.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.1517, allocations: 15.92 kB / 491.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1517, allocations: 4 kB / 491.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004594/0.1522, allocations: 431.1 kB / 491.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1522, allocations: 0 / 491.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.1525, allocations: 47.98 kB / 491.7 MB, free: 9.039 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.002794/0.1553, allocations: 0.6931 MB / 492.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.1557, allocations: 179.8 kB / 492.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1557, allocations: 0 / 492.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1559, allocations: 91.8 kB / 492.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.1565, allocations: 83.69 kB / 492.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1579, allocations: 0.8383 MB / 493.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.1585, allocations: 0.8299 MB / 494.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.1586, allocations: 53.89 kB / 494.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.1587, allocations: 35.42 kB / 494.5 MB, free: 6.473 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1587, allocations: 3.938 kB / 494.5 MB, free: 6.469 MB / 366.1 MB Notification: Performance of Templates: time 0.008736/0.1675, allocations: 3.338 MB / 497.9 MB, free: 3.152 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches