Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001669/0.001669, allocations: 116.7 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.002027/0.002027, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.509/1.509, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2473/0.2473, allocations: 46.92 MB / 358.2 MB, free: 10.4 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") [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.002852/0.002852, allocations: 87.86 kB / 0.4925 GB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1527, allocations: 66 MB / 0.557 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003966/0.1566, allocations: 2.034 MB / 0.559 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1585, allocations: 1.04 MB / 0.56 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1587, allocations: 0 / 0.56 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1592, allocations: 255.2 kB / 0.5602 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.1598, allocations: 259 kB / 0.5605 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1609, allocations: 492.7 kB / 0.5609 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005718/0.1614, allocations: 334.8 kB / 0.5613 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1616, allocations: 48.7 kB / 0.5613 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1619, allocations: 151.4 kB / 0.5615 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.1622, allocations: 227.2 kB / 0.5617 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.1623, allocations: 8 kB / 0.5617 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.1624, allocations: 79.91 kB / 0.5618 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1626, allocations: 87.67 kB / 0.5618 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1627, allocations: 126.9 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1632, allocations: 318.3 kB / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1632, allocations: 0 / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1632, allocations: 0 / 0.5623 GB, free: 68 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1632, allocations: 7.938 kB / 0.5623 GB, free: 60 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.001016/0.1643, allocations: 0.6687 MB / 0.5629 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1643, allocations: 13.11 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1644, allocations: 40.66 kB / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.1648, allocations: 318.6 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1648, allocations: 4.375 kB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.1649, allocations: 12.31 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.1651, allocations: 110.1 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1652, allocations: 4.188 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1652, allocations: 11.88 kB / 0.5634 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.1652, allocations: 4 kB / 0.5634 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1654, allocations: 67.95 kB / 0.5635 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.1661, allocations: 492.4 kB / 0.564 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1663, allocations: 90.48 kB / 0.564 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.1664, allocations: 32.84 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.1665, allocations: 11.97 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1665, allocations: 30.56 kB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1665, allocations: 0 / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001047/0.1675, allocations: 392.6 kB / 0.5645 GB, free: 13.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1676, allocations: 55.41 kB / 0.5645 GB, free: 13.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007143/0.1683, allocations: 0.5604 MB / 0.5651 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1683, allocations: 29.7 kB / 0.5651 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1685, allocations: 200.4 kB / 0.5653 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.1686, allocations: 63.47 kB / 0.5654 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.1686, allocations: 37.64 kB / 0.5654 GB, free: 12.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1688, allocations: 350.8 kB / 0.5657 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1689, allocations: 59.72 kB / 0.5658 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1691, allocations: 49.84 kB / 0.5658 GB, free: 12.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.1693, allocations: 119 kB / 0.566 GB, free: 12.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1693, allocations: 0 / 0.566 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003939/0.1697, allocations: 205.2 kB / 0.5662 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1697, allocations: 4 kB / 0.5662 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1697, allocations: 4 kB / 0.5662 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1698, allocations: 0 / 0.5662 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1699, allocations: 39.91 kB / 0.5662 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1699, allocations: 0 / 0.5662 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.17, allocations: 8 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.17, allocations: 4 kB / 0.5662 GB, free: 11.8 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.0001927/0.1702, allocations: 177.8 kB / 0.5664 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.1703, allocations: 47.64 kB / 0.5664 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.1708, allocations: 247.3 kB / 0.5667 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1708, allocations: 4 kB / 0.5667 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1708, allocations: 0 / 0.5667 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1708, allocations: 0 / 0.5667 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/0.1717, allocations: 0.627 MB / 0.5673 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1717, allocations: 4 kB / 0.5673 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1718, allocations: 31.98 kB / 0.5673 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1718, allocations: 3.938 kB / 0.5673 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1718, allocations: 8 kB / 0.5673 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1718, allocations: 0 / 0.5673 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1718, allocations: 0 / 0.5673 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.1723, allocations: 304.8 kB / 0.5676 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/0.1723, allocations: 112.9 kB / 0.5677 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1724, allocations: 4 kB / 0.5677 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.1725, allocations: 8 kB / 0.5677 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1725, allocations: 11.98 kB / 0.5677 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1725, allocations: 11.92 kB / 0.5678 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005065/0.173, allocations: 419.1 kB / 0.5682 GB, free: 9.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.173, allocations: 0 / 0.5682 GB, free: 9.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.1734, allocations: 51.92 kB / 0.5682 GB, free: 9.645 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.002827/0.1762, allocations: 0.6888 MB / 0.5689 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.1765, allocations: 120.8 kB / 0.569 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1765, allocations: 0 / 0.569 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1767, allocations: 75.89 kB / 0.5691 GB, free: 9.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.1772, allocations: 74.05 kB / 0.5691 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1785, allocations: 0.7143 MB / 0.5698 GB, free: 8.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.179, allocations: 0.8025 MB / 0.5706 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.1791, allocations: 31.44 kB / 0.5706 GB, free: 7.367 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1791, allocations: 4 kB / 0.5706 GB, free: 7.363 MB / 430.1 MB Notification: Performance of Templates: time 0.009686/0.1888, allocations: 4.54 MB / 0.5751 GB, free: 2.828 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.167894591999357]