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.001549/0.001549, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001626/0.001626, allocations: 173 kB / 23.49 MB, free: 1.059 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.03389/0.03389, allocations: 6.494 MB / 266.8 MB, free: 6.676 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 1.643e-06/1.643e-06, allocations: 0 / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.23e-05, allocations: 2.312 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.003654/0.003677, allocations: 4.412 MB / 342.5 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.005845, allocations: 2.373 MB / 344.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.006116, allocations: 19.88 kB / 344.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.006458, allocations: 166.6 kB / 345.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.006921, allocations: 293.8 kB / 345.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.007337, allocations: 419.3 kB / 345.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.007826, allocations: 0.9817 MB / 346.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.008145, allocations: 353 kB / 347.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.008563, allocations: 0.5808 MB / 347.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.00884, allocations: 335.1 kB / 348 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.00891, allocations: 112 kB / 348.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.009079, allocations: 203.8 kB / 348.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.009216, allocations: 255.2 kB / 348.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.009378, allocations: 319.2 kB / 348.9 MB, free: 288 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.01008, allocations: 0.7981 MB / 349.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01008, allocations: 0 / 349.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01008, allocations: 0 / 349.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.01009, allocations: 0 / 349.7 MB, free: 15.48 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.001458/0.01155, allocations: 1.303 MB / 351 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.01159, allocations: 8.031 kB / 351 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.01177, allocations: 164.3 kB / 351.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.0123, allocations: 0.4902 MB / 351.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.01235, allocations: 58.38 kB / 351.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.01243, allocations: 80.33 kB / 351.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.01323, allocations: 0.7107 MB / 352.5 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.01326, allocations: 11.92 kB / 352.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.0133, allocations: 28 kB / 352.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.01331, allocations: 20 kB / 352.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.01393, allocations: 319.2 kB / 352.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.0163, allocations: 2.382 MB / 355.2 MB, free: 9.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.01676, allocations: 283.7 kB / 355.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.01692, allocations: 140.2 kB / 355.6 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.01696, allocations: 11.92 kB / 355.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.01727, allocations: 309.3 kB / 355.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.903e-06/0.01727, allocations: 0 / 355.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001167/0.01844, allocations: 0.5631 MB / 356.5 MB, free: 8.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.01849, allocations: 166.2 kB / 356.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.01893, allocations: 0.5181 MB / 357.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.01896, allocations: 33.7 kB / 357.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.01918, allocations: 459 kB / 357.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.01926, allocations: 126.9 kB / 357.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.01937, allocations: 103.8 kB / 357.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.01953, allocations: 0.543 MB / 358.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.01971, allocations: 174.7 kB / 358.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.01997, allocations: 390.8 kB / 359 MB, free: 5.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.02038, allocations: 484.7 kB / 359.5 MB, free: 4.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.02038, allocations: 0 / 359.5 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000623/0.021, allocations: 0.5869 MB / 360 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.02105, allocations: 89.17 kB / 360.1 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02106, allocations: 4 kB / 360.1 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.02121, allocations: 35.61 kB / 360.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.02142, allocations: 83.89 kB / 360.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008212/0.02224, allocations: 1.752 MB / 362 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.02243, allocations: 59.72 kB / 362.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.02246, allocations: 20 kB / 362.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002649/0.02272, allocations: 296.9 kB / 362.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002472/0.02297, allocations: 388 kB / 362.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006273/0.0236, allocations: 466.9 kB / 363.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.0236, allocations: 4 kB / 363.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005504/0.02415, allocations: 0.5961 MB / 363.8 MB, free: 172 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.02418, allocations: 85.11 kB / 363.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.02419, allocations: 7.984 kB / 363.9 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.415e-05/0.02425, allocations: 32.11 kB / 363.9 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.02444, allocations: 91.83 kB / 364 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000632/0.02507, allocations: 1.744 MB / 365.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.02526, allocations: 63.88 kB / 365.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.02528, allocations: 20 kB / 365.8 MB, free: 13.99 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.0001573/0.02544, allocations: 363.3 kB / 366.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.02551, allocations: 71.62 kB / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.02599, allocations: 425 kB / 366.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02599, allocations: 4 kB / 366.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.02599, allocations: 7.875 kB / 366.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.026, allocations: 0 / 366.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.02702, allocations: 1.032 MB / 367.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.02702, allocations: 3.938 kB / 367.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.02718, allocations: 55.91 kB / 367.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.888e-05/0.02724, allocations: 23.67 kB / 367.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.02726, allocations: 8 kB / 367.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006352/0.02789, allocations: 1.74 MB / 369.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0279, allocations: 0 / 369.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.02877, allocations: 0.7172 MB / 370.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.02883, allocations: 63.59 kB / 370.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.02887, allocations: 8 kB / 370.3 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.02902, allocations: 31.97 kB / 370.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.0291, allocations: 39.94 kB / 370.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.02912, allocations: 16 kB / 370.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.02939, allocations: 338.8 kB / 370.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02939, allocations: 0 / 370.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006168/0.03, allocations: 362.7 kB / 371.1 MB, free: 8.395 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.0009577/0.03096, allocations: 461.1 kB / 371.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.03199, allocations: 1.31 MB / 372.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03199, allocations: 0 / 372.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.03228, allocations: 463.5 kB / 373.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.03263, allocations: 102.9 kB / 373.4 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.03432, allocations: 1.25 MB / 374.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.03442, allocations: 157.7 kB / 374.8 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.03458, allocations: 59.36 kB / 374.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.03467, allocations: 40.48 kB / 374.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03467, allocations: 0 / 374.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of Templates: time 0.01152/0.04619, allocations: 8.345 MB / 383.3 MB, free: 12.15 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: 3.24188667582348]