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.001018/0.001018, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001058/0.001058, allocations: 165.9 kB / 24.91 MB, free: 8.773 MB / 18.57 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.059/1.059, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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.2916/0.2916, allocations: 34.85 MB / 296.6 MB, free: 396 kB / 266.7 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.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|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 2.264e-06/2.264e-06, allocations: 0 / 326.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.762e-05, allocations: 8.844 kB / 326.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003304/0.003342, allocations: 1.967 MB / 328 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.005241, allocations: 1.115 MB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.005356, allocations: 0 / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.005848, allocations: 231.2 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.006324, allocations: 207.2 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.006656, allocations: 131.5 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.007009, allocations: 263.2 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.007134, allocations: 23.09 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.007332, allocations: 147.6 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.007499, allocations: 135.7 kB / 330.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.007523, allocations: 8 kB / 330.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.007647, allocations: 67.8 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.007727, allocations: 67.75 kB / 330.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.007783, allocations: 39.8 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.008047, allocations: 195.2 kB / 330.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.008054, allocations: 3.984 kB / 330.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008056, allocations: 4 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.008064, allocations: 0 / 330.6 MB, free: 2.391 MB / 298.7 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.0005902/0.008655, allocations: 488.2 kB / 331.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.008699, allocations: 8.031 kB / 331.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.008759, allocations: 20.92 kB / 331.1 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.009011, allocations: 209.8 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.009042, allocations: 8.375 kB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.009067, allocations: 4.375 kB / 331.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.009281, allocations: 118 kB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.009296, allocations: 4.188 kB / 331.5 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.009308, allocations: 4.375 kB / 331.5 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.009319, allocations: 7.938 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.00937, allocations: 25.62 kB / 331.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.009781, allocations: 300.8 kB / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.01006, allocations: 182.6 kB / 332 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.0101, allocations: 29.95 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01012, allocations: 8 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.01029, allocations: 115.7 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.01029, allocations: 0 / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000751/0.01104, allocations: 316.7 kB / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.01109, allocations: 81.11 kB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.01132, allocations: 328.6 kB / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.01137, allocations: 33.7 kB / 332.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.01143, allocations: 117.5 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.01149, allocations: 79.41 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.01154, allocations: 37.69 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01166, allocations: 354.7 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.0117, allocations: 30.81 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.01175, allocations: 56.05 kB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.01186, allocations: 105.5 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01186, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001706/0.01203, allocations: 143.1 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01205, allocations: 5.25 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01206, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01207, allocations: 4 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01218, allocations: 47.91 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01218, allocations: 0 / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.01223, allocations: 11.95 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01224, allocations: 8 kB / 333.9 MB, free: 14.94 MB / 314.7 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.0001034/0.01235, allocations: 128.6 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01238, allocations: 31.91 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.01259, allocations: 157.7 kB / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.0126, allocations: 4 kB / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.0126, allocations: 0 / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01261, allocations: 0 / 334.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.01308, allocations: 0.5632 MB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.01309, allocations: 4 kB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.01315, allocations: 27.98 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.01315, allocations: 8.109 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01317, allocations: 12 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01317, allocations: 8.109 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.01318, allocations: 4 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.01343, allocations: 415.2 kB / 335.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.01346, allocations: 23.81 kB / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.01349, allocations: 11.94 kB / 335.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.01357, allocations: 11.98 kB / 335.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.01362, allocations: 15.97 kB / 335.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.01364, allocations: 12 kB / 335.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01376, allocations: 143.4 kB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01376, allocations: 0 / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.01401, allocations: 59.88 kB / 335.5 MB, free: 13.23 MB / 314.7 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 (24): * Single equations (assignments): 20 * 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.001575/0.01558, allocations: 0.6456 MB / 336.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.01577, allocations: 106.8 kB / 336.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.01578, allocations: 4 kB / 336.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.01585, allocations: 60.83 kB / 336.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.01619, allocations: 69.84 kB / 336.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.01682, allocations: 493.5 kB / 336.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.205e-05/0.01689, allocations: 96.3 kB / 336.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.01697, allocations: 38.17 kB / 337 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01708, allocations: 99.34 kB / 337.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01708, allocations: 0 / 337.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Templates: time 0.006006/0.02309, allocations: 3.649 MB / 340.7 MB, free: 8.297 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.136724781244993]