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.001496/0.001496, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001774/0.001774, allocations: 173 kB / 23.28 MB, free: 1.223 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.018/1.018, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.02887/0.02887, allocations: 6.503 MB / 266.7 MB, free: 6.473 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.236e-06/3.236e-06, allocations: 0 / 338.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/3.095e-05, allocations: 2.312 kB / 338.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.006559/0.00659, allocations: 5.038 MB / 343.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004341/0.01093, allocations: 2.337 MB / 345.9 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.01202, allocations: 15.94 kB / 345.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.01271, allocations: 194.6 kB / 346.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.014, allocations: 301.9 kB / 346.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.01505, allocations: 379.2 kB / 346.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.01654, allocations: 0.9778 MB / 347.7 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.01759, allocations: 319.5 kB / 348.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.01878, allocations: 0.5652 MB / 348.6 MB, free: 364 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.01945, allocations: 363 kB / 349 MB, free: 0 / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.01969, allocations: 104 kB / 349.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/0.02021, allocations: 211.7 kB / 349.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.02048, allocations: 223.2 kB / 349.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005898/0.02107, allocations: 295.2 kB / 349.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.02253, allocations: 0.7474 MB / 350.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.02254, allocations: 0 / 350.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.02254, allocations: 0 / 350.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.02256, allocations: 0 / 350.5 MB, free: 14.43 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.002139/0.0247, allocations: 1.269 MB / 351.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.02475, allocations: 8.031 kB / 351.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.025, allocations: 152.3 kB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.02569, allocations: 470 kB / 352.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.02581, allocations: 105.3 kB / 352.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.02593, allocations: 80.31 kB / 352.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.0271, allocations: 0.6412 MB / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.02713, allocations: 11.97 kB / 353.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.02719, allocations: 28 kB / 353.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.02721, allocations: 16 kB / 353.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.02768, allocations: 252.3 kB / 353.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.03104, allocations: 2.246 MB / 355.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.03158, allocations: 263.8 kB / 356.1 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.03177, allocations: 139.3 kB / 356.2 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.03182, allocations: 12.28 kB / 356.2 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.03248, allocations: 300.9 kB / 356.5 MB, free: 8.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.395e-06/0.03248, allocations: 0 / 356.5 MB, free: 8.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.000954/0.03344, allocations: 0.5183 MB / 357 MB, free: 7.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.03352, allocations: 170.2 kB / 357.2 MB, free: 7.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.03406, allocations: 494.2 kB / 357.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.0341, allocations: 33.7 kB / 357.7 MB, free: 6.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.03441, allocations: 439.1 kB / 358.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.03451, allocations: 130.9 kB / 358.3 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.03468, allocations: 99.81 kB / 358.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.03484, allocations: 0.539 MB / 358.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.03497, allocations: 158.7 kB / 359 MB, free: 5.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.03517, allocations: 384 kB / 359.4 MB, free: 4.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.03548, allocations: 448.6 kB / 359.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.03548, allocations: 0 / 359.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005278/0.03601, allocations: 0.5712 MB / 360.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.03606, allocations: 97.09 kB / 360.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.03607, allocations: 4 kB / 360.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.03617, allocations: 27.61 kB / 360.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.03638, allocations: 95.83 kB / 360.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007369/0.03712, allocations: 1.717 MB / 362.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.03732, allocations: 59.66 kB / 362.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.03734, allocations: 23.98 kB / 362.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002074/0.03755, allocations: 280.9 kB / 362.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000201/0.03775, allocations: 372 kB / 363.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005587/0.03831, allocations: 447.1 kB / 363.5 MB, free: 344 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.03831, allocations: 4 kB / 363.5 MB, free: 340 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005306/0.03884, allocations: 0.557 MB / 364.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.03888, allocations: 97.09 kB / 364.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.03889, allocations: 4.438 kB / 364.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.354e-05/0.03895, allocations: 27.67 kB / 364.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.03914, allocations: 95.83 kB / 364.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006613/0.0398, allocations: 1.709 MB / 366 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.04, allocations: 67.81 kB / 366.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.04003, allocations: 16 kB / 366.1 MB, free: 13.58 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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.0001578/0.04018, allocations: 361.2 kB / 366.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.04026, allocations: 71.67 kB / 366.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.04064, allocations: 413.9 kB / 366.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.04064, allocations: 4 kB / 366.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.04065, allocations: 4 kB / 366.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.04065, allocations: 0 / 366.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.04144, allocations: 0.9031 MB / 367.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.04145, allocations: 0 / 367.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.0416, allocations: 59.91 kB / 367.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.653e-05/0.04166, allocations: 27.64 kB / 367.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.04168, allocations: 8 kB / 367.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006201/0.0423, allocations: 1.709 MB / 369.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.0423, allocations: 0 / 369.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.04282, allocations: 0.6941 MB / 370.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.04292, allocations: 91.56 kB / 370.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.04296, allocations: 12 kB / 370.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.04311, allocations: 36.09 kB / 370.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.04318, allocations: 39.88 kB / 370.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.04319, allocations: 8 kB / 370.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.04337, allocations: 310.7 kB / 370.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04337, allocations: 4 kB / 370.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000521/0.04389, allocations: 330.9 kB / 371.1 MB, free: 8.23 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.0008731/0.04476, allocations: 476.2 kB / 371.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008696/0.04563, allocations: 1.271 MB / 372.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.04563, allocations: 0 / 372.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.04588, allocations: 459.6 kB / 373.3 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.04619, allocations: 91.06 kB / 373.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.04762, allocations: 1.184 MB / 374.6 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.04772, allocations: 141.7 kB / 374.7 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.04787, allocations: 63.22 kB / 374.8 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.0481, allocations: 178.1 kB / 375 MB, free: 4.262 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.0481, allocations: 7.938 kB / 375 MB, free: 4.254 MB / 298.7 MB Notification: Performance of Templates: time 0.01154/0.05964, allocations: 8.432 MB / 383.4 MB, free: 11.93 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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2848137309774756]