Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001363/0.001363, allocations: 84.73 kB / 19.44 MB, free: 352 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.001647/0.001647, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.05916/0.05916, allocations: 6.494 MB / 266.1 MB, free: 6.641 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.447e-06/3.447e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.438e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.008537/0.008571, allocations: 4.815 MB / 342.2 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.01263, allocations: 1.589 MB / 343.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.0134, allocations: 15.94 kB / 343.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.01409, allocations: 202.5 kB / 344 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.01518, allocations: 301.9 kB / 344.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.01621, allocations: 371.3 kB / 344.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.01729, allocations: 0.9778 MB / 345.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.01791, allocations: 315.5 kB / 345.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.01872, allocations: 0.5652 MB / 346.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.01919, allocations: 323 kB / 346.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.01934, allocations: 104 kB / 346.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.01962, allocations: 144 kB / 347 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.01981, allocations: 211.3 kB / 347.2 MB, free: 1.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.02013, allocations: 287.3 kB / 347.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.02168, allocations: 1.153 MB / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.02168, allocations: 0 / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.02168, allocations: 0 / 348.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.0217, allocations: 0 / 348.7 MB, free: 15.75 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003314/0.02501, allocations: 1.135 MB / 349.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.02506, allocations: 11.97 kB / 349.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004234/0.02549, allocations: 152.3 kB / 350 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.02705, allocations: 471.2 kB / 350.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.02729, allocations: 113.3 kB / 350.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.0275, allocations: 80.27 kB / 350.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.02986, allocations: 0.8118 MB / 351.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.02989, allocations: 0 / 351.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.02999, allocations: 32 kB / 351.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.03002, allocations: 16 kB / 351.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.0321, allocations: 0.5784 MB / 352 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.03783, allocations: 2.231 MB / 354.3 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.03948, allocations: 420.3 kB / 354.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.04019, allocations: 236.4 kB / 354.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.04026, allocations: 4.281 kB / 354.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.04132, allocations: 397.6 kB / 355.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.996e-06/0.04133, allocations: 0 / 355.3 MB, free: 8.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002884/0.04421, allocations: 0.7967 MB / 356.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.0444, allocations: 148.3 kB / 356.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.04546, allocations: 0.5175 MB / 356.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.04554, allocations: 37.7 kB / 356.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005534/0.04609, allocations: 380.4 kB / 357.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.04631, allocations: 130.9 kB / 357.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/0.04695, allocations: 90.19 kB / 357.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003116/0.04727, allocations: 366.8 kB / 357.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.04804, allocations: 271.9 kB / 358 MB, free: 5.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/0.04895, allocations: 421.3 kB / 358.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.05055, allocations: 0.6039 MB / 359 MB, free: 4.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.05056, allocations: 0 / 359 MB, free: 4.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002205/0.05276, allocations: 0.7829 MB / 359.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.05288, allocations: 89.11 kB / 359.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.0529, allocations: 15.86 kB / 359.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.05318, allocations: 28.84 kB / 359.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.05379, allocations: 100.2 kB / 360 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.05554, allocations: 1.253 MB / 361.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.05626, allocations: 83.62 kB / 361.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.05633, allocations: 28.14 kB / 361.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001114/0.05744, allocations: 426.1 kB / 361.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009182/0.05836, allocations: 401.4 kB / 362.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001525/0.05989, allocations: 0.5826 MB / 362.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.056e-05/0.0599, allocations: 7.938 kB / 362.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002156/0.06205, allocations: 0.7575 MB / 363.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.06217, allocations: 89.11 kB / 363.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.06218, allocations: 4 kB / 363.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.06236, allocations: 28.84 kB / 363.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.06294, allocations: 99.81 kB / 363.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.065, allocations: 1.26 MB / 365 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.06571, allocations: 67.73 kB / 365.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.06578, allocations: 20 kB / 365.1 MB, free: 14.16 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 (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.0005208/0.0663, allocations: 276.2 kB / 365.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.06651, allocations: 71.67 kB / 365.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.0681, allocations: 0.5927 MB / 366.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.0681, allocations: 7.984 kB / 366.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.06811, allocations: 0 / 366.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.06811, allocations: 7.938 kB / 366.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.07049, allocations: 1.119 MB / 367.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.07049, allocations: 0 / 367.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.07087, allocations: 71.89 kB / 367.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.07098, allocations: 24.84 kB / 367.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.07103, allocations: 15.94 kB / 367.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.07255, allocations: 1.244 MB / 368.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.07256, allocations: 0 / 368.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.07466, allocations: 0.9724 MB / 369.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.07491, allocations: 99.48 kB / 369.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.282e-05/0.07499, allocations: 12 kB / 369.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.07542, allocations: 47.95 kB / 369.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.07557, allocations: 35.94 kB / 369.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.0756, allocations: 12 kB / 369.7 MB, free: 9.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005682/0.07617, allocations: 366.9 kB / 370.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07617, allocations: 0 / 370.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001071/0.07724, allocations: 307 kB / 370.4 MB, free: 8.625 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.001846/0.07909, allocations: 391 kB / 370.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002795/0.08188, allocations: 1.451 MB / 372.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.08189, allocations: 0 / 372.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.08277, allocations: 484.6 kB / 372.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.08341, allocations: 94.39 kB / 372.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.08633, allocations: 1.278 MB / 374.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.08679, allocations: 317.3 kB / 374.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.08711, allocations: 67.23 kB / 374.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.0875, allocations: 40.48 kB / 374.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0875, allocations: 7.875 kB / 374.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of Templates: time 0.01704/0.1045, allocations: 7.08 MB / 381.6 MB, free: 13.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.845050867064856]