Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001541/0.001541, 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.001855/0.001855, 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.643/1.643, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2546/0.2546, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003062/0.003062, allocations: 79.88 kB / 0.4915 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.159, allocations: 65.99 MB / 0.556 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004139/0.1632, allocations: 1.924 MB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.1658, allocations: 1.142 MB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.166, allocations: 3.938 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.1666, allocations: 259.3 kB / 0.5592 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.1673, allocations: 231.2 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.1677, allocations: 119.6 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.1682, allocations: 267.2 kB / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1683, allocations: 25.67 kB / 0.5598 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.1686, allocations: 135.5 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.169, allocations: 211.3 kB / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.169, allocations: 8 kB / 0.5601 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1692, allocations: 67.97 kB / 0.5602 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1693, allocations: 63.77 kB / 0.5603 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1694, allocations: 99.16 kB / 0.5604 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.1699, allocations: 258.8 kB / 0.5606 GB, free: 472 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1699, allocations: 0 / 0.5606 GB, free: 472 kB / 414.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1699, allocations: 0 / 0.5606 GB, free: 472 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1699, allocations: 0 / 0.5606 GB, free: 472 kB / 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.001005/0.1709, allocations: 0.5948 MB / 0.5612 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1709, allocations: 16.02 kB / 0.5612 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.171, allocations: 28.75 kB / 0.5612 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.1715, allocations: 298.7 kB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1715, allocations: 4.375 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1716, allocations: 12.12 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1719, allocations: 112.8 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1719, allocations: 4 kB / 0.5617 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1719, allocations: 4 kB / 0.5617 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1719, allocations: 4 kB / 0.5617 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.172, allocations: 39.97 kB / 0.5617 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.1728, allocations: 488.7 kB / 0.5622 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.1732, allocations: 129.1 kB / 0.5623 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1733, allocations: 37.83 kB / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1734, allocations: 0 / 0.5623 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.1736, allocations: 125 kB / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1736, allocations: 0 / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.00153/0.1752, allocations: 0.517 MB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.1753, allocations: 77.11 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.1759, allocations: 0.4899 MB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1759, allocations: 37.7 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1761, allocations: 172.4 kB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.1762, allocations: 71.42 kB / 0.5638 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.1763, allocations: 41.7 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1764, allocations: 350.8 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1766, allocations: 55.97 kB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1768, allocations: 105.5 kB / 0.5643 GB, free: 12.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.177, allocations: 159.5 kB / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.177, allocations: 0 / 0.5644 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004506/0.1775, allocations: 237.2 kB / 0.5647 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1775, allocations: 13.88 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1775, allocations: 0 / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1775, allocations: 4 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1777, allocations: 43.91 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1777, allocations: 4 kB / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.1778, allocations: 8 kB / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.1778, allocations: 12 kB / 0.5648 GB, free: 11.93 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.0001917/0.178, allocations: 169.8 kB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.1781, allocations: 39.7 kB / 0.565 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.308e-05/0.1782, allocations: 46.89 kB / 0.565 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1782, allocations: 7.938 kB / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1782, allocations: 0 / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1782, allocations: 0 / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1793, allocations: 0.7391 MB / 0.5657 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1793, allocations: 4 kB / 0.5657 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1794, allocations: 39.91 kB / 0.5658 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1794, allocations: 0 / 0.5658 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1794, allocations: 7.938 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1794, allocations: 4 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1794, allocations: 0 / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.18, allocations: 429.8 kB / 0.5662 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.1801, allocations: 112.9 kB / 0.5663 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1801, allocations: 4 kB / 0.5663 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1803, allocations: 11.98 kB / 0.5663 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.1804, allocations: 23.92 kB / 0.5663 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.1804, allocations: 15.98 kB / 0.5664 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005045/0.1809, allocations: 375.1 kB / 0.5667 GB, free: 9.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1809, allocations: 0 / 0.5667 GB, free: 9.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.1814, allocations: 47.94 kB / 0.5668 GB, free: 9.758 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.002449/0.1838, allocations: 0.5134 MB / 0.5673 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.1843, allocations: 151.8 kB / 0.5674 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1844, allocations: 0 / 0.5674 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1845, allocations: 71.84 kB / 0.5675 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.1853, allocations: 69.5 kB / 0.5675 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1866, allocations: 0.6097 MB / 0.5681 GB, free: 8.512 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.1872, allocations: 0.786 MB / 0.5689 GB, free: 7.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1873, allocations: 37.92 kB / 0.5689 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.1874, allocations: 35.81 kB / 0.569 GB, free: 7.633 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1874, allocations: 0 / 0.569 GB, free: 7.633 MB / 430.1 MB Notification: Performance of Templates: time 0.008482/0.1959, allocations: 3.229 MB / 0.5721 GB, free: 4.438 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.624783635139465]