Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.002286/0.002286, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.002841/0.002841, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.546/1.546, allocations: 227.4 MB / 251.7 MB, free: 56 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.17 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test79,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 88.05 kB / 490.3 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1567, allocations: 62.45 MB / 0.5398 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003562/0.1603, allocations: 1.922 MB / 0.5417 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1623, allocations: 1.12 MB / 0.5427 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1624, allocations: 7.875 kB / 0.5428 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.1629, allocations: 227.4 kB / 0.543 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.1634, allocations: 219.2 kB / 0.5432 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1637, allocations: 119.6 kB / 0.5433 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.1641, allocations: 251.4 kB / 0.5435 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1642, allocations: 33.59 kB / 0.5436 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1644, allocations: 123.5 kB / 0.5437 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1646, allocations: 147.5 kB / 0.5438 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1647, allocations: 8 kB / 0.5438 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1648, allocations: 67.97 kB / 0.5439 GB, free: 8 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.165, allocations: 59.7 kB / 0.544 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1651, allocations: 95.27 kB / 0.544 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.1655, allocations: 242.8 kB / 0.5443 GB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1655, allocations: 7.938 kB / 0.5443 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1655, allocations: 0 / 0.5443 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1656, allocations: 4 kB / 0.5443 GB, free: 15.61 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.0008667/0.1664, allocations: 0.5678 MB / 0.5448 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1665, allocations: 8.031 kB / 0.5449 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.1666, allocations: 32.75 kB / 0.5449 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.167, allocations: 288.2 kB / 0.5452 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1671, allocations: 20.23 kB / 0.5452 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.1671, allocations: 8.375 kB / 0.5452 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1674, allocations: 115.7 kB / 0.5453 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1674, allocations: 0 / 0.5453 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1674, allocations: 0 / 0.5453 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1675, allocations: 0 / 0.5453 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1676, allocations: 55.89 kB / 0.5453 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.1683, allocations: 472.8 kB / 0.5458 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.1688, allocations: 121.2 kB / 0.5459 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1689, allocations: 49.81 kB / 0.546 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1689, allocations: 4.156 kB / 0.546 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1692, allocations: 121 kB / 0.5461 GB, free: 13.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.1692, allocations: 0 / 0.5461 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001366/0.1706, allocations: 0.5092 MB / 0.5466 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.1706, allocations: 81.11 kB / 0.5467 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.1711, allocations: 444.5 kB / 0.5471 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1712, allocations: 33.7 kB / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.1713, allocations: 160.5 kB / 0.5473 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.1714, allocations: 67.42 kB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.1715, allocations: 41.7 kB / 0.5474 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1717, allocations: 354.8 kB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1718, allocations: 51.98 kB / 0.5478 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.172, allocations: 99.27 kB / 0.5479 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.1723, allocations: 159.4 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1724, allocations: 4 kB / 0.548 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004212/0.1728, allocations: 233.3 kB / 0.5482 GB, free: 11.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1728, allocations: 4 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.1728, allocations: 4 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1729, allocations: 3.938 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.173, allocations: 43.92 kB / 0.5483 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.1731, allocations: 0 / 0.5483 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.1732, allocations: 15.94 kB / 0.5483 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1732, allocations: 20 kB / 0.5483 GB, free: 11.19 MB / 414.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.000174/0.1734, allocations: 165.8 kB / 0.5485 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1734, allocations: 31.81 kB / 0.5485 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1735, allocations: 42.75 kB / 0.5485 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1735, allocations: 0 / 0.5485 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.1736, allocations: 4 kB / 0.5486 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.1736, allocations: 3.984 kB / 0.5486 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.1745, allocations: 0.7389 MB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1746, allocations: 3.984 kB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.1746, allocations: 31.98 kB / 0.5493 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1747, allocations: 4 kB / 0.5493 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1747, allocations: 7.984 kB / 0.5493 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1747, allocations: 4 kB / 0.5493 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1747, allocations: 8.062 kB / 0.5493 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.1752, allocations: 424.5 kB / 0.5497 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.1753, allocations: 108.9 kB / 0.5498 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.1754, allocations: 4 kB / 0.5498 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1755, allocations: 11.98 kB / 0.5499 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.1756, allocations: 27.86 kB / 0.5499 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.1756, allocations: 8.188 kB / 0.5499 GB, free: 9.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.176, allocations: 335 kB / 0.5502 GB, free: 9.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.176, allocations: 3.938 kB / 0.5502 GB, free: 9.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000362/0.1764, allocations: 47.92 kB / 0.5503 GB, free: 9.07 MB / 414.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.002102/0.1785, allocations: 0.506 MB / 0.5508 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.1789, allocations: 159.8 kB / 0.5509 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1789, allocations: 0 / 0.5509 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1791, allocations: 79.91 kB / 0.551 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.1797, allocations: 68.88 kB / 0.551 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1808, allocations: 0.558 MB / 0.5516 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.1814, allocations: 0.7791 MB / 0.5524 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1815, allocations: 41.86 kB / 0.5524 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.1816, allocations: 31.44 kB / 0.5524 GB, free: 6.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1816, allocations: 0 / 0.5524 GB, free: 6.977 MB / 414.1 MB Notification: Performance of Templates: time 0.008078/0.1897, allocations: 3.19 MB / 0.5555 GB, free: 3.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.314845898188651]