Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 46.92 MB / 357.8 MB, free: 10.34 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 67.91 kB / 0.4922 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1577, allocations: 65.99 MB / 0.5566 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.004056/0.1618, allocations: 1.733 MB / 0.5583 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1648, allocations: 1.645 MB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1649, allocations: 0 / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1652, allocations: 35.77 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.1657, allocations: 103.5 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.166, allocations: 75.67 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1662, allocations: 111.7 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1663, allocations: 12 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1665, allocations: 51.72 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1667, allocations: 43.83 kB / 0.5603 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1667, allocations: 8 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.1669, allocations: 111.9 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.167, allocations: 11.94 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.1671, allocations: 43.72 kB / 0.5605 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1674, allocations: 171.4 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1674, allocations: 0 / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1675, allocations: 0 / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1675, allocations: 0 / 0.5606 GB, free: 1.117 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007191/0.1682, allocations: 429.2 kB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1682, allocations: 19.95 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.1683, allocations: 12.84 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1687, allocations: 214 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1687, allocations: 3.938 kB / 0.5613 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1687, allocations: 4 kB / 0.5613 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1689, allocations: 71.39 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1689, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1689, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.169, allocations: 4 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.169, allocations: 23.92 kB / 0.5614 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1695, allocations: 288.9 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1697, allocations: 50.69 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.1697, allocations: 20.84 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1698, allocations: 11.94 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.1699, allocations: 71.39 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1699, allocations: 0 / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006576/0.1706, allocations: 173.3 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.1707, allocations: 81.05 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1709, allocations: 169.7 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1709, allocations: 29.7 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.171, allocations: 100.1 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.171, allocations: 23.75 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.171, allocations: 29.7 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1712, allocations: 318.8 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.1712, allocations: 20 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.1713, allocations: 42.56 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1715, allocations: 61.67 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1715, allocations: 0 / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.1717, allocations: 109.6 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1717, allocations: 7.984 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1717, allocations: 0 / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1717, allocations: 0 / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.1718, allocations: 16 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1718, allocations: 3.938 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1719, allocations: 11.97 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1719, allocations: 7.984 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001146/0.172, allocations: 124 kB / 0.5631 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.172, allocations: 7.953 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.1721, allocations: 12.91 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1721, allocations: 3.984 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1721, allocations: 11.88 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1721, allocations: 3.938 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.1726, allocations: 395.3 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1726, allocations: 0 / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.1726, allocations: 15.88 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1726, allocations: 0 / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1727, allocations: 8 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1727, allocations: 0 / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1727, allocations: 0 / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1729, allocations: 200.4 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.173, allocations: 93 kB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.173, allocations: 384 / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.1731, allocations: 4 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1732, allocations: 15.92 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1732, allocations: 8 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1733, allocations: 119.2 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1733, allocations: 4 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1736, allocations: 47.86 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002052/0.1757, allocations: 0.5455 MB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1759, allocations: 63.89 kB / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1759, allocations: 4.062 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.176, allocations: 20 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1764, allocations: 35.84 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.1769, allocations: 228.5 kB / 0.5649 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1773, allocations: 0.7002 MB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.1773, allocations: 19.42 kB / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1773, allocations: 0 / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Templates: time 0.004952/0.1823, allocations: 2.414 MB / 0.5679 GB, free: 9.469 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.178916270000627]