Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.00184/0.00184, allocations: 93.47 kB / 19.44 MB, free: 336 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.001995/0.001995, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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.04688/0.04688, allocations: 6.496 MB / 266.1 MB, free: 6.523 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.877e-05/4.174e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006574/0.006616, allocations: 4.376 MB / 341.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.01082, allocations: 2.346 MB / 344.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.01151, allocations: 19.88 kB / 344.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.0122, allocations: 162.6 kB / 344.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.01341, allocations: 297.8 kB / 344.5 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01444, allocations: 419.3 kB / 344.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01569, allocations: 0.9895 MB / 345.9 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.0164, allocations: 341.1 kB / 346.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.01747, allocations: 0.5925 MB / 346.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.01814, allocations: 327.1 kB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.01835, allocations: 116 kB / 347.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.01876, allocations: 207.8 kB / 347.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.01903, allocations: 251.2 kB / 347.7 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.01947, allocations: 319.2 kB / 348.1 MB, free: 368 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.02178, allocations: 1.324 MB / 349.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.02178, allocations: 0 / 349.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.02178, allocations: 0 / 349.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.02184, allocations: 0 / 349.4 MB, free: 15.03 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003682/0.02552, allocations: 1.393 MB / 350.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.02557, allocations: 12.03 kB / 350.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.02603, allocations: 168.3 kB / 350.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.02739, allocations: 0.5057 MB / 351.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.02748, allocations: 58.38 kB / 351.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.02767, allocations: 80.33 kB / 351.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.03009, allocations: 0.9209 MB / 352.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.03013, allocations: 11.94 kB / 352.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.03023, allocations: 32 kB / 352.5 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.03026, allocations: 19.98 kB / 352.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.03203, allocations: 0.546 MB / 353.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007445/0.03947, allocations: 2.936 MB / 356 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.04089, allocations: 410.7 kB / 356.5 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.04149, allocations: 223.3 kB / 356.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.04154, allocations: 8.203 kB / 356.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009576/0.0425, allocations: 402.1 kB / 357.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.0425, allocations: 4 kB / 357.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002431/0.04493, allocations: 0.7544 MB / 357.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.0451, allocations: 166.2 kB / 358 MB, free: 5.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.04657, allocations: 0.69 MB / 358.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.04664, allocations: 41.7 kB / 358.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006721/0.04732, allocations: 495 kB / 359.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.04748, allocations: 135 kB / 359.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.04772, allocations: 123.8 kB / 359.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004086/0.04813, allocations: 0.5898 MB / 360 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.04865, allocations: 266.7 kB / 360.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.04936, allocations: 0.4922 MB / 360.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.05047, allocations: 0.6297 MB / 361.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.05047, allocations: 0 / 361.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001771/0.05224, allocations: 0.7623 MB / 362.2 MB, free: 1.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/0.05233, allocations: 89.11 kB / 362.3 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.05234, allocations: 4 kB / 362.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.05255, allocations: 35.61 kB / 362.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.05293, allocations: 87.89 kB / 362.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.05461, allocations: 1.791 MB / 364.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.05504, allocations: 63.7 kB / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.0551, allocations: 23.98 kB / 364.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007475/0.05584, allocations: 448.9 kB / 364.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006753/0.05652, allocations: 495.9 kB / 365.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001024/0.05754, allocations: 0.6202 MB / 365.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.05755, allocations: 0 / 365.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001405/0.05895, allocations: 0.7486 MB / 366.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.05903, allocations: 87.3 kB / 366.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.05904, allocations: 7.984 kB / 366.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.05915, allocations: 27.69 kB / 366.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.05951, allocations: 95.77 kB / 366.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.06104, allocations: 1.787 MB / 368.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.06145, allocations: 59.75 kB / 368.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.06171, allocations: 20 kB / 368.6 MB, free: 10.45 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0003182/0.06203, allocations: 371.2 kB / 369 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.06218, allocations: 71.62 kB / 369.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.0634, allocations: 0.5559 MB / 369.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.06341, allocations: 4 kB / 369.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.06341, allocations: 3.938 kB / 369.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.06342, allocations: 0 / 369.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.06589, allocations: 1.369 MB / 371 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.0659, allocations: 3.938 kB / 371 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.06621, allocations: 59.91 kB / 371.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.06632, allocations: 23.67 kB / 371.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.06636, allocations: 8 kB / 371.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.06788, allocations: 1.783 MB / 372.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.06788, allocations: 128 / 372.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.06966, allocations: 0.983 MB / 373.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.0698, allocations: 63.53 kB / 373.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.06988, allocations: 12 kB / 373.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.0702, allocations: 31.97 kB / 374 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.07034, allocations: 39.88 kB / 374 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.07037, allocations: 16 kB / 374 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006026/0.07098, allocations: 426.8 kB / 374.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.07098, allocations: 0 / 374.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009957/0.07197, allocations: 350.8 kB / 374.8 MB, free: 3.988 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.002943/0.07491, allocations: 0.4986 MB / 375.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.07758, allocations: 1.611 MB / 376.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.07758, allocations: 4 kB / 376.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.07838, allocations: 0.5464 MB / 377.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.07898, allocations: 92.44 kB / 377.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.08143, allocations: 1.339 MB / 378.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.08186, allocations: 334 kB / 379.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.08209, allocations: 55.36 kB / 379.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.08223, allocations: 44.48 kB / 379.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.08223, allocations: 0 / 379.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of Templates: time 0.01795/0.1002, allocations: 8.332 MB / 387.6 MB, free: 7.094 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.922495086910203]