Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04055/0.04055, allocations: 6.487 MB / 266 MB, free: 6.652 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.757e-06/3.757e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.388e-05/4.764e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.007927/0.007975, allocations: 4.819 MB / 342.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.0127, allocations: 2.294 MB / 344.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009932/0.0137, allocations: 19.88 kB / 344.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.01456, allocations: 202.5 kB / 344.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.01599, allocations: 301.9 kB / 345 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.01714, allocations: 375.2 kB / 345.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.01853, allocations: 0.9856 MB / 346.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007763/0.0193, allocations: 315.5 kB / 346.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.02044, allocations: 0.5691 MB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000673/0.02111, allocations: 331 kB / 347.5 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.02137, allocations: 104 kB / 347.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.02188, allocations: 215.8 kB / 347.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.02212, allocations: 215.3 kB / 348 MB, free: 396 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.02257, allocations: 291.3 kB / 348.3 MB, free: 104 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.02497, allocations: 1.223 MB / 349.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.02497, allocations: 4 kB / 349.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02497, allocations: 0 / 349.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.349e-05/0.02503, allocations: 0 / 349.6 MB, free: 14.87 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003793/0.02882, allocations: 1.158 MB / 350.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.02887, allocations: 11.97 kB / 350.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.02937, allocations: 152.3 kB / 350.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.03079, allocations: 487.1 kB / 351.4 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.03102, allocations: 109.3 kB / 351.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.03122, allocations: 72.33 kB / 351.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.03369, allocations: 0.8534 MB / 352.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.03373, allocations: 0 / 352.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.03383, allocations: 28 kB / 352.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.03386, allocations: 16 kB / 352.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.036, allocations: 0.5862 MB / 353 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.04201, allocations: 2.235 MB / 355.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.04359, allocations: 420.2 kB / 355.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.04432, allocations: 228.4 kB / 355.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.04438, allocations: 8.281 kB / 355.9 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.04541, allocations: 397.6 kB / 356.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.936e-06/0.04541, allocations: 0 / 356.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002755/0.04817, allocations: 0.7967 MB / 357.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.04834, allocations: 174 kB / 357.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.04951, allocations: 0.5292 MB / 357.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.04959, allocations: 37.7 kB / 357.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.05011, allocations: 380.4 kB / 358.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.05031, allocations: 130.9 kB / 358.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.05059, allocations: 94.19 kB / 358.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002897/0.05087, allocations: 362.8 kB / 358.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.05171, allocations: 275.8 kB / 359 MB, free: 4.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.05274, allocations: 455.8 kB / 359.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.05441, allocations: 0.6039 MB / 360.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.05442, allocations: 0 / 360.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002377/0.0568, allocations: 0.7945 MB / 360.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.05692, allocations: 93.09 kB / 361 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.05694, allocations: 11.92 kB / 361 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.0572, allocations: 24.86 kB / 361 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.05785, allocations: 100.2 kB / 361.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.05958, allocations: 1.257 MB / 362.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.06033, allocations: 75.69 kB / 362.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.0604, allocations: 20 kB / 362.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008676/0.06126, allocations: 438.3 kB / 362.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000686/0.06195, allocations: 428 kB / 363.3 MB, free: 236 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001148/0.0631, allocations: 0.5826 MB / 363.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/0.0631, allocations: 3.938 kB / 363.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001659/0.06476, allocations: 0.7615 MB / 364.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-05/0.06486, allocations: 97.09 kB / 364.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.06486, allocations: 0 / 364.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.06498, allocations: 20.86 kB / 364.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.0654, allocations: 99.81 kB / 364.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.0667, allocations: 1.272 MB / 366.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.06733, allocations: 67.73 kB / 366.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.06739, allocations: 20 kB / 366.2 MB, free: 13.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000373/0.06776, allocations: 281.8 kB / 366.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.06795, allocations: 71.67 kB / 366.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.06946, allocations: 0.6004 MB / 367.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.06947, allocations: 4 kB / 367.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.06947, allocations: 0 / 367.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.06948, allocations: 0 / 367.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.07205, allocations: 1.135 MB / 368.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.07205, allocations: 0 / 368.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.07243, allocations: 63.94 kB / 368.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.07254, allocations: 24.86 kB / 368.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.07259, allocations: 15.92 kB / 368.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.07384, allocations: 1.252 MB / 369.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.07384, allocations: 0 / 369.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.07592, allocations: 0.9763 MB / 370.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.07618, allocations: 99.53 kB / 370.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.07627, allocations: 15.98 kB / 370.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.07673, allocations: 47.94 kB / 370.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.07688, allocations: 35.94 kB / 370.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.07692, allocations: 12 kB / 370.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006054/0.07753, allocations: 374.9 kB / 371.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07753, allocations: 0 / 371.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001177/0.0787, allocations: 338.9 kB / 371.5 MB, free: 7.461 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002209/0.08091, allocations: 492.4 kB / 372 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.0838, allocations: 1.447 MB / 373.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.08381, allocations: 0 / 373.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009055/0.08471, allocations: 492.8 kB / 373.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007721/0.08548, allocations: 87.81 kB / 374 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.08855, allocations: 1.285 MB / 375.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.08899, allocations: 321.3 kB / 375.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.0893, allocations: 59.23 kB / 375.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.08944, allocations: 40.5 kB / 375.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.08944, allocations: 0 / 375.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of Templates: time 0.01853/0.108, allocations: 7.834 MB / 383.5 MB, free: 11.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7494929489912465]