Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001756/0.001756, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001885/0.001885, allocations: 221.8 kB / 23 MB, free: 4.91 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.04213/0.04213, allocations: 8.551 MB / 321.7 MB, free: 10.51 MB / 254.1 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 71.89 kB / 448.1 MB, free: 15.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1153, allocations: 55.44 MB / 0.4917 GB, free: 7.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.00669/0.122, allocations: 4.082 MB / 0.4957 GB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.1264, allocations: 2.306 MB / 0.498 GB, free: 1.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.127, allocations: 19.88 kB / 0.498 GB, free: 1.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.1277, allocations: 162.7 kB / 0.4982 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1288, allocations: 282.1 kB / 0.4984 GB, free: 0.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1298, allocations: 425 kB / 0.4988 GB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.131, allocations: 0.9624 MB / 0.4998 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005804/0.1316, allocations: 341.1 kB / 0.5001 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00059/0.1322, allocations: 398.6 kB / 0.5005 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.1327, allocations: 362.3 kB / 0.5008 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.1329, allocations: 112 kB / 0.5009 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.1332, allocations: 207.8 kB / 0.5011 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.1335, allocations: 251.3 kB / 0.5014 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.1339, allocations: 370.3 kB / 0.5017 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1357, allocations: 1.296 MB / 0.503 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1357, allocations: 0 / 0.503 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1357, allocations: 0 / 0.503 GB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.1357, allocations: 0 / 0.503 GB, free: 12.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002466/0.1382, allocations: 1.211 MB / 0.5042 GB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1382, allocations: 12.03 kB / 0.5042 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.1384, allocations: 104.3 kB / 0.5043 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1394, allocations: 0.5116 MB / 0.5048 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.1395, allocations: 58.38 kB / 0.5048 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.1396, allocations: 84.08 kB / 0.5049 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.1413, allocations: 0.8858 MB / 0.5058 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1413, allocations: 0 / 0.5058 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.1414, allocations: 32 kB / 0.5058 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.1414, allocations: 16 kB / 0.5058 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.1429, allocations: 0.585 MB / 0.5064 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.1473, allocations: 2.278 MB / 0.5086 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1484, allocations: 426.1 kB / 0.509 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.1489, allocations: 232.4 kB / 0.5092 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.1489, allocations: 4 kB / 0.5092 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007393/0.1496, allocations: 386.2 kB / 0.5096 GB, free: 5.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.1496, allocations: 0 / 0.5096 GB, free: 5.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001923/0.1516, allocations: 0.7868 MB / 0.5104 GB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.1517, allocations: 162.2 kB / 0.5105 GB, free: 3.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000908/0.1526, allocations: 0.6074 MB / 0.5111 GB, free: 3.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.1526, allocations: 37.7 kB / 0.5112 GB, free: 3.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.153, allocations: 404.3 kB / 0.5116 GB, free: 2.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.1531, allocations: 123 kB / 0.5117 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.1533, allocations: 94.14 kB / 0.5118 GB, free: 2.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1535, allocations: 374.7 kB / 0.5121 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.1541, allocations: 279.8 kB / 0.5124 GB, free: 2.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.1548, allocations: 447.8 kB / 0.5128 GB, free: 1.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1559, allocations: 0.5998 MB / 0.5134 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.1559, allocations: 4 kB / 0.5134 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001571/0.1575, allocations: 0.7633 MB / 0.5141 GB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2127/0.3701, allocations: 85.39 kB / 0.5142 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3702, allocations: 4.219 kB / 0.5142 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.3704, allocations: 27.23 kB / 0.5143 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.3709, allocations: 99.44 kB / 0.5144 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/0.3717, allocations: 1.265 MB / 0.5156 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.3722, allocations: 79.69 kB / 0.5157 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.3723, allocations: 19.84 kB / 0.5157 GB, free: 25.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007159/0.373, allocations: 453.2 kB / 0.5161 GB, free: 25.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004892/0.3735, allocations: 434.1 kB / 0.5165 GB, free: 25.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007959/0.3743, allocations: 0.5696 MB / 0.5171 GB, free: 24.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.3743, allocations: 4.234 kB / 0.5171 GB, free: 24.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001191/0.3755, allocations: 0.7337 MB / 0.5178 GB, free: 24.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.3755, allocations: 91.16 kB / 0.5179 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3755, allocations: 3.75 kB / 0.5179 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-05/0.3756, allocations: 32.53 kB / 0.5179 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.376, allocations: 101.3 kB / 0.518 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006841/0.3767, allocations: 1.256 MB / 0.5193 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.3771, allocations: 76.02 kB / 0.5193 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3772, allocations: 22.34 kB / 0.5193 GB, free: 23.3 MB / 382.1 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.0001938/0.3774, allocations: 274.6 kB / 0.5196 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.3774, allocations: 59.08 kB / 0.5197 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.3786, allocations: 0.5847 MB / 0.5202 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3786, allocations: 6.375 kB / 0.5202 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3786, allocations: 0 / 0.5202 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3786, allocations: 2.812 kB / 0.5202 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.3803, allocations: 1.159 MB / 0.5214 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3803, allocations: 0 / 0.5214 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.3807, allocations: 67.25 kB / 0.5214 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.3807, allocations: 19.25 kB / 0.5215 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.3808, allocations: 19.45 kB / 0.5215 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006494/0.3814, allocations: 1.253 MB / 0.5227 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3814, allocations: 1.469 kB / 0.5227 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3829, allocations: 0.9431 MB / 0.5236 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.383, allocations: 61.81 kB / 0.5237 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.3831, allocations: 13.16 kB / 0.5237 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.3835, allocations: 45.66 kB / 0.5237 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3836, allocations: 31.88 kB / 0.5238 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.3836, allocations: 12.22 kB / 0.5238 GB, free: 20.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005/0.3841, allocations: 444.1 kB / 0.5242 GB, free: 20.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 0 / 0.5242 GB, free: 20.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009202/0.385, allocations: 363.7 kB / 0.5246 GB, free: 20.78 MB / 382.1 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.001651/0.3867, allocations: 0.4926 MB / 0.525 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.3889, allocations: 1.435 MB / 0.5264 GB, free: 19.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3889, allocations: 1.062 kB / 0.5264 GB, free: 19.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.3895, allocations: 483.1 kB / 0.5269 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.3902, allocations: 90.2 kB / 0.527 GB, free: 19.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3925, allocations: 1.468 MB / 0.5284 GB, free: 18.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3929, allocations: 338.8 kB / 0.5287 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3931, allocations: 38.89 kB / 0.5288 GB, free: 18.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3931, allocations: 0 / 0.5288 GB, free: 18.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01995/0.413, allocations: 12.53 MB / 0.541 GB, free: 14.27 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.817459835205227] Failed to read output from testmodel.py, exit status != 0: 0.4217150523327291 0.433159558 0.294978285 Calling exit ...