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.001006/0.001006, allocations: 93.06 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.001322/0.001322, allocations: 169 kB / 23.02 MB, free: 1.555 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.9115/0.9115, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.02577/0.02577, allocations: 6.495 MB / 266.4 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.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 1.583e-06/1.583e-06, allocations: 0 / 338.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.66e-05, allocations: 6.25 kB / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.004992/0.005008, allocations: 5.186 MB / 343.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.00717, allocations: 1.616 MB / 344.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.007484, allocations: 23.88 kB / 344.9 MB, free: 5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.007882, allocations: 198.6 kB / 345.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007914/0.008674, allocations: 301.8 kB / 345.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.009183, allocations: 375.3 kB / 345.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.009916, allocations: 0.9896 MB / 346.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.01034, allocations: 348.4 kB / 347.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.01089, allocations: 0.5769 MB / 347.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.0112, allocations: 343 kB / 348 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.01129, allocations: 108 kB / 348.1 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.01144, allocations: 147.9 kB / 348.2 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.01158, allocations: 223.2 kB / 348.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.01178, allocations: 303.2 kB / 348.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.01238, allocations: 0.6928 MB / 349.5 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.01238, allocations: 4 kB / 349.5 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.01238, allocations: 0 / 349.5 MB, free: 420 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.01239, allocations: 0 / 349.5 MB, free: 420 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.001225/0.01361, allocations: 1.245 MB / 350.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01364, allocations: 8.031 kB / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.0138, allocations: 160.4 kB / 350.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.01427, allocations: 478 kB / 351.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/0.01435, allocations: 110 kB / 351.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.01443, allocations: 72.38 kB / 351.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.01516, allocations: 0.6808 MB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01518, allocations: 3.953 kB / 352.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.01522, allocations: 31.98 kB / 352.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.01524, allocations: 16 kB / 352.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.01592, allocations: 331.1 kB / 352.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.01795, allocations: 2.37 MB / 354.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.01838, allocations: 279.9 kB / 355.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.01853, allocations: 147.6 kB / 355.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.01856, allocations: 12.28 kB / 355.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/0.01884, allocations: 312.7 kB / 355.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.01884, allocations: 0 / 355.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006791/0.01952, allocations: 0.5572 MB / 356.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.01957, allocations: 140.5 kB / 356.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.01992, allocations: 0.4946 MB / 356.9 MB, free: 8.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.01995, allocations: 33.7 kB / 356.9 MB, free: 8.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.02015, allocations: 439.1 kB / 357.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.02022, allocations: 123 kB / 357.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.02032, allocations: 103.8 kB / 357.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.02046, allocations: 0.5313 MB / 358.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.02063, allocations: 178.7 kB / 358.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.02085, allocations: 362.6 kB / 358.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.02122, allocations: 468.9 kB / 359.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.02122, allocations: 0 / 359.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008159/0.02203, allocations: 0.6013 MB / 359.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.02208, allocations: 89.11 kB / 359.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.02209, allocations: 4 kB / 359.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.02221, allocations: 27.61 kB / 359.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.02243, allocations: 92.33 kB / 359.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006982/0.02313, allocations: 1.736 MB / 361.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.02331, allocations: 71.64 kB / 361.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.02334, allocations: 23.94 kB / 361.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002417/0.02358, allocations: 300.9 kB / 362 MB, free: 2.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002245/0.02381, allocations: 354.8 kB / 362.3 MB, free: 2.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003436/0.02415, allocations: 475 kB / 362.8 MB, free: 1.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.02415, allocations: 4 kB / 362.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005509/0.02471, allocations: 0.5925 MB / 363.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.02474, allocations: 93.09 kB / 363.5 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.02475, allocations: 4 kB / 363.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.308e-05/0.02481, allocations: 27.61 kB / 363.5 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.025, allocations: 95.83 kB / 363.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006314/0.02563, allocations: 1.736 MB / 365.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.02581, allocations: 63.7 kB / 365.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.02584, allocations: 20 kB / 365.4 MB, free: 15.14 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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.0001567/0.02599, allocations: 363.2 kB / 365.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.02606, allocations: 71.66 kB / 365.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.02677, allocations: 434.1 kB / 366.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.02677, allocations: 4 kB / 366.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.02677, allocations: 0 / 366.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02678, allocations: 3.984 kB / 366.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009073/0.02768, allocations: 0.9888 MB / 367.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02769, allocations: 0 / 367.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.02785, allocations: 55.91 kB / 367.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.176e-05/0.02791, allocations: 31.67 kB / 367.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.02794, allocations: 15.94 kB / 367.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006132/0.02855, allocations: 1.724 MB / 369.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02855, allocations: 4 kB / 369.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.02918, allocations: 0.7254 MB / 369.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.02929, allocations: 95.62 kB / 369.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.02932, allocations: 12 kB / 369.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02948, allocations: 31.97 kB / 370 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.02956, allocations: 35.94 kB / 370 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.02958, allocations: 12 kB / 370 MB, free: 10.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.0298, allocations: 322.7 kB / 370.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0298, allocations: 3.938 kB / 370.3 MB, free: 9.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005093/0.03031, allocations: 318.9 kB / 370.6 MB, free: 9.613 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.0007181/0.03102, allocations: 346.1 kB / 371 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.032, allocations: 1.325 MB / 372.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.032, allocations: 0 / 372.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.03228, allocations: 463.6 kB / 372.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.03261, allocations: 100.9 kB / 372.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.03459, allocations: 1.216 MB / 374.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.514e-05/0.03467, allocations: 141.7 kB / 374.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.03482, allocations: 67.22 kB / 374.3 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.0349, allocations: 40.48 kB / 374.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0349, allocations: 0 / 374.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of Templates: time 0.009197/0.0441, allocations: 7.127 MB / 381.5 MB, free: 14.71 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: 2.9194794818758965]