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.0008541/0.0008541, allocations: 93.16 kB / 19.65 MB, free: 288 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.0009041/0.0009041, allocations: 168.9 kB / 23.02 MB, free: 1.559 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.9764/0.9764, allocations: 177.1 MB / 203.4 MB, free: 5.102 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.02566/0.02566, allocations: 6.484 MB / 266.4 MB, free: 6.352 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 1.874e-06/1.874e-06, allocations: 0 / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.78e-05, allocations: 6.312 kB / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.005081/0.005099, allocations: 5.155 MB / 343.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.007526, allocations: 2.333 MB / 345.6 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.007806, allocations: 19.88 kB / 345.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.008193, allocations: 206.5 kB / 345.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.008705, allocations: 301.9 kB / 346.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.009161, allocations: 383.2 kB / 346.4 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000684/0.009845, allocations: 0.9778 MB / 347.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.01021, allocations: 315.5 kB / 347.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.01073, allocations: 0.5691 MB / 348.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.01108, allocations: 355 kB / 348.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.01117, allocations: 108 kB / 348.8 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.01139, allocations: 207.8 kB / 349 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.01154, allocations: 219.2 kB / 349.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.01174, allocations: 295.3 kB / 349.5 MB, free: 404 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007079/0.01245, allocations: 0.7551 MB / 350.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01245, allocations: 0 / 350.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01245, allocations: 0 / 350.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.01246, allocations: 0 / 350.2 MB, free: 15.64 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001314/0.01377, allocations: 1.254 MB / 351.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01382, allocations: 12.03 kB / 351.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.01399, allocations: 148.4 kB / 351.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.01449, allocations: 474 kB / 352.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.01457, allocations: 109.3 kB / 352.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.01465, allocations: 76.33 kB / 352.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.01541, allocations: 0.692 MB / 353 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.01542, allocations: 0 / 353 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.01547, allocations: 28 kB / 353 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01548, allocations: 16 kB / 353 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.01593, allocations: 315 kB / 353.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.01798, allocations: 2.336 MB / 355.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.01844, allocations: 292.5 kB / 355.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.01859, allocations: 143.6 kB / 356.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.01862, allocations: 8.281 kB / 356.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.01891, allocations: 312.7 kB / 356.4 MB, free: 9.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 4.359e-06/0.01891, allocations: 4 kB / 356.4 MB, free: 9.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.000716/0.01963, allocations: 0.5573 MB / 357 MB, free: 8.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.01969, allocations: 170.2 kB / 357.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.02007, allocations: 0.4986 MB / 357.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.0201, allocations: 37.7 kB / 357.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.0203, allocations: 435.1 kB / 358.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.02037, allocations: 126.9 kB / 358.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.02047, allocations: 111.7 kB / 358.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.02062, allocations: 0.5313 MB / 358.8 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.02084, allocations: 174.7 kB / 359 MB, free: 6.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.02115, allocations: 388.1 kB / 359.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.02152, allocations: 472.9 kB / 359.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02152, allocations: 4 kB / 359.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000591/0.02212, allocations: 0.602 MB / 360.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.02216, allocations: 95.75 kB / 360.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02217, allocations: 8.375 kB / 360.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.0223, allocations: 27.67 kB / 360.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.02251, allocations: 99.83 kB / 360.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/0.02324, allocations: 1.732 MB / 362.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.02343, allocations: 67.78 kB / 362.5 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.02346, allocations: 27.98 kB / 362.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002488/0.02371, allocations: 296.9 kB / 362.8 MB, free: 2.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002397/0.02395, allocations: 388.1 kB / 363.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003602/0.02431, allocations: 483 kB / 363.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.02431, allocations: 3.938 kB / 363.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005515/0.02486, allocations: 0.5884 MB / 364.2 MB, free: 448 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.0249, allocations: 97.03 kB / 364.3 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.0249, allocations: 4 kB / 364.3 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.183e-05/0.02496, allocations: 28.11 kB / 364.4 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.02515, allocations: 91.89 kB / 364.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.02581, allocations: 1.74 MB / 366.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.02599, allocations: 55.77 kB / 366.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.02601, allocations: 20 kB / 366.3 MB, free: 14.26 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 (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.0001557/0.02617, allocations: 360.8 kB / 366.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.02624, allocations: 71.62 kB / 366.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.02672, allocations: 445.9 kB / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.02672, allocations: 4 kB / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.02673, allocations: 0 / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02673, allocations: 3.984 kB / 367.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/0.02768, allocations: 1.008 MB / 368.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02768, allocations: 4 kB / 368.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.02785, allocations: 59.91 kB / 368.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-05/0.02791, allocations: 19.67 kB / 368.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.02793, allocations: 16 kB / 368.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/0.02856, allocations: 1.74 MB / 370 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02856, allocations: 0 / 370 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.02921, allocations: 0.7294 MB / 370.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.02937, allocations: 99.44 kB / 370.8 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.02943, allocations: 8 kB / 370.8 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.02965, allocations: 31.97 kB / 370.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.02973, allocations: 35.94 kB / 370.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.02975, allocations: 16.06 kB / 370.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.02999, allocations: 330.8 kB / 371.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02999, allocations: 0 / 371.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005351/0.03052, allocations: 330.9 kB / 371.5 MB, free: 8.672 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.0008793/0.0314, allocations: 462.3 kB / 372 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009931/0.0324, allocations: 1.328 MB / 373.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0324, allocations: 0 / 373.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.03269, allocations: 472.8 kB / 373.8 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.03303, allocations: 98.52 kB / 373.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.03457, allocations: 1.172 MB / 375.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.714e-05/0.03465, allocations: 145.7 kB / 375.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.0348, allocations: 59.23 kB / 375.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.03488, allocations: 44.48 kB / 375.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03489, allocations: 4 kB / 375.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of Templates: time 0.009896/0.04478, allocations: 7.869 MB / 383.2 MB, free: 12.98 MB / 362.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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.026407742872834]