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.001217/0.001217, allocations: 92.22 kB / 19.65 MB, free: 280 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.001419/0.001419, allocations: 169 kB / 23.02 MB, free: 1.551 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.9754/0.9754, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.02718/0.02718, allocations: 6.495 MB / 266.4 MB, free: 6.633 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.645e-06/2.645e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.964e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.00573/0.00576, allocations: 5.161 MB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.00843, allocations: 2.337 MB / 345.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.0089, allocations: 15.94 kB / 345.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.009349, allocations: 222.4 kB / 345.8 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.009984, allocations: 341.7 kB / 346.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.01075, allocations: 0.5068 MB / 346.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000771/0.01152, allocations: 1.071 MB / 347.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.01188, allocations: 332.5 kB / 348 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.01239, allocations: 0.6159 MB / 348.7 MB, free: 144 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.01275, allocations: 367 kB / 349 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.01285, allocations: 116 kB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.01318, allocations: 251.6 kB / 349.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.01339, allocations: 279.1 kB / 349.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.01395, allocations: 327.2 kB / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.01504, allocations: 0.8603 MB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.01505, allocations: 4 kB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01505, allocations: 3.938 kB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.01506, allocations: 0 / 350.8 MB, free: 13.96 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.001747/0.0168, allocations: 1.394 MB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.01685, allocations: 12.03 kB / 352.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.01709, allocations: 172.3 kB / 352.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007312/0.01782, allocations: 0.5468 MB / 353 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.01794, allocations: 110 kB / 353.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.01804, allocations: 80.33 kB / 353.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.01903, allocations: 0.7373 MB / 353.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.01905, allocations: 7.938 kB / 353.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.0191, allocations: 31.98 kB / 353.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.01912, allocations: 16 kB / 353.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.01966, allocations: 312.4 kB / 354.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.02242, allocations: 2.446 MB / 356.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.02319, allocations: 291.9 kB / 357 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.02337, allocations: 143.3 kB / 357.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.02341, allocations: 8.281 kB / 357.1 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.02375, allocations: 309 kB / 357.4 MB, free: 7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.02375, allocations: 0 / 357.4 MB, free: 7 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008839/0.02463, allocations: 0.5612 MB / 358 MB, free: 6.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.02471, allocations: 195.9 kB / 358.2 MB, free: 6.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.0254, allocations: 0.6479 MB / 358.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.02543, allocations: 33.7 kB / 358.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.02572, allocations: 487 kB / 359.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.02581, allocations: 126.9 kB / 359.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.02596, allocations: 112 kB / 359.6 MB, free: 4.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.02615, allocations: 0.5547 MB / 360.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.02637, allocations: 179.4 kB / 360.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.02669, allocations: 435.5 kB / 360.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.02717, allocations: 487.4 kB / 361.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.02717, allocations: 8 kB / 361.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008078/0.02798, allocations: 0.6314 MB / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.02804, allocations: 97.09 kB / 361.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.02805, allocations: 448 / 361.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/0.0282, allocations: 31.67 kB / 362 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.0285, allocations: 103.8 kB / 362.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.02965, allocations: 1.724 MB / 363.8 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.02996, allocations: 75.77 kB / 363.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.03, allocations: 24 kB / 363.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003351/0.03033, allocations: 309.1 kB / 364.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003171/0.03065, allocations: 435.4 kB / 364.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004597/0.03111, allocations: 483.5 kB / 365.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.03111, allocations: 0 / 365.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0007413/0.03185, allocations: 0.6237 MB / 365.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.0319, allocations: 97.09 kB / 365.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.03191, allocations: 0 / 365.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-05/0.03199, allocations: 23.69 kB / 365.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.03225, allocations: 104.3 kB / 365.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/0.03307, allocations: 1.751 MB / 367.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.03334, allocations: 55.77 kB / 367.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.03337, allocations: 20 kB / 367.8 MB, free: 11.68 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.0002089/0.03358, allocations: 376.3 kB / 368.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.03368, allocations: 87.47 kB / 368.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.03428, allocations: 435.3 kB / 368.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.03429, allocations: 4 kB / 368.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.03429, allocations: 0 / 368.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.0343, allocations: 3.984 kB / 368.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.03563, allocations: 1.094 MB / 369.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.03563, allocations: 4 kB / 369.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.03584, allocations: 59.91 kB / 369.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-05/0.03592, allocations: 19.67 kB / 369.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.03595, allocations: 8 kB / 369.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.03701, allocations: 1.736 MB / 371.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.03701, allocations: 0 / 371.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.03779, allocations: 0.737 MB / 372.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.03797, allocations: 115.5 kB / 372.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.03803, allocations: 8.047 kB / 372.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.03825, allocations: 39.95 kB / 372.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.03835, allocations: 35.94 kB / 372.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.03837, allocations: 16.06 kB / 372.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.03881, allocations: 419 kB / 372.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03881, allocations: 0 / 372.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00086/0.03967, allocations: 370.8 kB / 373.3 MB, free: 5.836 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.001667/0.04134, allocations: 0.6799 MB / 374 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.04264, allocations: 1.348 MB / 375.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.04265, allocations: 4 kB / 375.3 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.04302, allocations: 467.8 kB / 375.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.04359, allocations: 117.9 kB / 375.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.04588, allocations: 1.365 MB / 377.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.04601, allocations: 162 kB / 377.4 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.04625, allocations: 76.36 kB / 377.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.04636, allocations: 48.48 kB / 377.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of SimCode: time 1.833e-06/0.04637, allocations: 4 kB / 377.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of Templates: time 0.01647/0.06284, allocations: 9.985 MB / 387.5 MB, free: 7.668 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: 3.238832431845367]