Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001488/0.001488, allocations: 88.72 kB / 19.44 MB, free: 356 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.001666/0.001666, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.545/1.545, 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 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.04602/0.04602, allocations: 6.468 MB / 266 MB, free: 6.66 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.817e-05, allocations: 2.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005563/0.005591, allocations: 4.784 MB / 342.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.00827, allocations: 1.592 MB / 343.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.008867, allocations: 15.94 kB / 343.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.00941, allocations: 206.5 kB / 343.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008482/0.01026, allocations: 282 kB / 344.2 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.011, allocations: 383.2 kB / 344.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.01188, allocations: 0.9739 MB / 345.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.01237, allocations: 311.5 kB / 345.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.01316, allocations: 0.5612 MB / 346.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.01359, allocations: 323 kB / 346.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.01373, allocations: 104 kB / 346.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.01396, allocations: 140 kB / 347 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.01411, allocations: 215.3 kB / 347.2 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.01444, allocations: 287.2 kB / 347.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.01565, allocations: 1.145 MB / 348.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01565, allocations: 0 / 348.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01565, allocations: 0 / 348.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.01569, allocations: 0 / 348.6 MB, free: 15.81 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002762/0.01845, allocations: 1.131 MB / 349.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.01849, allocations: 12.03 kB / 349.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.01882, allocations: 148.3 kB / 349.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.01982, allocations: 471.3 kB / 350.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.02, allocations: 113.3 kB / 350.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.02015, allocations: 72.38 kB / 350.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.02199, allocations: 0.8039 MB / 351.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.02202, allocations: 7.953 kB / 351.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.02211, allocations: 31.98 kB / 351.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.02213, allocations: 16 kB / 351.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.02378, allocations: 0.5706 MB / 352 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004595/0.02838, allocations: 2.231 MB / 354.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.02969, allocations: 428.2 kB / 354.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.0304, allocations: 240.4 kB / 354.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.726e-05/0.03047, allocations: 4.281 kB / 354.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009356/0.0314, allocations: 393.6 kB / 355.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.354e-06/0.0314, allocations: 0 / 355.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002249/0.03365, allocations: 0.8045 MB / 356 MB, free: 8.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.03377, allocations: 140.4 kB / 356.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.0346, allocations: 0.5214 MB / 356.7 MB, free: 7.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.03466, allocations: 37.7 kB / 356.7 MB, free: 7.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.03505, allocations: 376.5 kB / 357.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.03521, allocations: 126.9 kB / 357.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.03542, allocations: 98.17 kB / 357.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.03564, allocations: 358.8 kB / 357.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.03629, allocations: 275.8 kB / 357.9 MB, free: 6.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.03705, allocations: 421.4 kB / 358.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.03837, allocations: 0.5999 MB / 359 MB, free: 4.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.03838, allocations: 0 / 359 MB, free: 4.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001848/0.04022, allocations: 0.787 MB / 359.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.636e-05/0.04032, allocations: 93.11 kB / 359.8 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.04033, allocations: 7.984 kB / 359.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.04054, allocations: 24.8 kB / 359.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.04103, allocations: 103.8 kB / 360 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.04242, allocations: 1.257 MB / 361.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.04302, allocations: 75.61 kB / 361.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.04309, allocations: 28 kB / 361.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008556/0.04395, allocations: 426.1 kB / 361.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007544/0.0447, allocations: 405.5 kB / 362.1 MB, free: 1.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001193/0.04589, allocations: 0.5903 MB / 362.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.0459, allocations: 0 / 362.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001732/0.04763, allocations: 0.7574 MB / 363.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/0.04772, allocations: 93.53 kB / 363.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.04773, allocations: 4 kB / 363.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.04785, allocations: 32.8 kB / 363.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.04831, allocations: 95.88 kB / 363.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.04961, allocations: 1.264 MB / 365 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.05018, allocations: 71.89 kB / 365 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.05024, allocations: 20 kB / 365.1 MB, free: 14.23 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.0003074/0.05055, allocations: 276.4 kB / 365.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.05071, allocations: 71.62 kB / 365.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.05228, allocations: 0.6043 MB / 366 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.05229, allocations: 4 kB / 366 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.0523, allocations: 0 / 366 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.0523, allocations: 4 kB / 366 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.05474, allocations: 1.112 MB / 367.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.05474, allocations: 0 / 367.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.05516, allocations: 67.89 kB / 367.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.05528, allocations: 24.84 kB / 367.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.05533, allocations: 8 kB / 367.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.05662, allocations: 1.252 MB / 368.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.05663, allocations: 0 / 368.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.05888, allocations: 0.9763 MB / 369.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.05913, allocations: 95.53 kB / 369.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.05923, allocations: 16 kB / 369.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.05971, allocations: 39.95 kB / 369.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.05985, allocations: 43.88 kB / 369.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.05989, allocations: 12.09 kB / 369.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005524/0.06045, allocations: 366.9 kB / 370 MB, free: 8.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06045, allocations: 0 / 370 MB, free: 8.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001035/0.06148, allocations: 307 kB / 370.3 MB, free: 8.695 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.001847/0.06333, allocations: 396.2 kB / 370.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.06625, allocations: 1.45 MB / 372.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.06626, allocations: 5.062 kB / 372.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000987/0.06725, allocations: 488.6 kB / 372.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.06795, allocations: 87.39 kB / 372.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.07078, allocations: 1.281 MB / 374 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.07123, allocations: 313.1 kB / 374.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.07158, allocations: 63.22 kB / 374.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.07173, allocations: 44.48 kB / 374.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.07173, allocations: 0 / 374.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of Templates: time 0.01689/0.08862, allocations: 7.1 MB / 381.5 MB, free: 13.47 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.82460650196299]