Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001618/0.001618, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001748/0.001748, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.612/1.612, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.262/0.262, allocations: 46.93 MB / 357.1 MB, free: 10.29 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.91 kB / 0.4915 GB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 66 MB / 0.5559 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00377/0.1642, allocations: 1.937 MB / 0.5578 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1664, allocations: 1.13 MB / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1665, allocations: 7.938 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.167, allocations: 167.5 kB / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.1675, allocations: 179.3 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1678, allocations: 111.6 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.1682, allocations: 251.3 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1683, allocations: 21.66 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.1685, allocations: 115.5 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1687, allocations: 143.5 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.1688, allocations: 11.94 kB / 0.5599 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1689, allocations: 63.98 kB / 0.56 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.169, allocations: 51.77 kB / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1691, allocations: 87.36 kB / 0.5601 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1695, allocations: 226.9 kB / 0.5603 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1695, allocations: 4 kB / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1695, allocations: 0 / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1695, allocations: 0 / 0.5603 GB, free: 0.707 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.0009662/0.1705, allocations: 0.5406 MB / 0.5608 GB, free: 120 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1705, allocations: 12.03 kB / 0.5609 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.1706, allocations: 28.75 kB / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.1711, allocations: 279.8 kB / 0.5612 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1711, allocations: 8.312 kB / 0.5612 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.1711, allocations: 24.05 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1714, allocations: 103.3 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1714, allocations: 3.984 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1715, allocations: 4 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1715, allocations: 4 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1716, allocations: 43.95 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.1723, allocations: 472.7 kB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1727, allocations: 117.2 kB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1729, allocations: 45.83 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1729, allocations: 4.141 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1732, allocations: 121 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1732, allocations: 0 / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001463/0.1746, allocations: 0.4897 MB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.1747, allocations: 81.11 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.1752, allocations: 371.3 kB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.1752, allocations: 33.7 kB / 0.563 GB, free: 13.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1753, allocations: 144.5 kB / 0.5631 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.675e-05/0.1754, allocations: 75.38 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.1755, allocations: 45.7 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1757, allocations: 338.8 kB / 0.5636 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1758, allocations: 59.97 kB / 0.5636 GB, free: 13.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.176, allocations: 97.53 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.1763, allocations: 167.4 kB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1763, allocations: 0 / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004262/0.1767, allocations: 225.3 kB / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1768, allocations: 11.94 kB / 0.5641 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1768, allocations: 0 / 0.5641 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.1768, allocations: 7.984 kB / 0.5641 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1769, allocations: 47.91 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.177, allocations: 4 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.177, allocations: 8.062 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1771, allocations: 11.94 kB / 0.5642 GB, free: 12.45 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.0001799/0.1772, allocations: 161.8 kB / 0.5643 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.1773, allocations: 31.75 kB / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.1774, allocations: 38.06 kB / 0.5644 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1774, allocations: 0 / 0.5644 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1774, allocations: 4 kB / 0.5644 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1774, allocations: 0 / 0.5644 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.1784, allocations: 0.7195 MB / 0.5651 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.1784, allocations: 4 kB / 0.5651 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.1785, allocations: 35.92 kB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.1785, allocations: 0 / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1785, allocations: 4.188 kB / 0.5652 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.1785, allocations: 12.11 kB / 0.5652 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1785, allocations: 3.938 kB / 0.5652 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.179, allocations: 425.8 kB / 0.5656 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.1791, allocations: 100.9 kB / 0.5657 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1792, allocations: 8 kB / 0.5657 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1793, allocations: 11.98 kB / 0.5657 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.1794, allocations: 23.86 kB / 0.5657 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.1794, allocations: 11.98 kB / 0.5657 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.1797, allocations: 273.9 kB / 0.566 GB, free: 10.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1797, allocations: 0 / 0.566 GB, free: 10.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1801, allocations: 55.92 kB / 0.566 GB, free: 10.43 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.002026/0.1821, allocations: 0.5095 MB / 0.5665 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1825, allocations: 144 kB / 0.5667 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1825, allocations: 0 / 0.5667 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.1827, allocations: 76.16 kB / 0.5668 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.1832, allocations: 69.44 kB / 0.5668 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.1841, allocations: 0.5079 MB / 0.5673 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.1847, allocations: 0.7636 MB / 0.5681 GB, free: 8.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1848, allocations: 45.91 kB / 0.5681 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.1849, allocations: 27.44 kB / 0.5681 GB, free: 8.426 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1849, allocations: 0 / 0.5681 GB, free: 8.426 MB / 430.1 MB Notification: Performance of Templates: time 0.007993/0.1929, allocations: 3.181 MB / 0.5712 GB, free: 5.277 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.49282082170248]