Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001285/0.001285, allocations: 116.3 kB / 19.17 MB, free: 3.852 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.001405/0.001405, allocations: 205 kB / 22.12 MB, free: 0.9062 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.522/1.522, allocations: 230.3 MB / 255.2 MB, free: 15.19 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.2535/0.2535, allocations: 46.93 MB / 358.2 MB, free: 10.38 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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14") [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.002554/0.002554, allocations: 79.86 kB / 0.4925 GB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1535, allocations: 66.01 MB / 0.557 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003856/0.1574, allocations: 1.665 MB / 0.5586 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1594, allocations: 1.214 MB / 0.5598 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.1595, allocations: 0 / 0.5598 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1597, allocations: 27.8 kB / 0.5598 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.16, allocations: 87.61 kB / 0.5599 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1604, allocations: 174.9 kB / 0.5601 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1606, allocations: 79.81 kB / 0.5602 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1607, allocations: 12 kB / 0.5602 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.1608, allocations: 31.86 kB / 0.5602 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1609, allocations: 43.77 kB / 0.5602 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1609, allocations: 4 kB / 0.5602 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1611, allocations: 103.9 kB / 0.5603 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.1612, allocations: 23.92 kB / 0.5604 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1612, allocations: 35.73 kB / 0.5604 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.1615, allocations: 143.5 kB / 0.5605 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1615, allocations: 4 kB / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1615, allocations: 0 / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1615, allocations: 0 / 0.5605 GB, free: 1.801 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006092/0.1621, allocations: 418.7 kB / 0.5609 GB, free: 1.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1622, allocations: 8.031 kB / 0.5609 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1622, allocations: 8.891 kB / 0.561 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1625, allocations: 202.1 kB / 0.5611 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1625, allocations: 384 / 0.5611 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1625, allocations: 8.312 kB / 0.5612 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1627, allocations: 75.94 kB / 0.5612 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1627, allocations: 192 / 0.5612 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1627, allocations: 7.938 kB / 0.5612 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1627, allocations: 0 / 0.5612 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1629, allocations: 43.91 kB / 0.5613 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1634, allocations: 312.7 kB / 0.5616 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1635, allocations: 38.56 kB / 0.5616 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.1636, allocations: 24.94 kB / 0.5616 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1636, allocations: 12.05 kB / 0.5617 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1636, allocations: 38.56 kB / 0.5617 GB, free: 468 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1636, allocations: 0 / 0.5617 GB, free: 468 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008413/0.1645, allocations: 229.3 kB / 0.5619 GB, free: 232 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.1646, allocations: 77.11 kB / 0.562 GB, free: 136 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1647, allocations: 153.5 kB / 0.5621 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1648, allocations: 29.7 kB / 0.5622 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.1648, allocations: 96.09 kB / 0.5622 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1649, allocations: 23.78 kB / 0.5623 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.1649, allocations: 21.72 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.165, allocations: 322.8 kB / 0.5626 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1652, allocations: 39.97 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1653, allocations: 53.67 kB / 0.5627 GB, free: 15.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1655, allocations: 88.78 kB / 0.5628 GB, free: 15.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1655, allocations: 4 kB / 0.5628 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002994/0.1658, allocations: 121.6 kB / 0.5629 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1659, allocations: 10.03 kB / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1659, allocations: 3.938 kB / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1659, allocations: 0 / 0.5629 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.166, allocations: 23.98 kB / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.166, allocations: 0 / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.1661, allocations: 11.98 kB / 0.5629 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1661, allocations: 4 kB / 0.5629 GB, free: 15.1 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 (7): * Single equations (assignments): 7 * 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.0001068/0.1662, allocations: 117.8 kB / 0.5631 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1662, allocations: 11.94 kB / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.1666, allocations: 142.6 kB / 0.5632 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1666, allocations: 4.281 kB / 0.5632 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1666, allocations: 7.938 kB / 0.5632 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1666, allocations: 0 / 0.5632 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.1672, allocations: 418.4 kB / 0.5636 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1672, allocations: 3.984 kB / 0.5636 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.1673, allocations: 15.98 kB / 0.5636 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1673, allocations: 4 kB / 0.5636 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1673, allocations: 11.94 kB / 0.5636 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1673, allocations: 7.922 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1673, allocations: 0 / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.1677, allocations: 215.4 kB / 0.5639 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1678, allocations: 85.06 kB / 0.5639 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1678, allocations: 3.938 kB / 0.5639 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.1679, allocations: 23.92 kB / 0.564 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.1679, allocations: 0 / 0.564 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1679, allocations: 4 kB / 0.564 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.168, allocations: 115.2 kB / 0.5641 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.168, allocations: 0 / 0.5641 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1683, allocations: 43.86 kB / 0.5641 GB, free: 13.78 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 (7): * Single equations (assignments): 7 * 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.001695/0.17, allocations: 495.8 kB / 0.5646 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1703, allocations: 91.92 kB / 0.5647 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1703, allocations: 0 / 0.5647 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1705, allocations: 47.95 kB / 0.5647 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1709, allocations: 15.94 kB / 0.5647 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.1714, allocations: 251.5 kB / 0.565 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1717, allocations: 0.6963 MB / 0.5657 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.1718, allocations: 19.42 kB / 0.5657 GB, free: 12.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1718, allocations: 0 / 0.5657 GB, free: 12.28 MB / 430.1 MB Notification: Performance of Templates: time 0.004459/0.1763, allocations: 2.182 MB / 0.5678 GB, free: 10.1 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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: 7.842088566001621]