Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001574/0.001574, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001891/0.001891, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.476/1.476, allocations: 230.2 MB / 255.2 MB, free: 15.05 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.2507/0.2507, allocations: 46.88 MB / 358.1 MB, free: 10.49 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27") [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.003425/0.003425, allocations: 79.88 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1601, allocations: 65.99 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003269/0.1634, allocations: 1.689 MB / 0.5585 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1645, allocations: 0.5801 MB / 0.559 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.1645, allocations: 0 / 0.559 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1648, allocations: 71.66 kB / 0.5591 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.1652, allocations: 95.59 kB / 0.5592 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.1656, allocations: 178.1 kB / 0.5594 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1658, allocations: 91.8 kB / 0.5595 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1659, allocations: 16.22 kB / 0.5595 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.166, allocations: 39.84 kB / 0.5595 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1661, allocations: 51.77 kB / 0.5596 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1661, allocations: 4 kB / 0.5596 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1663, allocations: 55.97 kB / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.1663, allocations: 27.84 kB / 0.5596 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.1664, allocations: 35.75 kB / 0.5597 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1666, allocations: 111.6 kB / 0.5598 GB, free: 2.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1666, allocations: 0 / 0.5598 GB, free: 2.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1666, allocations: 3.938 kB / 0.5598 GB, free: 2.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1666, allocations: 0 / 0.5598 GB, free: 2.836 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005842/0.1672, allocations: 418.7 kB / 0.5602 GB, free: 2.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1672, allocations: 12.03 kB / 0.5602 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.1673, allocations: 16.78 kB / 0.5602 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1675, allocations: 204.1 kB / 0.5604 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1675, allocations: 4.375 kB / 0.5604 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1675, allocations: 12.36 kB / 0.5604 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1677, allocations: 66.22 kB / 0.5605 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1677, allocations: 192 / 0.5605 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1678, allocations: 3.938 kB / 0.5605 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1678, allocations: 4 kB / 0.5605 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1679, allocations: 51.89 kB / 0.5605 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.1684, allocations: 320.7 kB / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.1687, allocations: 62.58 kB / 0.5609 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.1687, allocations: 24.97 kB / 0.5609 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1688, allocations: 4 kB / 0.5609 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1688, allocations: 38.56 kB / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1688, allocations: 0 / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.1703, allocations: 421 kB / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1704, allocations: 55.41 kB / 0.5614 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1706, allocations: 202.1 kB / 0.5616 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1706, allocations: 25.7 kB / 0.5617 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1707, allocations: 104.1 kB / 0.5618 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.1707, allocations: 39.66 kB / 0.5618 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.1708, allocations: 29.64 kB / 0.5618 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1709, allocations: 326.8 kB / 0.5621 GB, free: 224 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1711, allocations: 55.95 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1712, allocations: 55.95 kB / 0.5622 GB, free: 112 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1715, allocations: 124.9 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1715, allocations: 0 / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003564/0.1719, allocations: 161.5 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1719, allocations: 8 kB / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1719, allocations: 0 / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1719, allocations: 0 / 0.5625 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.172, allocations: 35.91 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1721, allocations: 3.938 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.1721, allocations: 12.48 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1721, allocations: 4 kB / 0.5626 GB, free: 15.75 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 (11): * Single equations (assignments): 11 * 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.0001194/0.1722, allocations: 133.8 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1723, allocations: 11.91 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.1727, allocations: 194.2 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1727, allocations: 0 / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1727, allocations: 4 kB / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1728, allocations: 3.938 kB / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.1735, allocations: 0.4999 MB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1735, allocations: 3.938 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1736, allocations: 27.92 kB / 0.5634 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1736, allocations: 4 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1737, allocations: 0 / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1737, allocations: 3.984 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1737, allocations: 8.062 kB / 0.5634 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.1741, allocations: 265.7 kB / 0.5637 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1742, allocations: 88.95 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1742, allocations: 12 kB / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.1743, allocations: 7.984 kB / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1743, allocations: 8 kB / 0.5638 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1743, allocations: 7.984 kB / 0.5638 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1745, allocations: 143.2 kB / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1745, allocations: 0 / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1747, allocations: 31.86 kB / 0.564 GB, free: 14.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001737/0.1765, allocations: 456.2 kB / 0.5644 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.1769, allocations: 127.9 kB / 0.5645 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1769, allocations: 0 / 0.5645 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.177, allocations: 63.89 kB / 0.5646 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1774, allocations: 27.64 kB / 0.5646 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.1781, allocations: 337.8 kB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1785, allocations: 0.7196 MB / 0.5656 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.1785, allocations: 19.42 kB / 0.5657 GB, free: 12.58 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1785, allocations: 0 / 0.5657 GB, free: 12.58 MB / 430.1 MB Notification: Performance of Templates: time 0.00438/0.1829, allocations: 2.074 MB / 0.5677 GB, free: 10.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.6840233250986785]