Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001688/0.001688, 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.002006/0.002006, allocations: 207.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.637/1.637, allocations: 227.4 MB / 251.6 MB, free: 48 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.2654/0.2654, allocations: 46.17 MB / 351.1 MB, free: 14.28 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 82.69 kB / 490.3 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1587, allocations: 62.44 MB / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004555/0.1633, allocations: 1.731 MB / 0.5415 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1655, allocations: 1.026 MB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1656, allocations: 4 kB / 0.5425 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.166, allocations: 39.7 kB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.1665, allocations: 95.61 kB / 0.5426 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1668, allocations: 75.67 kB / 0.5427 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1671, allocations: 103.7 kB / 0.5428 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1672, allocations: 15.94 kB / 0.5428 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1673, allocations: 43.78 kB / 0.5428 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.1674, allocations: 35.78 kB / 0.5429 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.1675, allocations: 4 kB / 0.5429 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1676, allocations: 47.98 kB / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.1677, allocations: 19.92 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.1678, allocations: 35.69 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1681, allocations: 111.5 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1681, allocations: 0 / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1681, allocations: 3.938 kB / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1681, allocations: 0 / 0.5431 GB, free: 0.7383 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007077/0.1688, allocations: 425.6 kB / 0.5435 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1689, allocations: 8.031 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1689, allocations: 12.84 kB / 0.5435 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1693, allocations: 212.2 kB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1693, allocations: 384 / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1694, allocations: 4.375 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1696, allocations: 58.06 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1696, allocations: 0 / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1696, allocations: 7.875 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1696, allocations: 7.984 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.1697, allocations: 15.98 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.1702, allocations: 296.8 kB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1704, allocations: 50.69 kB / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.1705, allocations: 28.78 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1705, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.1706, allocations: 67.39 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1707, allocations: 0 / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005978/0.1713, allocations: 177.6 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1713, allocations: 59.41 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1715, allocations: 177.2 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1716, allocations: 33.7 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.1716, allocations: 96.14 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.1717, allocations: 27.78 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1717, allocations: 21.72 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1719, allocations: 326.8 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.172, allocations: 24.05 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.172, allocations: 37.7 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1722, allocations: 65.64 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1722, allocations: 4 kB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002127/0.1724, allocations: 101.5 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1724, allocations: 8 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1724, allocations: 192 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1725, allocations: 0 / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.1726, allocations: 19.92 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1726, allocations: 4 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1726, allocations: 4 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1726, allocations: 4 kB / 0.5453 GB, free: 14.17 MB / 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 (10): * Single equations (assignments): 10 * 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.0001131/0.1728, allocations: 129.8 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.1728, allocations: 7.953 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.1729, allocations: 13.41 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1729, allocations: 7.938 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1729, allocations: 0 / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1729, allocations: 3.984 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.1734, allocations: 391.2 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1734, allocations: 11.97 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.1735, allocations: 8 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1735, allocations: 0 / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1735, allocations: 4 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1735, allocations: 3.938 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1735, allocations: 7.984 kB / 0.5459 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1738, allocations: 200.5 kB / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.1738, allocations: 93.02 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1739, allocations: 4 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.1739, allocations: 3.938 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.174, allocations: 11.92 kB / 0.5462 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.174, allocations: 4 kB / 0.5462 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1742, allocations: 144.9 kB / 0.5463 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 0 / 0.5463 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1744, allocations: 23.94 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001725/0.1762, allocations: 457.8 kB / 0.5468 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1764, allocations: 59.91 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1764, allocations: 0 / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.1765, allocations: 32.05 kB / 0.5469 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1768, allocations: 27.17 kB / 0.5469 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.1774, allocations: 219 kB / 0.5471 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1778, allocations: 0.7002 MB / 0.5478 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.033e-05/0.1779, allocations: 25.22 kB / 0.5478 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.1779, allocations: 15.44 kB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.178, allocations: 0 / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.00581/0.1838, allocations: 1.737 MB / 0.5495 GB, free: 9.867 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.475355254486203]