Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.0008949/0.0008949, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009292/0.0009292, allocations: 165 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 0.8776/0.8776, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.02536/0.02536, allocations: 6.496 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 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.25e-05, allocations: 2.312 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.003774/0.003786, allocations: 5.158 MB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.005291, allocations: 1.597 MB / 344.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.005542, allocations: 23.88 kB / 344.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.005892, allocations: 206.5 kB / 345.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.006296, allocations: 301.9 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.006647, allocations: 367.3 kB / 345.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.007098, allocations: 0.9856 MB / 346.7 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.007385, allocations: 319.5 kB / 347 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.007761, allocations: 0.5691 MB / 347.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.008005, allocations: 339 kB / 347.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.891e-05/0.008074, allocations: 104 kB / 348 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.008194, allocations: 147.9 kB / 348.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.008296, allocations: 215.2 kB / 348.4 MB, free: 448 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.008447, allocations: 291.3 kB / 348.7 MB, free: 156 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.008996, allocations: 0.6812 MB / 349.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.008998, allocations: 0 / 349.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.008999, allocations: 4 kB / 349.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.009005, allocations: 0 / 349.3 MB, free: 15.46 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.001159/0.01016, allocations: 1.223 MB / 350.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.01019, allocations: 8.031 kB / 350.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.01059, allocations: 156.3 kB / 350.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.01103, allocations: 466.1 kB / 351.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/0.01111, allocations: 109.3 kB / 351.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/0.01118, allocations: 76.31 kB / 351.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.01188, allocations: 0.6555 MB / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.0119, allocations: 0 / 352 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.01193, allocations: 28 kB / 352 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.01195, allocations: 16 kB / 352.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.01235, allocations: 311 kB / 352.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.01434, allocations: 2.332 MB / 354.7 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.01478, allocations: 284 kB / 355 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.01492, allocations: 143.3 kB / 355.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.01495, allocations: 8.266 kB / 355.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.01522, allocations: 313 kB / 355.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.01522, allocations: 0 / 355.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006668/0.01589, allocations: 0.5612 MB / 356 MB, free: 8.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.01594, allocations: 140.5 kB / 356.1 MB, free: 8.254 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.01628, allocations: 494.6 kB / 356.6 MB, free: 7.754 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01631, allocations: 41.7 kB / 356.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.01651, allocations: 423.2 kB / 357.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.01658, allocations: 130.9 kB / 357.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01668, allocations: 99.84 kB / 357.3 MB, free: 7.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003585/0.01704, allocations: 0.5352 MB / 357.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.0172, allocations: 178.7 kB / 358 MB, free: 6.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.01742, allocations: 354.7 kB / 358.3 MB, free: 5.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.01777, allocations: 476.7 kB / 358.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01777, allocations: 0 / 358.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005325/0.0183, allocations: 0.5984 MB / 359.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.01835, allocations: 93.09 kB / 359.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01835, allocations: 7.938 kB / 359.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.01847, allocations: 27.67 kB / 359.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.01868, allocations: 95.83 kB / 359.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006705/0.01935, allocations: 1.732 MB / 361.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.01953, allocations: 67.64 kB / 361.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.01956, allocations: 20 kB / 361.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002243/0.01978, allocations: 300.9 kB / 361.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002131/0.02, allocations: 358.7 kB / 362.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000329/0.02033, allocations: 467.2 kB / 362.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/0.02033, allocations: 7.938 kB / 362.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005055/0.02084, allocations: 0.5844 MB / 363.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.02087, allocations: 93.53 kB / 363.2 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.02087, allocations: 8 kB / 363.2 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-05/0.02093, allocations: 31.66 kB / 363.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.02111, allocations: 95.83 kB / 363.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008112/0.02192, allocations: 1.736 MB / 365.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.02209, allocations: 59.89 kB / 365.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.02211, allocations: 23.98 kB / 365.2 MB, free: 14.34 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.0001334/0.02225, allocations: 359.3 kB / 365.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.02231, allocations: 67.67 kB / 365.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.02274, allocations: 437.9 kB / 366 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02274, allocations: 4 kB / 366 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.02275, allocations: 4 kB / 366 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.02275, allocations: 3.984 kB / 366 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/0.02359, allocations: 0.9809 MB / 367 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02359, allocations: 0 / 367 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.02375, allocations: 67.83 kB / 367.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.921e-05/0.0238, allocations: 15.69 kB / 367.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.02383, allocations: 15.98 kB / 367.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005713/0.0244, allocations: 1.74 MB / 368.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0244, allocations: 0 / 368.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.02498, allocations: 0.7255 MB / 369.6 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.02509, allocations: 87.5 kB / 369.7 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.02512, allocations: 8 kB / 369.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.02528, allocations: 40.09 kB / 369.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.02536, allocations: 35.94 kB / 369.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.02538, allocations: 12 kB / 369.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.02558, allocations: 326.8 kB / 370.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02558, allocations: 0 / 370.1 MB, free: 9.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000449/0.02603, allocations: 307 kB / 370.4 MB, free: 8.824 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.0006568/0.02669, allocations: 359 kB / 370.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.02783, allocations: 1.322 MB / 372 MB, free: 7.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02783, allocations: 4.062 kB / 372 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.0281, allocations: 467.6 kB / 372.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.02842, allocations: 93.48 kB / 372.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.02985, allocations: 1.188 MB / 373.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.093e-05/0.02993, allocations: 145.7 kB / 373.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.03007, allocations: 63.23 kB / 374 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.03016, allocations: 48.42 kB / 374 MB, free: 4.988 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03016, allocations: 0 / 374 MB, free: 4.988 MB / 298.7 MB Notification: Performance of Templates: time 0.008715/0.03887, allocations: 7.106 MB / 381.1 MB, free: 13.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7484362428076565]