Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.0008319, allocations: 99.39 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 178 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2098/0.2098, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002617/0.1452, allocations: 1.629 MB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1467, allocations: 0.7839 MB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1469, allocations: 4 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.1473, allocations: 239.4 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.1476, allocations: 167.6 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1488, allocations: 0.6051 MB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1492, allocations: 199.5 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1494, allocations: 60.58 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1495, allocations: 107.6 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1497, allocations: 147.4 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1497, allocations: 8 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1499, allocations: 59.91 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.15, allocations: 83.73 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.15, allocations: 69.52 kB / 475.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1503, allocations: 247.5 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.1503, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1503, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1504, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.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.0007234/0.1511, allocations: 0.6107 MB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1511, allocations: 19.97 kB / 476.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.1512, allocations: 35.53 kB / 476.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1516, allocations: 309.2 kB / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1516, allocations: 4 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.1517, allocations: 15.89 kB / 476.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.1519, allocations: 129.5 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.152, allocations: 3.984 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.152, allocations: 8 kB / 477 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.152, allocations: 3.938 kB / 477 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1522, allocations: 99.94 kB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.1529, allocations: 0.5042 MB / 477.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1531, allocations: 114.5 kB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1532, allocations: 0 / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1532, allocations: 38.55 kB / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1532, allocations: 0 / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009934/0.1542, allocations: 466 kB / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1543, allocations: 55.41 kB / 478.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.1549, allocations: 0.5487 MB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1549, allocations: 25.7 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1551, allocations: 216.3 kB / 479 MB, free: 6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.1551, allocations: 51.2 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.1551, allocations: 0 / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1553, allocations: 354.8 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1554, allocations: 71.89 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1556, allocations: 75.95 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1557, allocations: 75.88 kB / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1557, allocations: 0 / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003823/0.1561, allocations: 231.2 kB / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.1561, allocations: 15.94 kB / 479.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1562, allocations: 4 kB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1562, allocations: 0 / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1563, allocations: 35.92 kB / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1563, allocations: 0 / 479.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.1564, allocations: 15.98 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1565, allocations: 4 kB / 479.9 MB, free: 5.07 MB / 350.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.0001722/0.1566, allocations: 178.3 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.1567, allocations: 43.53 kB / 480.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.1572, allocations: 297.2 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1572, allocations: 4 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1572, allocations: 0 / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1572, allocations: 7.984 kB / 480.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.1581, allocations: 0.6796 MB / 481.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1581, allocations: 0 / 481.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1583, allocations: 35.98 kB / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1583, allocations: 0 / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.1583, allocations: 7.984 kB / 481.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1583, allocations: 3.938 kB / 481.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1583, allocations: 0 / 481.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.1588, allocations: 344.7 kB / 481.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.1589, allocations: 128.5 kB / 481.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.1589, allocations: 4 kB / 481.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1591, allocations: 11.98 kB / 481.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.1591, allocations: 11.98 kB / 481.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1591, allocations: 8 kB / 481.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004298/0.1596, allocations: 407.1 kB / 482.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.82e-07/0.1596, allocations: 4 kB / 482.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1599, allocations: 51.98 kB / 482.1 MB, free: 2.77 MB / 350.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.001649/0.1616, allocations: 0.6999 MB / 482.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.162, allocations: 167.9 kB / 483 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.162, allocations: 0 / 483 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1622, allocations: 99.8 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.1627, allocations: 65.45 kB / 483.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.164, allocations: 0.748 MB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.1644, allocations: 0.8262 MB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.1646, allocations: 66.22 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.1646, allocations: 39.36 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1646, allocations: 0 / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of Templates: time 0.007728/0.1724, allocations: 3.225 MB / 488 MB, free: 13.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches