Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001311/0.001311, 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.00138/0.00138, 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.6 MB, free: 68 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.222/0.222, allocations: 46.16 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 87.55 kB / 490.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1549, allocations: 62.44 MB / 0.5397 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003806/0.1588, allocations: 1.758 MB / 0.5415 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1608, allocations: 1.021 MB / 0.5425 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.252e-05/0.1609, allocations: 3.938 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.1613, allocations: 111.6 kB / 0.5426 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1617, allocations: 123.5 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1619, allocations: 79.67 kB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1621, allocations: 131.7 kB / 0.5429 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1623, allocations: 15.98 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1624, allocations: 59.75 kB / 0.543 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1625, allocations: 75.69 kB / 0.543 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1625, allocations: 4 kB / 0.543 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1627, allocations: 55.98 kB / 0.5431 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.1628, allocations: 39.89 kB / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.1628, allocations: 39.69 kB / 0.5432 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1631, allocations: 159.3 kB / 0.5433 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1631, allocations: 7.938 kB / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1631, allocations: 0 / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1632, allocations: 0 / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000796/0.164, allocations: 467 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.164, allocations: 8.031 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.1641, allocations: 20.8 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1644, allocations: 225.1 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1645, allocations: 384 / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1645, allocations: 7.562 kB / 0.544 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1647, allocations: 73.59 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1647, allocations: 0 / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1647, allocations: 0 / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1648, allocations: 0 / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1649, allocations: 35.97 kB / 0.5441 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.1654, allocations: 328.6 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1657, allocations: 78.53 kB / 0.5445 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.1658, allocations: 24.84 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1658, allocations: 4 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.166, allocations: 71.33 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 3.106e-06/0.166, allocations: 4.094 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008773/0.1669, allocations: 281.2 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.167, allocations: 63.39 kB / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1673, allocations: 251.7 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1673, allocations: 33.69 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.1674, allocations: 112.1 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.1674, allocations: 39.69 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.1675, allocations: 29.72 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1677, allocations: 330.8 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.1678, allocations: 32 kB / 0.5457 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1679, allocations: 55.81 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1681, allocations: 89.64 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1681, allocations: 0 / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002557/0.1683, allocations: 141.5 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1684, allocations: 8 kB / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1684, allocations: 0 / 0.546 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.1684, allocations: 3.938 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.1685, allocations: 31.92 kB / 0.546 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1685, allocations: 0.7031 kB / 0.546 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.1686, allocations: 4 kB / 0.5461 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1686, allocations: 4 kB / 0.5461 GB, free: 13.43 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 (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.0001354/0.1687, allocations: 142.8 kB / 0.5462 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1688, allocations: 19.86 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/0.1689, allocations: 25.33 kB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1689, allocations: 0 / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1689, allocations: 0 / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1689, allocations: 0 / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.1695, allocations: 480 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1695, allocations: 4.062 kB / 0.5467 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.1696, allocations: 23.92 kB / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1696, allocations: 0 / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1696, allocations: 4 kB / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1696, allocations: 0 / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1696, allocations: 0 / 0.5467 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.17, allocations: 261 kB / 0.547 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.17, allocations: 89.02 kB / 0.5471 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1701, allocations: 4 kB / 0.5471 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.1701, allocations: 7.984 kB / 0.5471 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.1702, allocations: 11.94 kB / 0.5471 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1702, allocations: 7.984 kB / 0.5471 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1704, allocations: 193.5 kB / 0.5473 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1704, allocations: 0 / 0.5473 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1707, allocations: 35.94 kB / 0.5473 GB, free: 12.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001958/0.1727, allocations: 0.5025 MB / 0.5478 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1729, allocations: 91.84 kB / 0.5479 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.173, allocations: 0 / 0.5479 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1731, allocations: 47.92 kB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1735, allocations: 41.25 kB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.1741, allocations: 324.7 kB / 0.5483 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1744, allocations: 0.7266 MB / 0.549 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.1745, allocations: 25.06 kB / 0.549 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.1746, allocations: 19.44 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1746, allocations: 0 / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Templates: time 0.005658/0.1802, allocations: 2.118 MB / 0.5511 GB, free: 8.293 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.410506380721927]