Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001837/0.001837, allocations: 85.48 kB / 19.44 MB, free: 340 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.002079/0.002079, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.04491/0.04491, allocations: 6.479 MB / 266 MB, free: 6.668 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.949e-05, allocations: 2.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.005145/0.005164, allocations: 5.066 MB / 342.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.0079, allocations: 2.31 MB / 344.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.008232, allocations: 15.94 kB / 344.7 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.00862, allocations: 202.5 kB / 344.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005833/0.009204, allocations: 297.9 kB / 345.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.009709, allocations: 379.3 kB / 345.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.01032, allocations: 0.9739 MB / 346.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.01068, allocations: 319.5 kB / 346.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.0112, allocations: 0.5691 MB / 347.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.01159, allocations: 347.1 kB / 347.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.0117, allocations: 108 kB / 347.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.01194, allocations: 207.8 kB / 348.1 MB, free: 332 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.01207, allocations: 223.2 kB / 348.3 MB, free: 108 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.0124, allocations: 291.2 kB / 348.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.014, allocations: 1.227 MB / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.014, allocations: 0 / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.014, allocations: 0 / 349.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.01402, allocations: 0 / 349.8 MB, free: 14.59 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.002467/0.01648, allocations: 1.328 MB / 351.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01652, allocations: 12.03 kB / 351.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.01682, allocations: 156.3 kB / 351.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.01767, allocations: 478.1 kB / 351.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.01783, allocations: 105.3 kB / 351.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.01796, allocations: 76.36 kB / 352 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.0196, allocations: 0.8789 MB / 352.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.01963, allocations: 7.953 kB / 352.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.01972, allocations: 28 kB / 352.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.01974, allocations: 19.98 kB / 352.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.02108, allocations: 0.5394 MB / 353.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00466/0.02574, allocations: 2.794 MB / 356.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.02679, allocations: 438.7 kB / 356.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.02725, allocations: 227.3 kB / 356.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.02729, allocations: 8.281 kB / 356.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007427/0.02804, allocations: 400.8 kB / 357.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/0.02804, allocations: 0 / 357.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001839/0.02988, allocations: 0.7801 MB / 358.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.03001, allocations: 166.2 kB / 358.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/0.03092, allocations: 0.647 MB / 358.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.03097, allocations: 33.7 kB / 358.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.03141, allocations: 459.2 kB / 359.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.03157, allocations: 138.9 kB / 359.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.03179, allocations: 119.8 kB / 359.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003822/0.03217, allocations: 0.5821 MB / 360.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.03269, allocations: 270.6 kB / 360.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.0334, allocations: 496.1 kB / 360.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.03451, allocations: 0.6375 MB / 361.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.03452, allocations: 4 kB / 361.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001498/0.03602, allocations: 0.7777 MB / 362.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/0.03611, allocations: 93.09 kB / 362.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.03612, allocations: 4.438 kB / 362.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.03632, allocations: 35.61 kB / 362.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.03673, allocations: 95.83 kB / 362.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.03836, allocations: 1.771 MB / 364.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.03879, allocations: 71.77 kB / 364.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.03884, allocations: 20 kB / 364.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007472/0.03959, allocations: 452.9 kB / 364.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006794/0.04027, allocations: 496 kB / 365.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.04129, allocations: 0.6277 MB / 366 MB, free: 13.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.04129, allocations: 0 / 366 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001374/0.04266, allocations: 0.7523 MB / 366.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/0.04274, allocations: 93.09 kB / 366.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.04275, allocations: 4 kB / 366.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.04286, allocations: 40.05 kB / 366.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.04323, allocations: 87.89 kB / 367 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.04471, allocations: 1.783 MB / 368.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.04511, allocations: 67.83 kB / 368.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.04515, allocations: 20 kB / 368.8 MB, free: 10.26 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.0003251/0.04548, allocations: 359.3 kB / 369.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.04562, allocations: 75.67 kB / 369.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.04684, allocations: 0.5682 MB / 369.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.04685, allocations: 4 kB / 369.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.04685, allocations: 4 kB / 369.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.04686, allocations: 3.984 kB / 369.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.04916, allocations: 1.337 MB / 371.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.04917, allocations: 0 / 371.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.0495, allocations: 59.89 kB / 371.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-05/0.0496, allocations: 23.69 kB / 371.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.04964, allocations: 15.98 kB / 371.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.05109, allocations: 1.779 MB / 373 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.05109, allocations: 3.984 kB / 373.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.05287, allocations: 1.003 MB / 374.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.05308, allocations: 95.5 kB / 374.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.05315, allocations: 8 kB / 374.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.05349, allocations: 35.97 kB / 374.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.05361, allocations: 39.88 kB / 374.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.05365, allocations: 12 kB / 374.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005388/0.05419, allocations: 414.8 kB / 374.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05419, allocations: 0 / 374.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009706/0.05516, allocations: 338.8 kB / 375 MB, free: 3.797 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.002991/0.05815, allocations: 490.3 kB / 375.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.06069, allocations: 1.615 MB / 377.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.06069, allocations: 0 / 377.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008179/0.06151, allocations: 0.5583 MB / 377.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.0621, allocations: 100.4 kB / 377.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.06444, allocations: 1.259 MB / 379 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.06481, allocations: 313.1 kB / 379.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.06505, allocations: 55.23 kB / 379.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.06519, allocations: 48.42 kB / 379.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.06519, allocations: 0 / 379.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of Templates: time 0.0168/0.08199, allocations: 7.877 MB / 387.3 MB, free: 7.473 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.729439859976992]