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.001384/0.001384, 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.001447/0.001447, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9155/0.9155, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02542/0.02542, allocations: 6.467 MB / 266.4 MB, free: 6.621 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.704e-06/1.704e-06, allocations: 0 / 338.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.804e-05, allocations: 2.312 kB / 338.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.007311/0.007329, allocations: 5.155 MB / 343.2 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.01001, allocations: 2.333 MB / 345.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.01038, allocations: 19.94 kB / 345.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.01086, allocations: 222.4 kB / 345.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006302/0.01149, allocations: 345.7 kB / 346.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.01214, allocations: 0.499 MB / 346.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007704/0.01291, allocations: 1.071 MB / 347.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.01328, allocations: 328.5 kB / 348 MB, free: 1.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.01382, allocations: 0.612 MB / 348.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.01418, allocations: 366.9 kB / 349 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.01428, allocations: 116 kB / 349.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.01454, allocations: 255.7 kB / 349.3 MB, free: 496 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.01471, allocations: 267.1 kB / 349.6 MB, free: 228 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.01494, allocations: 331.2 kB / 349.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.01573, allocations: 0.8603 MB / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01573, allocations: 0 / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01573, allocations: 0 / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.01574, allocations: 0 / 350.8 MB, free: 15.04 MB / 330.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.00135/0.01709, allocations: 1.394 MB / 352.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.01712, allocations: 8.031 kB / 352.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.01729, allocations: 164.3 kB / 352.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/0.01785, allocations: 0.543 MB / 352.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.01794, allocations: 110 kB / 353 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.01802, allocations: 80.33 kB / 353.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/0.01878, allocations: 0.7334 MB / 353.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.0188, allocations: 0 / 353.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.01884, allocations: 28 kB / 353.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.01885, allocations: 16 kB / 353.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.01927, allocations: 315 kB / 354.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.02149, allocations: 2.441 MB / 356.6 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.02192, allocations: 291.9 kB / 356.9 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.02206, allocations: 139.6 kB / 357 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.02209, allocations: 12.22 kB / 357 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.02236, allocations: 304.7 kB / 357.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.232e-06/0.02236, allocations: 0 / 357.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.000687/0.02305, allocations: 0.5689 MB / 357.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.02311, allocations: 195.9 kB / 358.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.02375, allocations: 0.6555 MB / 358.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.02378, allocations: 37.7 kB / 358.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.02401, allocations: 475.2 kB / 359.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.02407, allocations: 130.9 kB / 359.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.02418, allocations: 108 kB / 359.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.02433, allocations: 0.5547 MB / 360 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.0245, allocations: 179.3 kB / 360.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.02475, allocations: 443.5 kB / 360.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.02512, allocations: 483.6 kB / 361.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02512, allocations: 0 / 361.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008065/0.02593, allocations: 0.6242 MB / 361.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.02598, allocations: 107.9 kB / 361.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.02598, allocations: 4 kB / 361.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.0261, allocations: 27.61 kB / 361.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.02631, allocations: 99.94 kB / 362 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006841/0.027, allocations: 1.744 MB / 363.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.02719, allocations: 71.64 kB / 363.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.02721, allocations: 20 kB / 363.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002432/0.02746, allocations: 305.2 kB / 364.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002378/0.02769, allocations: 427.6 kB / 364.5 MB, free: 220 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003575/0.02805, allocations: 487.4 kB / 365 MB, free: 15.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.02805, allocations: 3.938 kB / 365 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0005477/0.0286, allocations: 0.6276 MB / 365.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.02864, allocations: 93.09 kB / 365.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.02864, allocations: 4 kB / 365.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-05/0.02869, allocations: 28.11 kB / 365.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.02888, allocations: 103.8 kB / 365.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/0.02946, allocations: 1.732 MB / 367.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.02964, allocations: 63.84 kB / 367.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.02966, allocations: 27.98 kB / 367.7 MB, free: 12.77 MB / 346.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.0001381/0.0298, allocations: 363.3 kB / 368 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.02987, allocations: 87.52 kB / 368.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.03055, allocations: 443.2 kB / 368.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.03055, allocations: 8.031 kB / 368.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.03055, allocations: 0 / 368.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.03056, allocations: 3.984 kB / 368.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.03152, allocations: 1.098 MB / 369.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.03152, allocations: 0 / 369.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.03167, allocations: 59.91 kB / 369.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.137e-05/0.03172, allocations: 23.67 kB / 369.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.03174, allocations: 12 kB / 369.8 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005764/0.03232, allocations: 1.728 MB / 371.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.03232, allocations: 0 / 371.5 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/0.03299, allocations: 0.7371 MB / 372.2 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.03313, allocations: 115.4 kB / 372.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.03317, allocations: 12 kB / 372.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.03333, allocations: 32.06 kB / 372.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.03341, allocations: 43.88 kB / 372.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.03343, allocations: 12 kB / 372.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003221/0.03375, allocations: 427 kB / 372.9 MB, free: 7.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03375, allocations: 0 / 372.9 MB, free: 7.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005331/0.03428, allocations: 366.8 kB / 373.2 MB, free: 6.926 MB / 346.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.001293/0.03557, allocations: 0.6875 MB / 373.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.03652, allocations: 1.336 MB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.03653, allocations: 4.125 kB / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.03705, allocations: 479.5 kB / 375.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.03742, allocations: 113 kB / 375.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.03899, allocations: 1.348 MB / 377.2 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.03909, allocations: 166 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.03924, allocations: 76.34 kB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.03934, allocations: 52.48 kB / 377.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.03934, allocations: 0 / 377.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of Templates: time 0.01137/0.0507, allocations: 9.547 MB / 387 MB, free: 9.211 MB / 362.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: 3.108790583908558]