Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001827/0.001827, allocations: 89.47 kB / 19.44 MB, free: 344 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.002026/0.002026, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.04547/0.04547, allocations: 6.492 MB / 266.1 MB, free: 6.684 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.239e-05, allocations: 2.312 kB / 337.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.005858/0.005891, allocations: 5.101 MB / 342.5 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.009571, allocations: 2.31 MB / 344.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.01019, allocations: 23.94 kB / 344.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.0107, allocations: 226.3 kB / 345 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007817/0.01148, allocations: 341.7 kB / 345.3 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.01235, allocations: 0.5029 MB / 345.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.01315, allocations: 1.071 MB / 346.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.01356, allocations: 320.6 kB / 347.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005833/0.01415, allocations: 0.6236 MB / 347.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.01455, allocations: 363 kB / 348.2 MB, free: 224 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01467, allocations: 116 kB / 348.3 MB, free: 108 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.01513, allocations: 255.7 kB / 348.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.01546, allocations: 275.1 kB / 348.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.01587, allocations: 331.1 kB / 349.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.01806, allocations: 1.429 MB / 350.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.01807, allocations: 0 / 350.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01807, allocations: 0 / 350.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.01809, allocations: 4 kB / 350.6 MB, free: 13.82 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002743/0.02084, allocations: 1.491 MB / 352.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.02088, allocations: 8.031 kB / 352.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.02121, allocations: 168.3 kB / 352.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.0223, allocations: 0.5741 MB / 352.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.02246, allocations: 110 kB / 352.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.0226, allocations: 80.33 kB / 353 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.02458, allocations: 0.9436 MB / 354 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.02461, allocations: 4 kB / 354 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.02468, allocations: 28 kB / 354 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.02471, allocations: 16 kB / 354 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.02595, allocations: 0.5401 MB / 354.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.03126, allocations: 3.005 MB / 357.6 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.03236, allocations: 421.4 kB / 358 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.03283, allocations: 223.3 kB / 358.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/0.03289, allocations: 8.281 kB / 358.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008216/0.03371, allocations: 409 kB / 358.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.066e-06/0.03371, allocations: 0 / 358.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001955/0.03567, allocations: 0.7719 MB / 359.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.03585, allocations: 187.9 kB / 359.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.03724, allocations: 0.8705 MB / 360.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.03729, allocations: 33.7 kB / 360.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.03785, allocations: 0.5226 MB / 361 MB, free: 2.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.03801, allocations: 138.9 kB / 361.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.03824, allocations: 143.9 kB / 361.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004528/0.0387, allocations: 0.6133 MB / 361.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.0392, allocations: 271.3 kB / 362.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/0.03995, allocations: 0.5385 MB / 362.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.04104, allocations: 0.6558 MB / 363.3 MB, free: 356 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.04105, allocations: 0 / 363.3 MB, free: 356 kB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001615/0.04266, allocations: 0.8036 MB / 364.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.04277, allocations: 97.09 kB / 364.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.04278, allocations: 4 kB / 364.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.043, allocations: 23.69 kB / 364.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.04369, allocations: 103.9 kB / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.04531, allocations: 1.791 MB / 366.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.04577, allocations: 63.66 kB / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.04582, allocations: 23.98 kB / 366.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007955/0.04662, allocations: 469.2 kB / 366.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007315/0.04735, allocations: 0.5191 MB / 367.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001056/0.0484, allocations: 0.6441 MB / 367.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.04841, allocations: 0 / 367.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00148/0.04988, allocations: 0.7842 MB / 368.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/0.04998, allocations: 97.09 kB / 368.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.04999, allocations: 4 kB / 368.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.0501, allocations: 27.62 kB / 368.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.05048, allocations: 103.8 kB / 368.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.05212, allocations: 1.775 MB / 370.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.05254, allocations: 67.7 kB / 370.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.05259, allocations: 20 kB / 370.7 MB, free: 8.332 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.0003529/0.05294, allocations: 363.3 kB / 371.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.0531, allocations: 87.52 kB / 371.2 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.05464, allocations: 0.5809 MB / 371.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.05465, allocations: 4 kB / 371.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.05465, allocations: 0 / 371.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.05466, allocations: 12.02 kB / 371.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.05731, allocations: 1.45 MB / 373.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.05732, allocations: 0 / 373.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.05764, allocations: 63.91 kB / 373.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.05775, allocations: 23.67 kB / 373.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.05779, allocations: 12 kB / 373.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.05928, allocations: 1.771 MB / 375.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.05928, allocations: 4.125 kB / 375.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.06108, allocations: 0.9988 MB / 376.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.06136, allocations: 119.4 kB / 376.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.06144, allocations: 8 kB / 376.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.06179, allocations: 35.97 kB / 376.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.06192, allocations: 39.94 kB / 376.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.06196, allocations: 12 kB / 376.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008544/0.06281, allocations: 0.5302 MB / 376.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06281, allocations: 0 / 376.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001157/0.06397, allocations: 362.8 kB / 377.2 MB, free: 1.559 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.005044/0.06902, allocations: 0.7561 MB / 377.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003189/0.0722, allocations: 1.652 MB / 379.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.07221, allocations: 4 kB / 379.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.07309, allocations: 0.5505 MB / 380.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.07405, allocations: 121.9 kB / 380.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.07712, allocations: 1.435 MB / 381.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.0776, allocations: 376 kB / 382.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000312/0.07791, allocations: 76.34 kB / 382.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.07807, allocations: 52.48 kB / 382.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.532e-06/0.07807, allocations: 0 / 382.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of Templates: time 0.02131/0.09937, allocations: 9.513 MB / 391.7 MB, free: 3.164 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.999758493970148]