Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.001799/0.001799, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002246/0.002246, allocations: 164.6 kB / 22.46 MB, free: 5.371 MB / 14.72 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 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.0403/0.0403, allocations: 6.508 MB / 265.7 MB, free: 10.23 MB / 254.1 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 392.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.728e-05, allocations: 2.281 kB / 392.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.007844/0.007881, allocations: 4.82 MB / 397 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.01221, allocations: 2.286 MB / 399.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.01264, allocations: 15.94 kB / 399.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.01318, allocations: 206.4 kB / 399.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008492/0.01403, allocations: 301.9 kB / 399.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.0148, allocations: 386.9 kB / 400.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.01591, allocations: 0.9778 MB / 401.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005477/0.01645, allocations: 311.5 kB / 401.4 MB, free: 376 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.01726, allocations: 0.573 MB / 402 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.01777, allocations: 331 kB / 402.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.01792, allocations: 108 kB / 402.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.0183, allocations: 207.8 kB / 402.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.01855, allocations: 219.2 kB / 402.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.01891, allocations: 295.2 kB / 403.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.02053, allocations: 1.223 MB / 404.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.02053, allocations: 0 / 404.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02054, allocations: 0 / 404.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.02056, allocations: 0 / 404.4 MB, free: 13.43 MB / 334.1 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.002321/0.02288, allocations: 1.158 MB / 405.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.02292, allocations: 12.03 kB / 405.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.02311, allocations: 96.33 kB / 405.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008746/0.02399, allocations: 463.2 kB / 406.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.02415, allocations: 109.3 kB / 406.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.02428, allocations: 80.31 kB / 406.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.02587, allocations: 0.8456 MB / 407.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.02589, allocations: 7.938 kB / 407.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.02597, allocations: 28 kB / 407.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.02598, allocations: 16 kB / 407.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.02742, allocations: 0.5823 MB / 407.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.03115, allocations: 2.199 MB / 409.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.03227, allocations: 432.3 kB / 410.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.03277, allocations: 232.4 kB / 410.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.03281, allocations: 4.281 kB / 410.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.03354, allocations: 385.5 kB / 411 MB, free: 6.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.03354, allocations: 0 / 411 MB, free: 6.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001951/0.03549, allocations: 0.7929 MB / 411.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.03562, allocations: 170.2 kB / 411.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.03635, allocations: 0.5292 MB / 412.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.0364, allocations: 37.7 kB / 412.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.03674, allocations: 380.4 kB / 412.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.03688, allocations: 127 kB / 413 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.03705, allocations: 94.12 kB / 413.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.03724, allocations: 366.8 kB / 413.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.03779, allocations: 271.9 kB / 413.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.03849, allocations: 451.9 kB / 414.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.03969, allocations: 0.6 MB / 414.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.0397, allocations: 4 kB / 414.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001474/0.04117, allocations: 0.7672 MB / 415.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/0.04126, allocations: 93.09 kB / 415.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.04127, allocations: 7.938 kB / 415.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001766/0.04144, allocations: 24.84 kB / 415.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.04186, allocations: 108.1 kB / 415.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.04303, allocations: 1.245 MB / 417 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.04351, allocations: 83.59 kB / 417.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.04356, allocations: 23.98 kB / 417.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007624/0.04432, allocations: 434.3 kB / 417.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006564/0.04497, allocations: 435.9 kB / 417.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001039/0.04601, allocations: 0.5786 MB / 418.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.04602, allocations: 7.938 kB / 418.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001383/0.0474, allocations: 0.7381 MB / 419.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.04748, allocations: 93.09 kB / 419.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.04749, allocations: 4 kB / 419.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.865e-05/0.04758, allocations: 24.84 kB / 419.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.04796, allocations: 99.81 kB / 419.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.04907, allocations: 1.256 MB / 420.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.04951, allocations: 67.73 kB / 420.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.04956, allocations: 27.97 kB / 420.8 MB, free: 11.8 MB / 350.1 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.0002774/0.04983, allocations: 272.1 kB / 421.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.04993, allocations: 63.75 kB / 421.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.05128, allocations: 0.5966 MB / 421.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.05128, allocations: 4 kB / 421.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.05129, allocations: 0 / 421.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.0513, allocations: 3.984 kB / 421.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.05338, allocations: 1.143 MB / 422.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.05338, allocations: 0 / 422.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.05375, allocations: 63.95 kB / 423 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.193e-05/0.05383, allocations: 20.84 kB / 423 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.05387, allocations: 16 kB / 423 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.0549, allocations: 1.244 MB / 424.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0549, allocations: 0 / 424.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.05675, allocations: 0.9568 MB / 425.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.05694, allocations: 103.4 kB / 425.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/0.05701, allocations: 12.09 kB / 425.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.05741, allocations: 47.89 kB / 425.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.05754, allocations: 43.86 kB / 425.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.05758, allocations: 16 kB / 425.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.05806, allocations: 370.9 kB / 425.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05806, allocations: 0 / 425.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000982/0.05904, allocations: 338.9 kB / 426.1 MB, free: 6.23 MB / 350.1 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.001724/0.06076, allocations: 488.7 kB / 426.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.06321, allocations: 1.441 MB / 428 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.06321, allocations: 1.062 kB / 428 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.06399, allocations: 492.6 kB / 428.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.06454, allocations: 89.11 kB / 428.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.06699, allocations: 1.254 MB / 429.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.06734, allocations: 329.2 kB / 430.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.06759, allocations: 51.25 kB / 430.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.06772, allocations: 40.48 kB / 430.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.06772, allocations: 4 kB / 430.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01716/0.08489, allocations: 7.793 MB / 438.1 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.188528820872307] Failed to read output from testmodel.py, exit status != 0: 0.09500326961278915 0.35332302800000004 0.329491178 Calling exit ...