Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 113.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2711/0.2711, allocations: 46.89 MB / 358.1 MB, free: 10.5 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00356/0.00356, allocations: 80.2 kB / 0.4924 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1692, allocations: 65.99 MB / 0.5569 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003383/0.1725, allocations: 1.694 MB / 0.5585 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1744, allocations: 1.022 MB / 0.5595 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.1745, allocations: 0 / 0.5595 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.1748, allocations: 51.75 kB / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.1752, allocations: 107.6 kB / 0.5597 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1754, allocations: 71.69 kB / 0.5597 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1756, allocations: 103.7 kB / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1757, allocations: 240 / 0.5598 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1758, allocations: 39.8 kB / 0.5599 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.1759, allocations: 35.78 kB / 0.5599 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1759, allocations: 4 kB / 0.5599 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.176, allocations: 35.92 kB / 0.56 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.1761, allocations: 27.91 kB / 0.56 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.1761, allocations: 35.69 kB / 0.56 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1764, allocations: 123.4 kB / 0.5601 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1764, allocations: 0 / 0.5601 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1764, allocations: 0 / 0.5601 GB, free: 2.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1764, allocations: 0 / 0.5601 GB, free: 2.477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006459/0.177, allocations: 450.5 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1771, allocations: 8.031 kB / 0.5606 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.1771, allocations: 16.89 kB / 0.5606 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1775, allocations: 224.9 kB / 0.5608 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1775, allocations: 4.375 kB / 0.5608 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1775, allocations: 8.359 kB / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1777, allocations: 57.98 kB / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1777, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1777, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1777, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.1778, allocations: 15.98 kB / 0.5609 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.178, allocations: 185.7 kB / 0.5611 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1782, allocations: 58.55 kB / 0.5611 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1782, allocations: 12.86 kB / 0.5611 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1783, allocations: 3.984 kB / 0.5611 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.1784, allocations: 71.33 kB / 0.5612 GB, free: 1.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1784, allocations: 0 / 0.5612 GB, free: 1.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.1787, allocations: 105.5 kB / 0.5613 GB, free: 1.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1788, allocations: 55.41 kB / 0.5614 GB, free: 1.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1791, allocations: 270.8 kB / 0.5616 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1791, allocations: 25.7 kB / 0.5616 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.1792, allocations: 116.1 kB / 0.5617 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1792, allocations: 15.89 kB / 0.5618 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1792, allocations: 21.7 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1794, allocations: 326.8 kB / 0.5621 GB, free: 248 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.1795, allocations: 19.98 kB / 0.5621 GB, free: 228 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1795, allocations: 21.72 kB / 0.5621 GB, free: 200 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1796, allocations: 49.64 kB / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1796, allocations: 0 / 0.5622 GB, free: 144 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.1798, allocations: 85.53 kB / 0.5623 GB, free: 52 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1798, allocations: 4 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1798, allocations: 0 / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1798, allocations: 12.02 kB / 0.5623 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.1799, allocations: 12.25 kB / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1799, allocations: 3.938 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.18, allocations: 11.95 kB / 0.5623 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.18, allocations: 4 kB / 0.5623 GB, free: 4 kB / 414.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 (7): * Single equations (assignments): 7 * 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.0001365/0.1801, allocations: 133.8 kB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1801, allocations: 19.84 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1802, allocations: 16.98 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1802, allocations: 8 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1802, allocations: 0 / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1802, allocations: 0 / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.1804, allocations: 193.6 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1804, allocations: 0 / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.1804, allocations: 11.92 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1804, allocations: 0 / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.1804, allocations: 4 kB / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1804, allocations: 0 / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1804, allocations: 0 / 0.5627 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1806, allocations: 117 kB / 0.5628 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.1807, allocations: 92.95 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1807, allocations: 4 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.1808, allocations: 4 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1808, allocations: 11.97 kB / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1808, allocations: 0 / 0.5629 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.181, allocations: 200.6 kB / 0.5631 GB, free: 15.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.181, allocations: 0 / 0.5631 GB, free: 15.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1813, allocations: 23.98 kB / 0.5631 GB, free: 15.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001498/0.1828, allocations: 419.4 kB / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1829, allocations: 43.92 kB / 0.5636 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1829, allocations: 0 / 0.5636 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.183, allocations: 19.98 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1833, allocations: 26.8 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.1839, allocations: 304.1 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1842, allocations: 0.7158 MB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.1843, allocations: 11.44 kB / 0.5646 GB, free: 13.65 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1843, allocations: 3.938 kB / 0.5646 GB, free: 13.65 MB / 430.1 MB Notification: Performance of Templates: time 0.004105/0.1884, allocations: 1.891 MB / 0.5664 GB, free: 11.76 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.001884802011773]