Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001724/0.001724, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002024/0.002024, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.587/1.587, allocations: 230.6 MB / 254.1 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.2563/0.2563, allocations: 46.92 MB / 357.1 MB, free: 10.36 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 59.91 kB / 0.4915 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1606, allocations: 66 MB / 0.5559 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003962/0.1645, allocations: 1.931 MB / 0.5578 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1667, allocations: 1.134 MB / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1668, allocations: 3.938 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1673, allocations: 231.3 kB / 0.5592 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.1678, allocations: 215.2 kB / 0.5594 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1681, allocations: 119.6 kB / 0.5595 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.1684, allocations: 259.2 kB / 0.5597 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1686, allocations: 17.67 kB / 0.5598 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1687, allocations: 127.5 kB / 0.5599 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.169, allocations: 167.5 kB / 0.56 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.169, allocations: 8 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1691, allocations: 67.92 kB / 0.5601 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.844e-05/0.1692, allocations: 71.69 kB / 0.5602 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1693, allocations: 83.36 kB / 0.5603 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1697, allocations: 242.8 kB / 0.5605 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1697, allocations: 3.938 kB / 0.5605 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1697, allocations: 4 kB / 0.5605 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1697, allocations: 0 / 0.5605 GB, free: 0.6211 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008876/0.1706, allocations: 0.5678 MB / 0.561 GB, free: 4 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.1706, allocations: 8.078 kB / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.1707, allocations: 32.75 kB / 0.5611 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.1711, allocations: 296.2 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1711, allocations: 8.375 kB / 0.5614 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.1712, allocations: 16.11 kB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1715, allocations: 109.2 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1715, allocations: 0 / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1715, allocations: 4 kB / 0.5615 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1715, allocations: 4 kB / 0.5615 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1717, allocations: 47.91 kB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.1723, allocations: 476.8 kB / 0.562 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.1727, allocations: 121.2 kB / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1729, allocations: 41.81 kB / 0.5622 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1729, allocations: 0 / 0.5622 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1731, allocations: 117 kB / 0.5623 GB, free: 14.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-05/0.1731, allocations: 7.938 kB / 0.5623 GB, free: 14.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001426/0.1746, allocations: 0.5046 MB / 0.5628 GB, free: 14.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.1746, allocations: 81.11 kB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.1751, allocations: 444.5 kB / 0.5633 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1752, allocations: 29.7 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1753, allocations: 160.4 kB / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/0.1754, allocations: 83.41 kB / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.1755, allocations: 41.7 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1757, allocations: 346.8 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1758, allocations: 55.98 kB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.176, allocations: 101.4 kB / 0.5641 GB, free: 12.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.1763, allocations: 163.5 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1763, allocations: 0 / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004203/0.1767, allocations: 233.3 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1767, allocations: 11.94 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1767, allocations: 0 / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1767, allocations: 4 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1769, allocations: 43.98 kB / 0.5645 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1769, allocations: 4 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.177, allocations: 15.94 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.177, allocations: 4 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001852/0.1772, allocations: 173.7 kB / 0.5647 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.1772, allocations: 35.75 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.189e-05/0.1773, allocations: 38.81 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1773, allocations: 4 kB / 0.5648 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1773, allocations: 0 / 0.5648 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.1773, allocations: 7.984 kB / 0.5648 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1784, allocations: 0.7272 MB / 0.5655 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1784, allocations: 4 kB / 0.5655 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.1785, allocations: 27.98 kB / 0.5655 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1785, allocations: 4.312 kB / 0.5655 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1785, allocations: 15.92 kB / 0.5655 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1785, allocations: 7.938 kB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.1785, allocations: 7.938 kB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.179, allocations: 421.8 kB / 0.5659 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.1791, allocations: 100.9 kB / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.1791, allocations: 8 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1793, allocations: 11.98 kB / 0.5661 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.1793, allocations: 23.86 kB / 0.5661 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.1794, allocations: 12 kB / 0.5661 GB, free: 10.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.1797, allocations: 335 kB / 0.5664 GB, free: 10.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 0 / 0.5664 GB, free: 10.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.18, allocations: 51.92 kB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002011/0.1821, allocations: 0.5164 MB / 0.567 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.1824, allocations: 147.8 kB / 0.5671 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1824, allocations: 4 kB / 0.5671 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1826, allocations: 72.03 kB / 0.5672 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.1832, allocations: 61.77 kB / 0.5672 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1842, allocations: 0.5666 MB / 0.5678 GB, free: 8.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.1847, allocations: 0.7768 MB / 0.5685 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1848, allocations: 45.86 kB / 0.5686 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.1848, allocations: 31.44 kB / 0.5686 GB, free: 8.02 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1848, allocations: 0 / 0.5686 GB, free: 8.02 MB / 430.1 MB Notification: Performance of Templates: time 0.007888/0.1927, allocations: 3.207 MB / 0.5718 GB, free: 4.848 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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: 5.459442596882582]