Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001064/0.001064, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001052/0.001052, allocations: 173 kB / 23.28 MB, free: 1.219 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.9809/0.9809, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.04501/0.04501, allocations: 6.489 MB / 266.7 MB, free: 6.477 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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.081e-05, allocations: 2.312 kB / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.00499/0.005011, allocations: 5.057 MB / 343.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.007872, allocations: 1.593 MB / 345.2 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.008482, allocations: 19.88 kB / 345.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.008892, allocations: 206.5 kB / 345.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.00963, allocations: 293.8 kB / 345.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.01026, allocations: 383.3 kB / 346 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009062/0.01117, allocations: 0.9818 MB / 347 MB, free: 3.035 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.01162, allocations: 352.4 kB / 347.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.01234, allocations: 0.573 MB / 347.9 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.01274, allocations: 347 kB / 348.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.01285, allocations: 108 kB / 348.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.01305, allocations: 147.9 kB / 348.5 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01322, allocations: 219.2 kB / 348.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.01345, allocations: 295.2 kB / 349 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.01422, allocations: 0.6889 MB / 349.7 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01423, allocations: 0 / 349.7 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01423, allocations: 0 / 349.7 MB, free: 320 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01424, allocations: 3.938 kB / 349.7 MB, free: 316 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001257/0.01549, allocations: 1.249 MB / 351 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.01553, allocations: 8.031 kB / 351 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.01568, allocations: 152.4 kB / 351.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.01614, allocations: 481.9 kB / 351.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.01623, allocations: 110 kB / 351.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.01631, allocations: 80.34 kB / 351.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.01697, allocations: 0.6226 MB / 352.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.01699, allocations: 3.953 kB / 352.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.01703, allocations: 28 kB / 352.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.01704, allocations: 20 kB / 352.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.01736, allocations: 269.1 kB / 352.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.01932, allocations: 2.261 MB / 355 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.01967, allocations: 266.7 kB / 355.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.01979, allocations: 131.6 kB / 355.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.01982, allocations: 20.2 kB / 355.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.02007, allocations: 304.6 kB / 355.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.412e-06/0.02007, allocations: 0 / 355.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005693/0.02064, allocations: 0.5143 MB / 356.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.0207, allocations: 136.5 kB / 356.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.02101, allocations: 490.4 kB / 356.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.02103, allocations: 37.7 kB / 356.9 MB, free: 8.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.02123, allocations: 443 kB / 357.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.0213, allocations: 138.8 kB / 357.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.02141, allocations: 99.78 kB / 357.5 MB, free: 8.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.02155, allocations: 0.539 MB / 358.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.02167, allocations: 154.7 kB / 358.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.02186, allocations: 338.7 kB / 358.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.02215, allocations: 444.8 kB / 359 MB, free: 6.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.02215, allocations: 0 / 359 MB, free: 6.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004591/0.02261, allocations: 0.5668 MB / 359.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.02266, allocations: 93.09 kB / 359.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.02267, allocations: 7.984 kB / 359.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.02277, allocations: 32.11 kB / 359.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.02297, allocations: 91.83 kB / 359.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006987/0.02367, allocations: 1.713 MB / 361.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.02386, allocations: 67.72 kB / 361.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.02388, allocations: 24 kB / 361.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001956/0.02408, allocations: 280.9 kB / 361.8 MB, free: 3.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001762/0.02425, allocations: 334.6 kB / 362.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002801/0.02453, allocations: 458.9 kB / 362.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.02453, allocations: 0 / 362.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004333/0.02497, allocations: 0.5455 MB / 363.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.025, allocations: 93.09 kB / 363.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.02501, allocations: 7.938 kB / 363.3 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.438e-05/0.02506, allocations: 27.67 kB / 363.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.02523, allocations: 87.89 kB / 363.4 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006095/0.02584, allocations: 1.721 MB / 365.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.02602, allocations: 59.75 kB / 365.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.02605, allocations: 20 kB / 365.2 MB, free: 15.6 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 (oneFlange.pDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$whenCondition1) * 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.0001454/0.02619, allocations: 355.5 kB / 365.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.02625, allocations: 71.61 kB / 365.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.02662, allocations: 417.9 kB / 366 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.02662, allocations: 0 / 366 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.02662, allocations: 4 kB / 366 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.02663, allocations: 0 / 366 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.02739, allocations: 0.8837 MB / 366.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02739, allocations: 0 / 366.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.02754, allocations: 63.89 kB / 366.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.892e-05/0.02759, allocations: 19.67 kB / 367 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.02761, allocations: 12 kB / 367 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005964/0.02821, allocations: 1.709 MB / 368.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02821, allocations: 8.062 kB / 368.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.02872, allocations: 0.6747 MB / 369.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.02882, allocations: 91.56 kB / 369.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.02886, allocations: 15.88 kB / 369.5 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.02901, allocations: 31.97 kB / 369.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.02909, allocations: 39.94 kB / 369.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.0291, allocations: 11.98 kB / 369.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.02928, allocations: 306.7 kB / 369.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02928, allocations: 4 kB / 369.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006141/0.02989, allocations: 310.9 kB / 370.2 MB, free: 10.31 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.0007822/0.03068, allocations: 353 kB / 370.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009145/0.03159, allocations: 1.27 MB / 371.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.03159, allocations: 0 / 371.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.03187, allocations: 453.2 kB / 372.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.03222, allocations: 89.62 kB / 372.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.03387, allocations: 1.203 MB / 373.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.835e-05/0.03397, allocations: 141.7 kB / 373.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.03414, allocations: 71.16 kB / 373.7 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.03436, allocations: 166.2 kB / 373.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03436, allocations: 0 / 373.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of Templates: time 0.0105/0.04486, allocations: 7.624 MB / 381.5 MB, free: 14.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1095172432251275]