Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001095/0.001095, allocations: 92.22 kB / 19.65 MB, free: 276 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.001319/0.001319, allocations: 173 kB / 23.02 MB, free: 1.547 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.081/1.081, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02831/0.02831, allocations: 6.474 MB / 266.4 MB, free: 6.637 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.977e-06/3.977e-06, allocations: 0 / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.745e-05, allocations: 4.562 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.006319/0.006357, allocations: 5.132 MB / 343.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.01011, allocations: 2.333 MB / 345.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.01091, allocations: 19.88 kB / 345.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.01148, allocations: 202.5 kB / 345.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009058/0.01239, allocations: 305.9 kB / 346.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.0131, allocations: 371.3 kB / 346.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009345/0.01404, allocations: 0.9778 MB / 347.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.01448, allocations: 323.5 kB / 347.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.01519, allocations: 0.5614 MB / 348.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.01566, allocations: 351 kB / 348.6 MB, free: 200 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.01577, allocations: 104 kB / 348.7 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.01618, allocations: 207.9 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.01635, allocations: 219.2 kB / 349.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.0166, allocations: 299.2 kB / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.01767, allocations: 0.7434 MB / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01767, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.01767, allocations: 0 / 350.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.01769, allocations: 0 / 350.2 MB, free: 14.64 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001785/0.01948, allocations: 1.254 MB / 351.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.01952, allocations: 12.03 kB / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.01974, allocations: 156.3 kB / 351.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.02036, allocations: 462.1 kB / 352 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.02048, allocations: 105.3 kB / 352.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.02057, allocations: 76.33 kB / 352.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009353/0.02151, allocations: 0.6804 MB / 352.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.02153, allocations: 7.938 kB / 352.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.02158, allocations: 31.94 kB / 352.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.02159, allocations: 16 kB / 352.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.0221, allocations: 311.1 kB / 353.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.02483, allocations: 2.332 MB / 355.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.0254, allocations: 296.7 kB / 355.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.02557, allocations: 143.3 kB / 356 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.02561, allocations: 8.281 kB / 356 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.02597, allocations: 309 kB / 356.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.003e-06/0.02597, allocations: 0 / 356.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008809/0.02685, allocations: 0.5574 MB / 356.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.02693, allocations: 166.2 kB / 357 MB, free: 7.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.0274, allocations: 0.5064 MB / 357.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.02744, allocations: 33.7 kB / 357.6 MB, free: 6.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.02767, allocations: 423.2 kB / 358 MB, free: 6.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.02776, allocations: 127 kB / 358.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.02789, allocations: 103.8 kB / 358.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.02806, allocations: 0.5391 MB / 358.8 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.02825, allocations: 174.7 kB / 358.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.02853, allocations: 396 kB / 359.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.02896, allocations: 476.7 kB / 359.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.02897, allocations: 8 kB / 359.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006945/0.02966, allocations: 0.5904 MB / 360.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.02973, allocations: 93.09 kB / 360.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.02974, allocations: 4.438 kB / 360.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.0299, allocations: 31.61 kB / 360.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.03016, allocations: 91.89 kB / 360.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009886/0.03115, allocations: 1.744 MB / 362.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.03141, allocations: 71.77 kB / 362.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.03144, allocations: 20 kB / 362.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002953/0.03173, allocations: 300.9 kB / 362.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000295/0.03203, allocations: 388.1 kB / 363.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004146/0.03244, allocations: 475 kB / 363.6 MB, free: 108 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.03245, allocations: 0 / 363.6 MB, free: 108 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006866/0.03313, allocations: 0.5923 MB / 364.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.03318, allocations: 89.11 kB / 364.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.03319, allocations: 4 kB / 364.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.392e-05/0.03328, allocations: 27.67 kB / 364.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.0335, allocations: 96.27 kB / 364.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008522/0.03435, allocations: 1.736 MB / 366.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.03459, allocations: 59.75 kB / 366.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.03462, allocations: 20 kB / 366.2 MB, free: 13.29 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.0002311/0.03485, allocations: 367.4 kB / 366.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.03494, allocations: 75.62 kB / 366.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.03549, allocations: 441.9 kB / 367.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.0355, allocations: 4 kB / 367.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.0355, allocations: 0 / 367.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.03551, allocations: 0 / 367.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.03663, allocations: 1.02 MB / 368.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.03664, allocations: 8 kB / 368.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.03682, allocations: 51.97 kB / 368.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-05/0.0369, allocations: 23.67 kB / 368.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.03693, allocations: 8 kB / 368.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007909/0.03772, allocations: 1.728 MB / 369.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.03773, allocations: 0 / 369.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.03843, allocations: 0.7294 MB / 370.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.03856, allocations: 95.48 kB / 370.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.03861, allocations: 12 kB / 370.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.03877, allocations: 31.97 kB / 370.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.03887, allocations: 35.94 kB / 370.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.0389, allocations: 19.97 kB / 370.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.03917, allocations: 326.8 kB / 371.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03917, allocations: 0 / 371.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000704/0.03987, allocations: 338.8 kB / 371.5 MB, free: 7.699 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.0009809/0.04085, allocations: 453 kB / 371.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.04203, allocations: 1.332 MB / 373.2 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.04203, allocations: 0 / 373.2 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.04233, allocations: 464.9 kB / 373.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.04271, allocations: 104.9 kB / 373.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.04462, allocations: 1.188 MB / 375 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.04473, allocations: 137.7 kB / 375.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.0449, allocations: 59.23 kB / 375.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.04499, allocations: 40.5 kB / 375.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04499, allocations: 4 kB / 375.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of Templates: time 0.01284/0.05783, allocations: 8.24 MB / 383.5 MB, free: 11.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3731123618781567]