Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.00099/0.00099, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009635/0.0009635, allocations: 169 kB / 23.27 MB, free: 1.227 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.9719/0.9719, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03683/0.03683, allocations: 6.502 MB / 266.8 MB, free: 6.473 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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 0 / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.265e-05, allocations: 2.312 kB / 338.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.007698/0.007731, allocations: 5.062 MB / 343.6 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.01145, allocations: 1.608 MB / 345.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.01225, allocations: 23.88 kB / 345.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.01294, allocations: 198.6 kB / 345.4 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01398, allocations: 297.9 kB / 345.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.01498, allocations: 383.2 kB / 346.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.01633, allocations: 0.9857 MB / 347.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/0.01699, allocations: 348.4 kB / 347.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.018, allocations: 0.5886 MB / 348 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.0186, allocations: 343 kB / 348.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.01874, allocations: 104 kB / 348.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.01902, allocations: 147.9 kB / 348.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.01922, allocations: 223.2 kB / 348.8 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.01951, allocations: 295.2 kB / 349.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.02057, allocations: 0.6889 MB / 349.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.02057, allocations: 0 / 349.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02057, allocations: 0 / 349.8 MB, free: 264 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.02059, allocations: 4 kB / 349.8 MB, free: 260 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001863/0.02245, allocations: 1.256 MB / 351 MB, free: 14.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.0225, allocations: 8.031 kB / 351 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.02275, allocations: 164.3 kB / 351.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.02342, allocations: 466 kB / 351.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.02356, allocations: 110 kB / 351.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.02367, allocations: 72.38 kB / 351.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.02464, allocations: 0.642 MB / 352.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.02467, allocations: 3.953 kB / 352.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.02473, allocations: 32 kB / 352.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.02475, allocations: 20 kB / 352.5 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/0.02522, allocations: 265.1 kB / 352.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.02851, allocations: 2.277 MB / 355.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.02908, allocations: 267.8 kB / 355.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.02925, allocations: 131.6 kB / 355.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.0293, allocations: 8.281 kB / 355.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.02968, allocations: 300.7 kB / 355.8 MB, free: 9.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.02968, allocations: 0 / 355.8 MB, free: 9.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008994/0.03058, allocations: 0.5142 MB / 356.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.03065, allocations: 144.5 kB / 356.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.03116, allocations: 486.3 kB / 356.9 MB, free: 8.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.0312, allocations: 37.7 kB / 356.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.03155, allocations: 447 kB / 357.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.03168, allocations: 126.9 kB / 357.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.03185, allocations: 103.8 kB / 357.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.0321, allocations: 0.539 MB / 358.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.03231, allocations: 154.7 kB / 358.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.03262, allocations: 349.3 kB / 358.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.03311, allocations: 440.8 kB / 359 MB, free: 6.297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.03312, allocations: 4 kB / 359.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008249/0.03394, allocations: 0.5664 MB / 359.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/0.03402, allocations: 97.09 kB / 359.7 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.03403, allocations: 4 kB / 359.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.03419, allocations: 27.67 kB / 359.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.03455, allocations: 91.83 kB / 359.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.03565, allocations: 1.717 MB / 361.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.036, allocations: 63.7 kB / 361.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.03604, allocations: 23.92 kB / 361.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003423/0.03638, allocations: 280.9 kB / 361.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003011/0.03668, allocations: 334.7 kB / 362.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004637/0.03715, allocations: 458.9 kB / 362.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.03715, allocations: 0 / 362.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007546/0.03791, allocations: 0.5493 MB / 363.2 MB, free: 1.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.03797, allocations: 89.55 kB / 363.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.03797, allocations: 4 kB / 363.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.423e-05/0.03807, allocations: 27.67 kB / 363.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.03842, allocations: 95.83 kB / 363.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.0395, allocations: 1.721 MB / 365.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.03984, allocations: 67.83 kB / 365.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.03988, allocations: 16 kB / 365.2 MB, free: 15.52 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,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$whenCondition1) * 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.000266/0.04014, allocations: 359.3 kB / 365.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.04025, allocations: 71.61 kB / 365.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.04089, allocations: 406 kB / 366.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.0409, allocations: 4 kB / 366.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.0409, allocations: 4 kB / 366.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.04091, allocations: 3.984 kB / 366.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.0422, allocations: 0.876 MB / 367 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.0422, allocations: 0 / 367 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.04246, allocations: 55.97 kB / 367 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.301e-05/0.04255, allocations: 23.61 kB / 367 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.04259, allocations: 8 kB / 367 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009686/0.04356, allocations: 1.721 MB / 368.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.04356, allocations: 3.938 kB / 368.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.04439, allocations: 0.6748 MB / 369.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.04457, allocations: 87.56 kB / 369.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.04462, allocations: 15.94 kB / 369.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.04488, allocations: 40.09 kB / 369.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.04499, allocations: 35.94 kB / 369.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.04502, allocations: 8 kB / 369.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003047/0.04532, allocations: 306.7 kB / 369.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.04532, allocations: 3.938 kB / 369.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001005/0.04633, allocations: 318.8 kB / 370.2 MB, free: 10.23 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.001079/0.04741, allocations: 344.3 kB / 370.6 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.04893, allocations: 1.275 MB / 371.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.04894, allocations: 0 / 371.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.04935, allocations: 455.6 kB / 372.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.04989, allocations: 99.95 kB / 372.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.05248, allocations: 1.2 MB / 373.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.05263, allocations: 141.7 kB / 373.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.0529, allocations: 67.22 kB / 373.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.05322, allocations: 170.2 kB / 374 MB, free: 6.328 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.05322, allocations: 0 / 374 MB, free: 6.328 MB / 346.7 MB Notification: Performance of Templates: time 0.01597/0.0692, allocations: 7.611 MB / 381.6 MB, free: 14.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.118179929908365]