Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.0009677/0.0009677, allocations: 88.86 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.0009504/0.0009504, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.055/1.055, allocations: 177 MB / 205.2 MB, free: 5.051 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.2766/0.2766, allocations: 34.87 MB / 296.6 MB, free: 412 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 3.984 kB / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.958e-05, allocations: 2.312 kB / 326.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002996/0.003026, allocations: 1.806 MB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.004912, allocations: 1.734 MB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.005004, allocations: 3.938 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.00532, allocations: 31.84 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.005629, allocations: 103.3 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.005811, allocations: 83.66 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.005967, allocations: 112.3 kB / 329.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.006052, allocations: 11.98 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.006144, allocations: 59.83 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.006253, allocations: 31.89 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.006272, allocations: 7.938 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.006462, allocations: 107.8 kB / 330.1 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.006509, allocations: 23.91 kB / 330.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.00654, allocations: 23.92 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.006738, allocations: 163.4 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.006739, allocations: 0 / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.00674, allocations: 0 / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006744, allocations: 0 / 330.3 MB, free: 2.719 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003688/0.007113, allocations: 329.5 kB / 330.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.007144, allocations: 8.031 kB / 330.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.007177, allocations: 8.922 kB / 330.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.007341, allocations: 138.2 kB / 330.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.007359, allocations: 4.375 kB / 330.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.007377, allocations: 4.375 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.007526, allocations: 117 kB / 330.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.00754, allocations: 3.938 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.007548, allocations: 4 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007554, allocations: 4 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.007578, allocations: 6.828 kB / 331 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.007785, allocations: 169.9 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.007866, allocations: 85.28 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.007888, allocations: 24.78 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.007898, allocations: 4 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/0.007978, allocations: 58.16 kB / 331.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.007979, allocations: 0 / 331.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000283/0.008262, allocations: 109.6 kB / 331.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.008299, allocations: 85.09 kB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.008399, allocations: 156.7 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.008411, allocations: 25.7 kB / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.008443, allocations: 88.12 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.00847, allocations: 35.72 kB / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.008504, allocations: 25.72 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.00858, allocations: 326.8 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.008595, allocations: 6.828 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.008632, allocations: 60.2 kB / 332.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.008676, allocations: 48.5 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.008677, allocations: 0 / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.963e-05/0.008757, allocations: 72.39 kB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.00877, allocations: 9.391 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.008774, allocations: 0 / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.008787, allocations: 4.062 kB / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.008842, allocations: 16 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.008845, allocations: 0 / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.008873, allocations: 7.984 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.008878, allocations: 0 / 332.3 MB, free: 0.5039 MB / 298.7 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 6.367e-05/0.008942, allocations: 127.3 kB / 332.5 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.008955, allocations: 11.92 kB / 332.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.865e-05/0.009044, allocations: 70.45 kB / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.009045, allocations: 4 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.009047, allocations: 0 / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00905, allocations: 7.938 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.009279, allocations: 299.5 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.00928, allocations: 4 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.009304, allocations: 11.94 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009306, allocations: 0 / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.009312, allocations: 4 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.009313, allocations: 0 / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009314, allocations: 0 / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.897e-05/0.009413, allocations: 219 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.009423, allocations: 7.953 kB / 333.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.009438, allocations: 8.031 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.009477, allocations: 0 / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.009502, allocations: 11.98 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.009512, allocations: 4 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.944e-05/0.009551, allocations: 40.86 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009551, allocations: 0 / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.009721, allocations: 51.86 kB / 333.2 MB, free: 15.57 MB / 314.7 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 (9): * Single equations (assignments): 7 * 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.001551/0.01127, allocations: 0.6936 MB / 333.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.01138, allocations: 40.78 kB / 333.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.01138, allocations: 0 / 333.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.01141, allocations: 28.78 kB / 334 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.01158, allocations: 46.56 kB / 334 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.01184, allocations: 196.1 kB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.01188, allocations: 67.33 kB / 334.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.01192, allocations: 17.3 kB / 334.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.01199, allocations: 75.34 kB / 334.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01199, allocations: 0 / 334.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003917/0.01591, allocations: 2.771 MB / 337.1 MB, free: 11.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.084510089829564]