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.001339/0.001339, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.13 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 81.66 kB / 417.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 62.44 MB / 480.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004134/0.1391, allocations: 2.101 MB / 482.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1413, allocations: 1.107 MB / 483.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1415, allocations: 4 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006923/0.1422, allocations: 255.3 kB / 483.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.1428, allocations: 235.3 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.1445, allocations: 0.6169 MB / 484.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.145, allocations: 347.1 kB / 484.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1452, allocations: 80.69 kB / 484.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1454, allocations: 139.4 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1457, allocations: 223.2 kB / 485.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1457, allocations: 8 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1459, allocations: 71.97 kB / 485.4 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1461, allocations: 107.7 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1462, allocations: 126.9 kB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.1465, allocations: 247.9 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1466, allocations: 3.938 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1466, allocations: 0 / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1466, allocations: 0 / 485.8 MB, free: 15.94 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.0008624/0.1475, allocations: 0.6533 MB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1475, allocations: 21.03 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1476, allocations: 36.47 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.148, allocations: 334 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.148, allocations: 8.375 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.1481, allocations: 12.38 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.1484, allocations: 125.7 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1484, allocations: 4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1484, allocations: 3.984 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1484, allocations: 4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1486, allocations: 91.88 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.1494, allocations: 0.5158 MB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1496, allocations: 106.5 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.1497, allocations: 36.83 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1498, allocations: 8 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1498, allocations: 34.56 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1498, allocations: 0 / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001125/0.1509, allocations: 447.8 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.151, allocations: 55.41 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/0.1517, allocations: 0.5798 MB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1518, allocations: 25.7 kB / 488.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1519, allocations: 200.4 kB / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.152, allocations: 59.16 kB / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.1521, allocations: 29.72 kB / 489.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1523, allocations: 358.8 kB / 489.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1524, allocations: 63.95 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1526, allocations: 74.3 kB / 489.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1529, allocations: 156.7 kB / 489.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1529, allocations: 3.938 kB / 489.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000429/0.1533, allocations: 235 kB / 490.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1533, allocations: 8 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1534, allocations: 0 / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1534, allocations: 0 / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1535, allocations: 31.98 kB / 490.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1536, allocations: 4 kB / 490.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.1536, allocations: 15.86 kB / 490.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1537, allocations: 11.94 kB / 490.1 MB, free: 11.42 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.0002128/0.1539, allocations: 189.7 kB / 490.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.154, allocations: 39.44 kB / 490.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.1546, allocations: 276.1 kB / 490.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.1546, allocations: 7.984 kB / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1546, allocations: 0 / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1546, allocations: 0 / 490.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009594/0.1556, allocations: 0.6739 MB / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1556, allocations: 4 kB / 491.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1557, allocations: 35.91 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1557, allocations: 0 / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1557, allocations: 4 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1557, allocations: 0 / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1558, allocations: 3.938 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.1563, allocations: 330.8 kB / 491.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.1564, allocations: 112.6 kB / 491.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1564, allocations: 8 kB / 491.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.1565, allocations: 0 / 491.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1566, allocations: 23.86 kB / 491.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1566, allocations: 8 kB / 491.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004938/0.1571, allocations: 427.1 kB / 492.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1571, allocations: 0 / 492.3 MB, free: 9.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1574, allocations: 55.98 kB / 492.3 MB, free: 9.145 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.00273/0.1602, allocations: 0.6886 MB / 493 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.1607, allocations: 175.8 kB / 493.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1607, allocations: 0 / 493.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.1608, allocations: 95.8 kB / 493.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.1615, allocations: 80.61 kB / 493.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1629, allocations: 0.8465 MB / 494.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.1635, allocations: 0.8182 MB / 495 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.1636, allocations: 35.42 kB / 495 MB, free: 6.641 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1636, allocations: 7.875 kB / 495 MB, free: 6.633 MB / 366.1 MB Notification: Performance of Templates: time 0.008162/0.1717, allocations: 4.795 MB / 499.8 MB, free: 1.844 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/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