Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2454/0.2454, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "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.002249/0.002249, allocations: 83.86 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1535, allocations: 65.99 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003941/0.1575, allocations: 2.048 MB / 0.5588 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1595, allocations: 1.028 MB / 0.5598 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1596, allocations: 4 kB / 0.5598 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.1602, allocations: 267.2 kB / 0.5601 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.1608, allocations: 255.1 kB / 0.5603 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1621, allocations: 496.8 kB / 0.5608 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1626, allocations: 331 kB / 0.5611 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1628, allocations: 48.7 kB / 0.5611 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.163, allocations: 147.4 kB / 0.5613 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1633, allocations: 227.2 kB / 0.5615 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.1633, allocations: 12 kB / 0.5615 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1636, allocations: 107.9 kB / 0.5616 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1637, allocations: 91.61 kB / 0.5617 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1639, allocations: 123 kB / 0.5618 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.1644, allocations: 338.2 kB / 0.5621 GB, free: 436 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1644, allocations: 0 / 0.5621 GB, free: 436 kB / 414.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1644, allocations: 0 / 0.5621 GB, free: 436 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1644, allocations: 0 / 0.5621 GB, free: 436 kB / 414.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.0009563/0.1653, allocations: 0.6686 MB / 0.5628 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1654, allocations: 13.11 kB / 0.5628 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.1655, allocations: 40.66 kB / 0.5629 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.1659, allocations: 326.5 kB / 0.5632 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1659, allocations: 8.375 kB / 0.5632 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.166, allocations: 8.375 kB / 0.5632 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.1662, allocations: 110.1 kB / 0.5633 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1662, allocations: 192 / 0.5633 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1663, allocations: 7.938 kB / 0.5633 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1663, allocations: 7.938 kB / 0.5633 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1665, allocations: 75.89 kB / 0.5634 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.1672, allocations: 480.4 kB / 0.5638 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1675, allocations: 86.53 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.1675, allocations: 36.83 kB / 0.5639 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1676, allocations: 8 kB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1676, allocations: 38.5 kB / 0.564 GB, free: 14.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1676, allocations: 0 / 0.564 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001082/0.1687, allocations: 390.7 kB / 0.5644 GB, free: 13.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1687, allocations: 59.39 kB / 0.5644 GB, free: 13.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.1694, allocations: 0.5565 MB / 0.565 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1694, allocations: 29.7 kB / 0.565 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1696, allocations: 208.4 kB / 0.5652 GB, free: 13.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.1697, allocations: 59.48 kB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.1698, allocations: 33.7 kB / 0.5653 GB, free: 13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.17, allocations: 350.8 kB / 0.5656 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1701, allocations: 55.88 kB / 0.5657 GB, free: 12.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1702, allocations: 47.97 kB / 0.5657 GB, free: 12.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1705, allocations: 127 kB / 0.5658 GB, free: 12.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1705, allocations: 3.938 kB / 0.5658 GB, free: 12.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004044/0.1709, allocations: 205.2 kB / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1709, allocations: 4 kB / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1709, allocations: 0 / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1709, allocations: 0 / 0.566 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.1711, allocations: 35.97 kB / 0.5661 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1711, allocations: 4 kB / 0.5661 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.1712, allocations: 8 kB / 0.5661 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1712, allocations: 4 kB / 0.5661 GB, free: 12.16 MB / 430.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.0001829/0.1714, allocations: 177.7 kB / 0.5663 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.1714, allocations: 47.66 kB / 0.5663 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.172, allocations: 247.2 kB / 0.5665 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.172, allocations: 0 / 0.5665 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.172, allocations: 4 kB / 0.5665 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.172, allocations: 0 / 0.5665 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008907/0.1729, allocations: 0.6232 MB / 0.5672 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1729, allocations: 3.938 kB / 0.5672 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.173, allocations: 31.92 kB / 0.5672 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.173, allocations: 4 kB / 0.5672 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.173, allocations: 4 kB / 0.5672 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.173, allocations: 11.98 kB / 0.5672 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.173, allocations: 0 / 0.5672 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.1734, allocations: 296.9 kB / 0.5675 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.1735, allocations: 108.8 kB / 0.5676 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1736, allocations: 8 kB / 0.5676 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.1737, allocations: 7.984 kB / 0.5676 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.1737, allocations: 19.97 kB / 0.5676 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1737, allocations: 7.938 kB / 0.5676 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004708/0.1742, allocations: 419.1 kB / 0.568 GB, free: 10.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1742, allocations: 0 / 0.568 GB, free: 10.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.1745, allocations: 51.92 kB / 0.5681 GB, free: 10 MB / 430.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.002718/0.1772, allocations: 0.6875 MB / 0.5688 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.1776, allocations: 135.8 kB / 0.5689 GB, free: 9.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1776, allocations: 0 / 0.5689 GB, free: 9.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1777, allocations: 71.89 kB / 0.569 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.1783, allocations: 74.55 kB / 0.569 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1796, allocations: 0.7066 MB / 0.5697 GB, free: 8.605 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.1801, allocations: 0.8065 MB / 0.5705 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.1802, allocations: 35.42 kB / 0.5705 GB, free: 7.742 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1802, allocations: 0 / 0.5705 GB, free: 7.742 MB / 430.1 MB Notification: Performance of Templates: time 0.008013/0.1882, allocations: 4.529 MB / 0.575 GB, free: 3.215 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.325913483044133]