Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.00138/0.00138, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001538/0.001538, allocations: 173 kB / 23.49 MB, free: 1.059 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.02792/0.02792, allocations: 6.5 MB / 266.8 MB, free: 6.707 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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.197e-05, allocations: 2.312 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.01273/0.01276, allocations: 5.151 MB / 343.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.01906, allocations: 1.62 MB / 344.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/0.02, allocations: 19.88 kB / 344.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.02376, allocations: 198.6 kB / 345.1 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.0249, allocations: 297.9 kB / 345.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.02573, allocations: 383.2 kB / 345.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004228/0.02996, allocations: 0.9896 MB / 346.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006589/0.03062, allocations: 360.4 kB / 347.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008178/0.03143, allocations: 0.573 MB / 347.7 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.03188, allocations: 350.9 kB / 348 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003211/0.03509, allocations: 104 kB / 348.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.03537, allocations: 151.9 kB / 348.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.03553, allocations: 215.3 kB / 348.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.03578, allocations: 295.2 kB / 348.7 MB, free: 404 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.03689, allocations: 0.693 MB / 349.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.03689, allocations: 8 kB / 349.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0369, allocations: 0 / 349.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.00121/0.03811, allocations: 0 / 349.5 MB, free: 15.69 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001696/0.0398, allocations: 1.241 MB / 350.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.03984, allocations: 8.031 kB / 350.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.04005, allocations: 160.4 kB / 350.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.04063, allocations: 470 kB / 351.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.04075, allocations: 118 kB / 351.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.04083, allocations: 72.38 kB / 351.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/0.04171, allocations: 0.6812 MB / 352.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.04173, allocations: 3.953 kB / 352.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.04178, allocations: 31.98 kB / 352.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.0418, allocations: 16 kB / 352.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.04228, allocations: 323.1 kB / 352.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.04469, allocations: 2.366 MB / 354.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.04522, allocations: 287.9 kB / 355.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.04538, allocations: 139.3 kB / 355.3 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.04542, allocations: 12.28 kB / 355.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.04574, allocations: 309 kB / 355.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/0.04574, allocations: 0 / 355.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.000784/0.04653, allocations: 0.5573 MB / 356.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.04658, allocations: 136.5 kB / 356.3 MB, free: 8.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.04706, allocations: 0.4946 MB / 356.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.04709, allocations: 33.7 kB / 356.9 MB, free: 7.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.0473, allocations: 439.1 kB / 357.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.04738, allocations: 123 kB / 357.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.04749, allocations: 99.8 kB / 357.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.04765, allocations: 0.5352 MB / 358 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.04783, allocations: 182.7 kB / 358.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.0482, allocations: 362.6 kB / 358.6 MB, free: 5.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.04857, allocations: 476.7 kB / 359 MB, free: 5.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.04857, allocations: 0 / 359 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000604/0.04918, allocations: 0.6015 MB / 359.6 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.04923, allocations: 93.09 kB / 359.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.04923, allocations: 4 kB / 359.7 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.04937, allocations: 23.67 kB / 359.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.04959, allocations: 91.89 kB / 359.9 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000806/0.05039, allocations: 1.748 MB / 361.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.05061, allocations: 63.7 kB / 361.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.05064, allocations: 20 kB / 361.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005596/0.0512, allocations: 300.9 kB / 362 MB, free: 2.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002312/0.05143, allocations: 346.7 kB / 362.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000407/0.05184, allocations: 487.1 kB / 362.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.005e-06/0.05184, allocations: 3.984 kB / 362.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000545/0.05238, allocations: 0.5806 MB / 363.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.05242, allocations: 96.5 kB / 363.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.05243, allocations: 8 kB / 363.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.651e-05/0.0525, allocations: 27.67 kB / 363.5 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.0527, allocations: 95.77 kB / 363.6 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/0.05342, allocations: 1.724 MB / 365.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.05362, allocations: 63.84 kB / 365.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.05365, allocations: 20 kB / 365.4 MB, free: 14.46 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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.0001962/0.05385, allocations: 368.2 kB / 365.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.05391, allocations: 67.67 kB / 365.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.05442, allocations: 438 kB / 366.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.05442, allocations: 8 kB / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.05443, allocations: 8 kB / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.05443, allocations: 0 / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.05549, allocations: 0.9964 MB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.05549, allocations: 4 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.05567, allocations: 51.97 kB / 367.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.05575, allocations: 23.67 kB / 367.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.05577, allocations: 11.94 kB / 367.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/0.05673, allocations: 1.736 MB / 369.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.05673, allocations: 0 / 369.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.05738, allocations: 0.7216 MB / 369.8 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.0575, allocations: 95.48 kB / 369.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.05754, allocations: 12 kB / 369.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.05771, allocations: 32.11 kB / 370 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.0578, allocations: 35.94 kB / 370 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.05782, allocations: 15.98 kB / 370 MB, free: 9.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.05806, allocations: 322.8 kB / 370.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05806, allocations: 0 / 370.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006177/0.05868, allocations: 314.9 kB / 370.6 MB, free: 8.918 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.0007975/0.05947, allocations: 356.3 kB / 371 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.06056, allocations: 1.322 MB / 372.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.06056, allocations: 4.062 kB / 372.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.06085, allocations: 463.6 kB / 372.8 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.06121, allocations: 89.14 kB / 372.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.06303, allocations: 1.219 MB / 374.1 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.258e-05/0.06312, allocations: 149.7 kB / 374.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.0633, allocations: 63.22 kB / 374.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.06338, allocations: 40.48 kB / 374.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.06339, allocations: 0 / 374.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of Templates: time 0.01064/0.07403, allocations: 7.14 MB / 381.4 MB, free: 13.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0891455598175526]