Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00143/0.00143, allocations: 88.72 kB / 19.44 MB, free: 352 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.00167/0.00167, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.04128/0.04128, allocations: 6.505 MB / 266.1 MB, free: 6.656 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 3.984 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.057e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.006049/0.00608, allocations: 4.818 MB / 342.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.009743, allocations: 2.298 MB / 344.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008211/0.01056, allocations: 19.88 kB / 344.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.01125, allocations: 202.5 kB / 344.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.01236, allocations: 297.9 kB / 345 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.01324, allocations: 383.2 kB / 345.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.01432, allocations: 0.9856 MB / 346.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.0148, allocations: 311.5 kB / 346.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.01547, allocations: 0.5652 MB / 347.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.01585, allocations: 335 kB / 347.5 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.01596, allocations: 104 kB / 347.6 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.01624, allocations: 211.8 kB / 347.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.01638, allocations: 215.3 kB / 348 MB, free: 400 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.0166, allocations: 299.3 kB / 348.3 MB, free: 100 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.01825, allocations: 1.227 MB / 349.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01825, allocations: 4 kB / 349.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01825, allocations: 0 / 349.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.01826, allocations: 0 / 349.6 MB, free: 14.86 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.002448/0.02071, allocations: 1.15 MB / 350.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.02076, allocations: 11.97 kB / 350.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.02109, allocations: 156.3 kB / 350.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.02212, allocations: 479.2 kB / 351.3 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.0223, allocations: 105.3 kB / 351.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.02244, allocations: 76.33 kB / 351.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.02414, allocations: 0.8495 MB / 352.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.02416, allocations: 3.938 kB / 352.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.02424, allocations: 35.98 kB / 352.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.02426, allocations: 19.94 kB / 352.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.02573, allocations: 0.5746 MB / 353 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.02987, allocations: 2.235 MB / 355.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.03123, allocations: 420.1 kB / 355.7 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.03175, allocations: 228.5 kB / 355.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.079e-05/0.03181, allocations: 12.27 kB / 355.9 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008043/0.03261, allocations: 389.7 kB / 356.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/0.03261, allocations: 0 / 356.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002321/0.03494, allocations: 0.7967 MB / 357.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.03511, allocations: 178 kB / 357.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.03598, allocations: 0.5292 MB / 357.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/0.03605, allocations: 33.7 kB / 357.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.0365, allocations: 388.4 kB / 358.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.03666, allocations: 126.9 kB / 358.3 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.03688, allocations: 94.19 kB / 358.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.03717, allocations: 358.8 kB / 358.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.03781, allocations: 275.8 kB / 359 MB, free: 4.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.03859, allocations: 455.8 kB / 359.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.03985, allocations: 0.5999 MB / 360.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.03985, allocations: 0 / 360.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00207/0.04192, allocations: 0.7947 MB / 360.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.04202, allocations: 97.09 kB / 361 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.04204, allocations: 7.938 kB / 361 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.04226, allocations: 28.83 kB / 361 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.04271, allocations: 99.81 kB / 361.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.04412, allocations: 1.253 MB / 362.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.04467, allocations: 79.62 kB / 362.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.04472, allocations: 20 kB / 362.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009642/0.04569, allocations: 434.2 kB / 362.9 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000784/0.04647, allocations: 432 kB / 363.3 MB, free: 244 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001224/0.04769, allocations: 0.5865 MB / 363.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.378e-06/0.0477, 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.001568/0.04927, allocations: 0.7578 MB / 364.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.04938, allocations: 97.09 kB / 364.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.04939, allocations: 4 kB / 364.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.0495, allocations: 28.84 kB / 364.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.04989, allocations: 95.83 kB / 364.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.05118, allocations: 1.256 MB / 366.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.05166, allocations: 71.8 kB / 366.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.05171, allocations: 20 kB / 366.2 MB, free: 13.07 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.0003348/0.05204, allocations: 279.5 kB / 366.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.05219, allocations: 71.67 kB / 366.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.05366, allocations: 0.6121 MB / 367.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.05367, allocations: 4 kB / 367.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.05367, allocations: 0 / 367.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.05368, allocations: 3.984 kB / 367.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.05628, allocations: 1.131 MB / 368.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.05628, allocations: 0 / 368.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.05665, allocations: 67.94 kB / 368.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.05676, allocations: 24.78 kB / 368.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.0568, allocations: 12 kB / 368.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.05805, allocations: 1.252 MB / 369.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.05805, allocations: 0 / 369.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.06011, allocations: 0.9725 MB / 370.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.06032, allocations: 99.44 kB / 370.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.0604, allocations: 11.98 kB / 370.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.06083, allocations: 47.95 kB / 370.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.06098, allocations: 35.94 kB / 370.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.06102, allocations: 12 kB / 370.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000579/0.0616, allocations: 382.7 kB / 371.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0616, allocations: 0 / 371.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001093/0.06269, allocations: 334.9 kB / 371.5 MB, free: 7.465 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.002132/0.06482, allocations: 492.6 kB / 372 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.06752, allocations: 1.442 MB / 373.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.06752, allocations: 0 / 373.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.06835, allocations: 493.6 kB / 373.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.06895, allocations: 96.41 kB / 374 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.07172, allocations: 1.277 MB / 375.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.07212, allocations: 329.3 kB / 375.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.07241, allocations: 51.25 kB / 375.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.07254, allocations: 44.48 kB / 375.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.07254, allocations: 0 / 375.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of Templates: time 0.01694/0.08949, allocations: 7.832 MB / 383.5 MB, free: 11.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.728507507010363]