Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001601/0.001601, allocations: 122 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.001732/0.001732, allocations: 202.5 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.529/1.529, allocations: 227.4 MB / 251.6 MB, free: 292 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.2534/0.2534, allocations: 46.16 MB / 351.1 MB, free: 14.34 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 75.5 kB / 490.3 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1589, allocations: 62.46 MB / 0.5398 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00381/0.1627, allocations: 1.729 MB / 0.5415 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1648, allocations: 1.024 MB / 0.5425 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.1649, allocations: 0 / 0.5425 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1653, allocations: 83.7 kB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.1658, allocations: 115.6 kB / 0.5426 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.166, allocations: 75.67 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1662, allocations: 119.7 kB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1664, allocations: 11.94 kB / 0.5428 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1665, allocations: 55.77 kB / 0.5429 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.1666, allocations: 59.75 kB / 0.543 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1667, allocations: 8 kB / 0.543 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1668, allocations: 43.98 kB / 0.543 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/0.1669, allocations: 23.92 kB / 0.543 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.167, allocations: 43.66 kB / 0.5431 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1672, allocations: 119.5 kB / 0.5432 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1672, allocations: 0 / 0.5432 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1672, allocations: 0 / 0.5432 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1673, allocations: 0 / 0.5432 GB, free: 0.6562 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.0006661/0.1679, allocations: 442.4 kB / 0.5436 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.168, allocations: 8.031 kB / 0.5436 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.168, allocations: 16.84 kB / 0.5436 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1684, allocations: 212.1 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1684, allocations: 384 / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1685, allocations: 12.36 kB / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1687, allocations: 57.98 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1687, allocations: 3.938 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1687, allocations: 0 / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.1687, allocations: 0 / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.1688, allocations: 23.92 kB / 0.5439 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1693, allocations: 292.9 kB / 0.5442 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1695, allocations: 58.66 kB / 0.5443 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.1696, allocations: 20.86 kB / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1696, allocations: 0 / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.1698, allocations: 71.33 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1698, allocations: 0 / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006442/0.1704, allocations: 185.3 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1705, allocations: 51.41 kB / 0.5446 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.1708, allocations: 227.4 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1708, allocations: 29.7 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.1709, allocations: 104.1 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.171, allocations: 27.84 kB / 0.5449 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.171, allocations: 21.72 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1712, allocations: 330.8 kB / 0.5453 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.1713, allocations: 19.98 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.1714, allocations: 33.7 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1715, allocations: 69.64 kB / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1715, allocations: 0 / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.1717, allocations: 101.5 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1717, allocations: 8 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1718, allocations: 0 / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.1718, allocations: 384 / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1719, allocations: 23.92 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.1719, allocations: 4 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.172, allocations: 4 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.172, allocations: 4 kB / 0.5455 GB, free: 14 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.0001305/0.1721, allocations: 137.8 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1722, allocations: 11.91 kB / 0.5457 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.1722, allocations: 17.56 kB / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1722, allocations: 0 / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1722, allocations: 3.984 kB / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1723, allocations: 0 / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1728, allocations: 403.4 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1728, allocations: 8.031 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.1728, allocations: 11.92 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1728, allocations: 7.938 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1728, allocations: 4 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1729, allocations: 3.938 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1729, allocations: 4 kB / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1731, allocations: 196.3 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.1732, allocations: 89.06 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1732, allocations: 4 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1733, allocations: 11.92 kB / 0.5464 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1734, allocations: 0 / 0.5464 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1734, allocations: 4 kB / 0.5464 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1735, allocations: 169.2 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1736, allocations: 0 / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1738, allocations: 24 kB / 0.5466 GB, free: 12.8 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.001759/0.1756, allocations: 460.9 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1758, allocations: 55.97 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1758, allocations: 0 / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.1759, allocations: 39.97 kB / 0.5471 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1763, allocations: 40.62 kB / 0.5472 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.1768, allocations: 239.3 kB / 0.5474 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1771, allocations: 0.7119 MB / 0.5481 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.1772, allocations: 29.17 kB / 0.5481 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.1772, allocations: 15.44 kB / 0.5481 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1772, allocations: 0 / 0.5481 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005475/0.1827, allocations: 1.741 MB / 0.5498 GB, free: 9.605 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.387152329087257]