Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001407/0.001407, allocations: 120.8 kB / 18.45 MB, free: 4.594 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.001544/0.001544, allocations: 201 kB / 21.4 MB, free: 1.648 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.533/1.533, allocations: 227.4 MB / 251.6 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.2436/0.2436, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002337, allocations: 88.98 kB / 490.3 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1617, allocations: 62.44 MB / 0.5397 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.004229/0.1659, allocations: 1.83 MB / 0.5415 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.169, allocations: 1.698 MB / 0.5432 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1691, allocations: 0 / 0.5432 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.1695, allocations: 55.62 kB / 0.5432 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.1699, allocations: 139.4 kB / 0.5434 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1702, allocations: 111.6 kB / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.1705, allocations: 199.4 kB / 0.5437 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.1706, allocations: 9.688 kB / 0.5437 GB, free: 96 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1707, allocations: 87.61 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.171, allocations: 79.75 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.171, allocations: 8 kB / 0.5439 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1712, allocations: 119.7 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.1713, allocations: 39.83 kB / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.1714, allocations: 63.55 kB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.1718, allocations: 227.1 kB / 0.5443 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1718, allocations: 0 / 0.5443 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1718, allocations: 0 / 0.5443 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1718, allocations: 0 / 0.5443 GB, free: 15.48 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.0008422/0.1727, allocations: 0.5019 MB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1727, allocations: 8.031 kB / 0.5448 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.1728, allocations: 20.84 kB / 0.5448 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.1733, allocations: 268.9 kB / 0.5451 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1733, allocations: 384 / 0.5451 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1733, allocations: 4.375 kB / 0.5451 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1736, allocations: 101.4 kB / 0.5452 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1736, allocations: 7.922 kB / 0.5452 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1736, allocations: 8 kB / 0.5452 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1737, allocations: 0 / 0.5452 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1738, allocations: 23.98 kB / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1741, allocations: 218.5 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.1744, allocations: 109.2 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.1745, allocations: 41.69 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.1745, allocations: 4 kB / 0.5456 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1747, allocations: 109 kB / 0.5457 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1747, allocations: 4 kB / 0.5457 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004622/0.1752, allocations: 165.4 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1753, allocations: 136.5 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.1756, allocations: 233 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1756, allocations: 29.7 kB / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.1757, allocations: 120.1 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.1758, allocations: 27.75 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.1758, allocations: 41.64 kB / 0.5464 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.176, allocations: 326.8 kB / 0.5467 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.1761, allocations: 27.98 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1762, allocations: 71.88 kB / 0.5468 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1764, allocations: 95.39 kB / 0.5469 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1764, allocations: 0 / 0.5469 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002705/0.1767, allocations: 141.4 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1767, allocations: 6.031 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1767, allocations: 4 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1768, allocations: 0 / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1769, allocations: 28.05 kB / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1769, allocations: 0 / 0.547 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.177, allocations: 11.95 kB / 0.5471 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.177, allocations: 7.938 kB / 0.5471 GB, free: 12.32 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001318/0.1771, allocations: 137.7 kB / 0.5472 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1772, allocations: 19.84 kB / 0.5472 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1772, allocations: 24.98 kB / 0.5472 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1772, allocations: 0 / 0.5472 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1773, allocations: 0 / 0.5472 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1773, allocations: 8 kB / 0.5472 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1775, allocations: 221.5 kB / 0.5475 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1775, allocations: 0 / 0.5475 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1775, allocations: 15.92 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1775, allocations: 0 / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1775, allocations: 8 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1776, allocations: 4.125 kB / 0.5475 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1776, allocations: 0 / 0.5475 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1779, allocations: 169.8 kB / 0.5476 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1779, allocations: 96.94 kB / 0.5477 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.178, allocations: 4 kB / 0.5477 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.178, allocations: 7.984 kB / 0.5478 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1781, allocations: 11.98 kB / 0.5478 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1781, allocations: 11.98 kB / 0.5478 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1783, allocations: 173.6 kB / 0.5479 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.1783, allocations: 0 / 0.5479 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1786, allocations: 67.73 kB / 0.548 GB, free: 11.26 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001727/0.1803, allocations: 495.8 kB / 0.5485 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1806, allocations: 83.89 kB / 0.5486 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1806, allocations: 0 / 0.5486 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1807, allocations: 39.92 kB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1811, allocations: 61.66 kB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.1817, allocations: 283.8 kB / 0.5489 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.182, allocations: 0.7164 MB / 0.5496 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.542e-05/0.1821, allocations: 42.02 kB / 0.5497 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.1822, allocations: 23.42 kB / 0.5497 GB, free: 9.641 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1822, allocations: 0 / 0.5497 GB, free: 9.641 MB / 414.1 MB Notification: Performance of Templates: time 0.006975/0.1892, allocations: 3.116 MB / 0.5527 GB, free: 6.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.349995642900467]