Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.002192/0.002192, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002148/0.002148, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.818/1.818, 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.3142/0.3142, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 179] 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 63.91 kB / 0.4915 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.163, allocations: 65.99 MB / 0.5559 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004691/0.1677, allocations: 1.766 MB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1698, allocations: 1.021 MB / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.17, allocations: 7.938 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.1704, allocations: 91.69 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.1709, allocations: 127.5 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1712, allocations: 75.75 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1715, allocations: 131.5 kB / 0.5591 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1716, allocations: 15.97 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1718, allocations: 55.77 kB / 0.5591 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.172, allocations: 75.72 kB / 0.5592 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.172, allocations: 4 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1722, allocations: 63.98 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.1723, allocations: 27.86 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.508e-05/0.1724, allocations: 39.67 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1727, allocations: 139.4 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1727, allocations: 0 / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1727, allocations: 0 / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1727, allocations: 0 / 0.5595 GB, free: 1.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008362/0.1736, allocations: 450.4 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1736, allocations: 8.031 kB / 0.5599 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.1737, allocations: 16.84 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1741, allocations: 232.8 kB / 0.5602 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1741, allocations: 384 / 0.5602 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.1741, allocations: 12.11 kB / 0.5602 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1743, allocations: 57.66 kB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1743, allocations: 4 kB / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1743, allocations: 0 / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1743, allocations: 0 / 0.5602 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.1744, allocations: 23.98 kB / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.175, allocations: 312.7 kB / 0.5606 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1753, allocations: 62.53 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.1753, allocations: 20.97 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1754, allocations: 4 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1755, allocations: 71.33 kB / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1755, allocations: 0 / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008708/0.1764, allocations: 241.3 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.1764, allocations: 63.28 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1767, allocations: 238 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1767, allocations: 25.7 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.1768, allocations: 116.1 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.1769, allocations: 39.8 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1769, allocations: 25.72 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1771, allocations: 330.8 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.1772, allocations: 24 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.1773, allocations: 49.69 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1774, allocations: 81.7 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1774, allocations: 4 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002981/0.1777, allocations: 129.5 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1777, allocations: 11.88 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1777, allocations: 0 / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1778, allocations: 4 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.1779, allocations: 19.98 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1779, allocations: 3.938 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.1779, allocations: 4 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1779, allocations: 4 kB / 0.5621 GB, free: 14.71 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 (13): * Single equations (assignments): 13 * 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.0001571/0.1781, allocations: 136 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1781, allocations: 15.91 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.1782, allocations: 21.39 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1782, allocations: 7.938 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1782, allocations: 3.938 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1782, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.1789, allocations: 456 kB / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1789, allocations: 0 / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1789, allocations: 19.92 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1789, allocations: 0 / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.179, allocations: 4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.179, allocations: 0 / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.179, allocations: 0 / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1793, allocations: 245 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.1794, allocations: 93.02 kB / 0.563 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1794, allocations: 0 / 0.563 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1795, allocations: 4 kB / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1795, allocations: 11.98 kB / 0.563 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1795, allocations: 4 kB / 0.563 GB, free: 13.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1797, allocations: 172.4 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1797, allocations: 4 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.18, allocations: 35.94 kB / 0.5632 GB, free: 13.39 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: 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 (11): * Single equations (assignments): 9 * 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.001995/0.182, allocations: 0.5086 MB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1823, allocations: 75.91 kB / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1823, allocations: 0 / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1824, allocations: 43.86 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1827, allocations: 35.2 kB / 0.5639 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.1833, allocations: 300.3 kB / 0.5642 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1837, allocations: 0.7121 MB / 0.5649 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.1838, allocations: 24.62 kB / 0.5649 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.1839, allocations: 15.44 kB / 0.5649 GB, free: 11.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1839, allocations: 4 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Templates: time 0.00593/0.1898, allocations: 2.024 MB / 0.5669 GB, free: 9.828 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.898090709000826]