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.0009695/0.0009695, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001036/0.001036, allocations: 169 kB / 23.49 MB, free: 1.051 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.933/0.933, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.02558/0.02558, allocations: 6.474 MB / 266.8 MB, free: 6.703 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 1.763e-06/1.763e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.114e-05, allocations: 4.844 kB / 338.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.00504/0.005061, allocations: 5.101 MB / 343.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.007391, allocations: 1.608 MB / 344.8 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.007754, allocations: 15.94 kB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.008074, allocations: 202.5 kB / 345 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.008598, allocations: 297.9 kB / 345.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.009114, allocations: 367.3 kB / 345.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.009794, allocations: 0.9817 MB / 346.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.01016, allocations: 315.5 kB / 346.9 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.01068, allocations: 0.5613 MB / 347.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.01099, allocations: 343 kB / 347.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.01107, allocations: 104 kB / 347.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.01122, allocations: 147.9 kB / 348.1 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.01133, allocations: 215.2 kB / 348.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01151, allocations: 291.2 kB / 348.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.01212, allocations: 0.6735 MB / 349.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01212, allocations: 7.984 kB / 349.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01212, allocations: 0 / 349.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01213, allocations: 0 / 349.3 MB, free: 15.86 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.001315/0.01344, allocations: 1.219 MB / 350.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.01347, allocations: 8.031 kB / 350.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.01366, allocations: 156.3 kB / 350.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.0142, allocations: 462.1 kB / 351.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.0143, allocations: 113.3 kB / 351.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.01439, allocations: 80.27 kB / 351.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008815/0.01527, allocations: 0.64 MB / 351.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.01529, allocations: 3.938 kB / 351.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.01533, allocations: 28 kB / 352 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.01535, allocations: 16 kB / 352 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005487/0.0159, allocations: 311 kB / 352.3 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.01855, allocations: 2.328 MB / 354.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.01906, allocations: 280.9 kB / 354.9 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.01928, allocations: 143.3 kB / 355 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.01931, allocations: 8.281 kB / 355 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.01963, allocations: 313 kB / 355.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.312e-06/0.01963, allocations: 0 / 355.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008123/0.02044, allocations: 0.5535 MB / 355.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.0205, allocations: 140.5 kB / 356 MB, free: 8.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.02088, allocations: 0.4946 MB / 356.5 MB, free: 8.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.02091, allocations: 33.7 kB / 356.5 MB, free: 8.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.02119, allocations: 427.2 kB / 357 MB, free: 7.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.02126, allocations: 131 kB / 357.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.02136, allocations: 95.8 kB / 357.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.02151, allocations: 0.5352 MB / 357.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.02169, allocations: 174.7 kB / 357.9 MB, free: 6.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.02192, allocations: 362.7 kB / 358.2 MB, free: 6.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.02229, allocations: 476.7 kB / 358.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02229, allocations: 0 / 358.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005682/0.02286, allocations: 0.5907 MB / 359.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.0229, allocations: 97.09 kB / 359.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.02291, allocations: 0 / 359.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/0.02302, allocations: 35.55 kB / 359.4 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.02323, allocations: 99.81 kB / 359.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009761/0.02421, allocations: 1.744 MB / 361.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.0244, allocations: 59.72 kB / 361.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.02443, allocations: 20 kB / 361.4 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002953/0.02473, allocations: 296.9 kB / 361.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002574/0.02498, allocations: 358.7 kB / 362 MB, free: 2.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003714/0.02535, allocations: 479.1 kB / 362.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.02536, allocations: 0 / 362.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005799/0.02594, allocations: 0.5844 MB / 363 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.02598, allocations: 93.55 kB / 363.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.02598, allocations: 0 / 363.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-05/0.02605, allocations: 35.67 kB / 363.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.02625, allocations: 91.83 kB / 363.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006763/0.02692, allocations: 1.732 MB / 365 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.02711, allocations: 63.88 kB / 365.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.02713, allocations: 20 kB / 365.1 MB, free: 14.76 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.000157/0.02729, allocations: 363.3 kB / 365.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.02738, allocations: 71.62 kB / 365.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.02791, allocations: 442 kB / 365.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.02792, allocations: 4 kB / 365.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.02792, allocations: 4 kB / 365.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.02793, allocations: 3.984 kB / 365.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.02886, allocations: 0.9847 MB / 366.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02887, allocations: 0 / 366.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.02903, allocations: 63.91 kB / 367 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-05/0.02909, allocations: 19.67 kB / 367 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.02911, allocations: 12 kB / 367 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007244/0.02983, allocations: 1.724 MB / 368.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02983, allocations: 0 / 368.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.03047, allocations: 0.7255 MB / 369.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.03059, allocations: 103.4 kB / 369.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.03063, allocations: 8 kB / 369.6 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.03078, allocations: 32.11 kB / 369.6 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.03085, allocations: 39.88 kB / 369.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.03087, allocations: 15.98 kB / 369.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.03116, allocations: 322.8 kB / 370 MB, free: 9.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03116, allocations: 0 / 370 MB, free: 9.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.03168, allocations: 303 kB / 370.3 MB, free: 9.242 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.0008009/0.03248, allocations: 348.5 kB / 370.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.03346, allocations: 1.326 MB / 371.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03346, allocations: 4.125 kB / 371.9 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.0338, allocations: 471.6 kB / 372.4 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.03414, allocations: 83.34 kB / 372.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.03608, allocations: 1.192 MB / 373.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.03616, allocations: 145.7 kB / 373.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.03633, allocations: 63.23 kB / 373.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.0364, allocations: 40.48 kB / 373.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0364, allocations: 0 / 373.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of Templates: time 0.008968/0.04537, allocations: 7.131 MB / 381.1 MB, free: 14.37 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0571353209670633]