Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.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.0.0_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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 109 kB / 17.21 MB, free: 6.289 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.00141/0.00141, allocations: 194 kB / 18.12 MB, free: 5.383 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.415/1.415, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2233/0.2233, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.84 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.14, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003585/0.1436, allocations: 2.01 MB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1454, allocations: 0.9474 MB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.1455, allocations: 4 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.146, allocations: 247.4 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1464, allocations: 179.5 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.1478, allocations: 0.6121 MB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000409/0.1482, allocations: 291.2 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.1485, allocations: 76.55 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1486, allocations: 119.5 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.1488, allocations: 199.3 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1489, allocations: 11.94 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.149, allocations: 59.97 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1492, allocations: 95.67 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.1493, allocations: 115 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1497, allocations: 291 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1497, allocations: 8 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1497, allocations: 0 / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1497, allocations: 0 / 473.8 MB, free: 9.586 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.0007599/0.1505, allocations: 0.6185 MB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1505, allocations: 8.031 kB / 474.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.1506, allocations: 36.47 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1509, allocations: 314.2 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1509, allocations: 8.375 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.151, allocations: 12.38 kB / 474.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1512, allocations: 129.8 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1513, allocations: 3.938 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1513, allocations: 8 kB / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1513, allocations: 0 / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1515, allocations: 95.86 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.1522, allocations: 0.4924 MB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1524, allocations: 114.5 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.1525, allocations: 40.84 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1525, allocations: 3.984 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1525, allocations: 34.56 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.1525, allocations: 4 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009857/0.1535, allocations: 431 kB / 476.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1536, allocations: 55.41 kB / 476.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.1542, allocations: 0.5249 MB / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1542, allocations: 29.7 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1544, allocations: 200.3 kB / 476.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.1544, allocations: 63.11 kB / 477 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.1545, allocations: 33.7 kB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1547, allocations: 350.8 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1549, allocations: 63.97 kB / 477.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.155, allocations: 63.95 kB / 477.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1553, allocations: 156.7 kB / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1553, allocations: 7.938 kB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003958/0.1557, allocations: 222.9 kB / 477.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1558, allocations: 8 kB / 477.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1558, allocations: 3.938 kB / 477.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1558, allocations: 0 / 477.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1559, allocations: 43.84 kB / 477.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.156, allocations: 0 / 477.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.156, allocations: 11.98 kB / 477.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1561, allocations: 4 kB / 477.9 MB, free: 5.215 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.1563, allocations: 185.7 kB / 478.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.1563, allocations: 35.53 kB / 478.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.1569, allocations: 275.1 kB / 478.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1569, allocations: 4 kB / 478.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1569, allocations: 0 / 478.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1569, allocations: 0 / 478.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/0.1578, allocations: 0.666 MB / 479.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1578, allocations: 0 / 479.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1579, allocations: 31.98 kB / 479.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1579, allocations: 0 / 479.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1579, allocations: 7.984 kB / 479.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1579, allocations: 8 kB / 479.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1579, allocations: 3.938 kB / 479.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.1584, allocations: 329 kB / 479.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.1585, allocations: 100.7 kB / 479.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.1585, allocations: 4 kB / 479.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.1586, allocations: 11.98 kB / 479.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1586, allocations: 19.92 kB / 479.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1587, allocations: 4 kB / 479.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.159, allocations: 399.1 kB / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1591, allocations: 0 / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1594, allocations: 44 kB / 480 MB, free: 3.012 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 (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.00167/0.161, allocations: 0.6962 MB / 480.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.1614, allocations: 175.7 kB / 480.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1614, allocations: 0 / 480.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1616, allocations: 95.83 kB / 481 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1622, allocations: 64.48 kB / 481 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1634, allocations: 0.7934 MB / 481.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1638, allocations: 0.8184 MB / 482.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.164, allocations: 57.89 kB / 482.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.1641, allocations: 27.44 kB / 482.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1641, allocations: 0 / 482.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Templates: time 0.00676/0.1708, allocations: 3.15 MB / 485.9 MB, free: 13.42 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches