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.001261/0.001261, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001558/0.001558, allocations: 173.7 kB / 23.28 MB, free: 1.215 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.9828/0.9828, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.02868/0.02868, allocations: 6.486 MB / 266.7 MB, free: 6.496 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.853e-06/1.853e-06, allocations: 0 / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.934e-05, allocations: 6.312 kB / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.005473/0.005502, allocations: 5.041 MB / 343.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.00911, allocations: 2.325 MB / 345.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.009816, allocations: 19.88 kB / 345.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.01042, allocations: 214.4 kB / 346.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.01152, allocations: 345.7 kB / 346.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.0125, allocations: 0.5028 MB / 346.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.01353, allocations: 1.068 MB / 348 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.01391, allocations: 328.5 kB / 348.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.01466, allocations: 0.6197 MB / 349 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.01511, allocations: 362.9 kB / 349.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01525, allocations: 116 kB / 349.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.01571, allocations: 243.8 kB / 349.7 MB, free: 392 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.01592, allocations: 279.1 kB / 349.9 MB, free: 112 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.0162, allocations: 323.2 kB / 350.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009632/0.01716, allocations: 0.8564 MB / 351.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01716, allocations: 4 kB / 351.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01716, allocations: 0 / 351.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.01718, allocations: 0 / 351.1 MB, free: 14.93 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.001316/0.01849, allocations: 1.406 MB / 352.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.01852, allocations: 8.031 kB / 352.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.01869, allocations: 164.3 kB / 352.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.01935, allocations: 0.5273 MB / 353.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.01943, allocations: 114 kB / 353.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.0195, allocations: 84.31 kB / 353.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.02009, allocations: 0.6903 MB / 354.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.02011, allocations: 0 / 354.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.02014, allocations: 28 kB / 354.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.02015, allocations: 16 kB / 354.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.02042, allocations: 260.3 kB / 354.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.02231, allocations: 2.332 MB / 356.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.02262, allocations: 277.7 kB / 357 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.02272, allocations: 127.6 kB / 357.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.02275, allocations: 12.27 kB / 357.1 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.02297, allocations: 296.7 kB / 357.4 MB, free: 8.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.012e-06/0.02297, allocations: 0 / 357.4 MB, free: 8.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005285/0.0235, allocations: 0.5298 MB / 357.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.02356, allocations: 191.9 kB / 358.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.02399, allocations: 0.6357 MB / 358.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.02402, allocations: 37.7 kB / 358.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.02425, allocations: 491 kB / 359.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.02432, allocations: 126.9 kB / 359.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.02443, allocations: 115.9 kB / 359.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003858/0.02481, allocations: 0.5585 MB / 360.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.02492, allocations: 159.4 kB / 360.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.02512, allocations: 419.4 kB / 360.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.02542, allocations: 459.5 kB / 361.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02542, allocations: 0 / 361.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004667/0.02589, allocations: 0.589 MB / 361.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.02593, allocations: 93.09 kB / 361.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02593, allocations: 8 kB / 361.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.314e-05/0.02601, allocations: 35.61 kB / 361.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.02621, allocations: 99.83 kB / 361.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006129/0.02683, allocations: 1.729 MB / 363.6 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.02701, allocations: 67.64 kB / 363.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.02704, allocations: 16 kB / 363.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001935/0.02723, allocations: 285.2 kB / 364 MB, free: 1.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00019/0.02742, allocations: 419.5 kB / 364.4 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002613/0.02768, allocations: 455.4 kB / 364.9 MB, free: 24 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.02768, allocations: 0 / 364.9 MB, free: 24 kB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0004582/0.02814, allocations: 0.5886 MB / 365.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.02818, allocations: 93.09 kB / 365.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.02818, allocations: 4 kB / 365.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.351e-05/0.02823, allocations: 32.05 kB / 365.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.02841, allocations: 99.89 kB / 365.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008138/0.02922, allocations: 1.713 MB / 367.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.0294, allocations: 75.77 kB / 367.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.02942, allocations: 20 kB / 367.5 MB, free: 13.21 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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.0001378/0.02956, allocations: 367.1 kB / 367.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.02963, allocations: 79.58 kB / 367.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.02999, allocations: 415.2 kB / 368.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.03, allocations: 4 kB / 368.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.03, allocations: 0 / 368.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.03, allocations: 0 / 368.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.03083, allocations: 0.9658 MB / 369.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03083, allocations: 4 kB / 369.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.03097, allocations: 59.89 kB / 369.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.761e-05/0.03102, allocations: 19.69 kB / 369.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.03104, allocations: 15.98 kB / 369.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005694/0.03161, allocations: 1.705 MB / 371.1 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.03161, allocations: 3.984 kB / 371.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.03212, allocations: 0.6941 MB / 371.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.03225, allocations: 111.4 kB / 371.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.03229, allocations: 12 kB / 371.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.03244, allocations: 40.06 kB / 372 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.0325, allocations: 35.88 kB / 372 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.03252, allocations: 12 kB / 372 MB, free: 8.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.03277, allocations: 394.8 kB / 372.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03277, allocations: 0 / 372.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000615/0.03339, allocations: 362.9 kB / 372.7 MB, free: 7.652 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.001479/0.03487, allocations: 0.6897 MB / 373.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.03597, allocations: 1.297 MB / 374.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03597, allocations: 0 / 374.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.03622, allocations: 455.6 kB / 375.2 MB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.0366, allocations: 107.5 kB / 375.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.03818, allocations: 1.352 MB / 376.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.779e-05/0.03828, allocations: 162 kB / 376.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.03845, allocations: 80.36 kB / 376.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.0387, allocations: 202.1 kB / 377.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0387, allocations: 0 / 377.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of Templates: time 0.01292/0.05163, allocations: 10.24 MB / 387.3 MB, free: 9.18 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.1460334081202745]