Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.002447/0.002447, allocations: 89.48 kB / 19.44 MB, free: 332 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.0028/0.0028, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.676/1.676, allocations: 177.1 MB / 203.1 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 178] 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.05918/0.05918, allocations: 6.483 MB / 266 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 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.621e-05, allocations: 4.562 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.00541/0.005437, allocations: 5.07 MB / 342.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003241/0.008678, allocations: 2.31 MB / 344.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.009171, allocations: 15.94 kB / 344.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.009657, allocations: 230.3 kB / 345 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007124/0.01037, allocations: 345.7 kB / 345.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.01115, allocations: 0.4912 MB / 345.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.01188, allocations: 1.071 MB / 346.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.01227, allocations: 324.5 kB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.01284, allocations: 0.6119 MB / 347.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.01324, allocations: 371 kB / 348.2 MB, free: 264 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.01336, allocations: 116 kB / 348.3 MB, free: 148 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.01376, allocations: 251.8 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.01435, allocations: 275 kB / 348.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.01476, allocations: 327.2 kB / 349.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.01671, allocations: 1.422 MB / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01672, allocations: 0 / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01672, allocations: 0 / 350.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.01673, allocations: 0 / 350.5 MB, free: 13.88 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002728/0.01946, allocations: 1.488 MB / 352 MB, free: 12.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.01949, allocations: 8.031 kB / 352 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.01977, allocations: 172.3 kB / 352.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.02078, allocations: 0.5701 MB / 352.8 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.02093, allocations: 114 kB / 352.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.02106, allocations: 76.33 kB / 352.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.02271, allocations: 0.9358 MB / 353.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.02274, allocations: 7.984 kB / 353.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.0228, allocations: 32 kB / 353.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.02282, allocations: 16 kB / 353.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.02407, allocations: 0.5316 MB / 354.5 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.0291, allocations: 2.959 MB / 357.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.03011, allocations: 433.1 kB / 357.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.03058, allocations: 231.3 kB / 358.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.03062, allocations: 12.22 kB / 358.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007271/0.03135, allocations: 400.8 kB / 358.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/0.03135, allocations: 0 / 358.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001828/0.03318, allocations: 0.7722 MB / 359.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.03334, allocations: 191.9 kB / 359.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.03467, allocations: 0.8705 MB / 360.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.03473, allocations: 33.7 kB / 360.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.03528, allocations: 0.5225 MB / 360.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.03543, allocations: 135 kB / 361 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.03566, allocations: 143.9 kB / 361.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004403/0.0361, allocations: 0.6172 MB / 361.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.0366, allocations: 271.3 kB / 362 MB, free: 1.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/0.03734, allocations: 0.5464 MB / 362.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.03869, allocations: 0.648 MB / 363.2 MB, free: 464 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.03869, allocations: 0 / 363.2 MB, free: 464 kB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001522/0.04021, allocations: 0.8073 MB / 364 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/0.0403, allocations: 97.05 kB / 364.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.04031, allocations: 0 / 364.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.04049, allocations: 36.05 kB / 364.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.0409, allocations: 107.9 kB / 364.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.04249, allocations: 1.779 MB / 366 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.04293, allocations: 67.61 kB / 366.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.04298, allocations: 24.11 kB / 366.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007472/0.04373, allocations: 473.2 kB / 366.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007095/0.04444, allocations: 0.5269 MB / 367.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001036/0.04547, allocations: 0.6361 MB / 367.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.04547, allocations: 0 / 367.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00145/0.04692, allocations: 0.7877 MB / 368.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.047, allocations: 89.11 kB / 368.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.04701, allocations: 4 kB / 368.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.04711, allocations: 32.11 kB / 368.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.04748, allocations: 103.8 kB / 368.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.04917, allocations: 1.786 MB / 370.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.04957, allocations: 59.75 kB / 370.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.04962, allocations: 24.12 kB / 370.6 MB, free: 8.418 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 (62): * Single equations (assignments): 58 * 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.0003424/0.04996, allocations: 373.5 kB / 371 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.05011, allocations: 87.52 kB / 371.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.05134, allocations: 0.5733 MB / 371.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.05134, allocations: 4 kB / 371.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.05135, allocations: 0 / 371.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.05135, allocations: 0 / 371.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.05383, allocations: 1.454 MB / 373.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.05383, allocations: 0 / 373.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.05412, allocations: 59.91 kB / 373.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.05422, allocations: 23.67 kB / 373.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.05425, allocations: 15.94 kB / 373.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.05571, allocations: 1.775 MB / 375 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.05571, allocations: 0 / 375 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.05746, allocations: 1.003 MB / 376 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.05774, allocations: 115.6 kB / 376.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.05782, allocations: 12 kB / 376.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.05815, allocations: 31.97 kB / 376.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.05828, allocations: 43.88 kB / 376.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.05831, allocations: 8 kB / 376.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.05932, allocations: 0.5263 MB / 376.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05932, allocations: 0 / 376.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001049/0.06037, allocations: 366.8 kB / 377.1 MB, free: 1.652 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.005132/0.0655, allocations: 0.77 MB / 377.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.06808, allocations: 1.648 MB / 379.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.06809, allocations: 0 / 379.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007948/0.06888, allocations: 0.5464 MB / 380 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.06958, allocations: 128.1 kB / 380.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.0722, allocations: 1.446 MB / 381.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.07264, allocations: 368.2 kB / 382 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000282/0.07292, allocations: 76.38 kB / 382 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.07307, allocations: 48.48 kB / 382.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.07307, allocations: 0 / 382.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of Templates: time 0.01966/0.09273, allocations: 9.509 MB / 391.6 MB, free: 3.266 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.043506493093446]