Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.001769/0.001769, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002328/0.002328, allocations: 214.9 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2477/0.2477, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 72.45 kB / 468 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1422, allocations: 61.05 MB / 0.5167 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.0044/0.1466, allocations: 2.181 MB / 0.5188 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.149, allocations: 1.155 MB / 0.52 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1492, allocations: 7.938 kB / 0.52 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.1499, allocations: 295 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.1505, allocations: 270.9 kB / 0.5205 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.1514, allocations: 335.4 kB / 0.5208 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.152, allocations: 0.5179 MB / 0.5213 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1522, allocations: 37.25 kB / 0.5214 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.1525, allocations: 231 kB / 0.5216 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.1529, allocations: 278.9 kB / 0.5218 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.1529, allocations: 20 kB / 0.5219 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1531, allocations: 59.98 kB / 0.5219 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.1532, allocations: 115.5 kB / 0.522 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1534, allocations: 135 kB / 0.5222 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.1538, allocations: 402.1 kB / 0.5225 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1538, allocations: 3.938 kB / 0.5226 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1538, allocations: 0 / 0.5226 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1538, allocations: 4 kB / 0.5226 GB, free: 0.5938 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00113/0.155, allocations: 0.6946 MB / 0.5232 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.155, allocations: 12.03 kB / 0.5232 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.1551, allocations: 52.56 kB / 0.5233 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.1557, allocations: 330.5 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1558, allocations: 12.38 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.1558, allocations: 17.11 kB / 0.5236 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.1562, allocations: 218.7 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1562, allocations: 0 / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1563, allocations: 15.94 kB / 0.5239 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1563, allocations: 0 / 0.5239 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.1565, allocations: 115.8 kB / 0.524 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009945/0.1575, allocations: 0.7743 MB / 0.5247 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.1582, allocations: 297.2 kB / 0.525 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1584, allocations: 92.25 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1584, allocations: 4 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.1589, allocations: 239.4 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.1589, allocations: 0 / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.00206/0.161, allocations: 1.027 MB / 0.5263 GB, free: 12.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1611, allocations: 166.1 kB / 0.5265 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/0.1618, allocations: 0.6317 MB / 0.5271 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.1619, allocations: 41.69 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.162, allocations: 225 kB / 0.5274 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1622, allocations: 131 kB / 0.5275 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1623, allocations: 70.12 kB / 0.5276 GB, free: 11.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1625, allocations: 366.8 kB / 0.5279 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1627, allocations: 104.8 kB / 0.528 GB, free: 10.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.163, allocations: 196.8 kB / 0.5282 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005581/0.1636, allocations: 308.7 kB / 0.5285 GB, free: 10.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1636, allocations: 192 / 0.5285 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000784/0.1644, allocations: 421 kB / 0.5289 GB, free: 9.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1644, allocations: 4 kB / 0.5289 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1644, allocations: 4 kB / 0.5289 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1644, allocations: 7.938 kB / 0.5289 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.1647, allocations: 83.83 kB / 0.529 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1647, allocations: 4.391 kB / 0.529 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1649, allocations: 24.14 kB / 0.529 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.165, allocations: 20 kB / 0.529 GB, free: 9.594 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002449/0.1652, allocations: 208.3 kB / 0.5292 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.1653, allocations: 59.62 kB / 0.5293 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/0.1663, allocations: 493.4 kB / 0.5298 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1663, allocations: 11.94 kB / 0.5298 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1663, allocations: 3.938 kB / 0.5298 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1663, allocations: 96 / 0.5298 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.168, allocations: 1.233 MB / 0.531 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.168, allocations: 4 kB / 0.531 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1682, allocations: 55.92 kB / 0.531 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1682, allocations: 4 kB / 0.531 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.1682, allocations: 15.98 kB / 0.5311 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1682, allocations: 4 kB / 0.5311 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1682, allocations: 8.156 kB / 0.5311 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1693, allocations: 0.867 MB / 0.5319 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.1694, allocations: 43.67 kB / 0.532 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.1694, allocations: 15.98 kB / 0.532 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.1698, allocations: 19.98 kB / 0.532 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.1699, allocations: 47.81 kB / 0.532 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.1699, allocations: 20 kB / 0.5321 GB, free: 6.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.1705, allocations: 470.8 kB / 0.5325 GB, free: 5.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1705, allocations: 4 kB / 0.5325 GB, free: 5.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005498/0.171, allocations: 87.98 kB / 0.5326 GB, free: 5.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001985/0.173, allocations: 0.5047 MB / 0.5331 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.1737, allocations: 303.3 kB / 0.5334 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1737, allocations: 0 / 0.5334 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.174, allocations: 151.7 kB / 0.5335 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.175, allocations: 159.5 kB / 0.5337 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1765, allocations: 0.9068 MB / 0.5346 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1769, allocations: 246.6 kB / 0.5348 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.1771, allocations: 83.33 kB / 0.5349 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1772, allocations: 51.42 kB / 0.5349 GB, free: 3.426 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1772, allocations: 0 / 0.5349 GB, free: 3.426 MB / 414.1 MB Notification: Performance of Templates: time 0.2638/0.441, allocations: 6.529 MB / 0.5413 GB, free: 27.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.915953528136015]