Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001317/0.001317, allocations: 110.4 kB / 19.7 MB, free: 2.262 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.00156/0.00156, allocations: 217.5 kB / 23.01 MB, free: 4.598 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 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.04244/0.04244, allocations: 8.55 MB / 321.7 MB, free: 10.71 MB / 254.1 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [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.002021/0.002021, allocations: 71.89 kB / 448.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1098, allocations: 55.41 MB / 0.4918 GB, free: 8.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006926/0.1167, allocations: 4.553 MB / 0.4962 GB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004555/0.1212, allocations: 2.392 MB / 0.4986 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.1219, allocations: 15.94 kB / 0.4986 GB, free: 1.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.1225, allocations: 166.6 kB / 0.4988 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008565/0.1234, allocations: 286.1 kB / 0.499 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.1244, allocations: 426.2 kB / 0.4994 GB, free: 200 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1255, allocations: 0.9585 MB / 0.5004 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.1261, allocations: 369.1 kB / 0.5007 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.1266, allocations: 394.6 kB / 0.5011 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.1272, allocations: 414.2 kB / 0.5015 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.1274, allocations: 108 kB / 0.5016 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.1276, allocations: 140 kB / 0.5017 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.1279, allocations: 239.3 kB / 0.502 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.1283, allocations: 473.7 kB / 0.5024 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1297, allocations: 1.218 MB / 0.5036 GB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1297, allocations: 0 / 0.5036 GB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1297, allocations: 0 / 0.5036 GB, free: 11.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.1298, allocations: 4 kB / 0.5036 GB, free: 11.88 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002195/0.132, allocations: 1.203 MB / 0.5048 GB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.132, allocations: 8.031 kB / 0.5048 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.1322, allocations: 100.3 kB / 0.5049 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/0.1331, allocations: 0.5077 MB / 0.5054 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.1331, allocations: 58.38 kB / 0.5054 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1333, allocations: 92.06 kB / 0.5055 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1347, allocations: 0.7361 MB / 0.5062 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.1348, allocations: 7.984 kB / 0.5063 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.1348, allocations: 28 kB / 0.5063 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.1348, allocations: 16 kB / 0.5063 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.1361, allocations: 0.5309 MB / 0.5068 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/0.1406, allocations: 2.628 MB / 0.5094 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.1416, allocations: 362.8 kB / 0.5097 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.142, allocations: 169 kB / 0.5099 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.142, allocations: 15.97 kB / 0.5099 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.1427, allocations: 263.5 kB / 0.5102 GB, free: 4.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.1427, allocations: 0 / 0.5102 GB, free: 4.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001803/0.1445, allocations: 0.6707 MB / 0.5108 GB, free: 4.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1446, allocations: 144.5 kB / 0.5109 GB, free: 4.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/0.1455, allocations: 0.6865 MB / 0.5116 GB, free: 3.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.1456, allocations: 33.7 kB / 0.5116 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.146, allocations: 392.5 kB / 0.512 GB, free: 2.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1461, allocations: 127 kB / 0.5121 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1463, allocations: 90.19 kB / 0.5122 GB, free: 2.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1465, allocations: 374.8 kB / 0.5126 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.147, allocations: 190.8 kB / 0.5128 GB, free: 2.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.1476, allocations: 298.3 kB / 0.5131 GB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1486, allocations: 0.5959 MB / 0.5136 GB, free: 1.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1486, allocations: 0 / 0.5136 GB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001466/0.1501, allocations: 0.6766 MB / 0.5143 GB, free: 460 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.1502, allocations: 89.09 kB / 0.5144 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1502, allocations: 4 kB / 0.5144 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.1503, allocations: 28.73 kB / 0.5144 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.1507, allocations: 99.88 kB / 0.5145 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.199/0.3497, allocations: 1.279 MB / 0.5158 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.3503, allocations: 93.22 kB / 0.5158 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.3504, allocations: 23.38 kB / 0.5159 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006163/0.351, allocations: 362.8 kB / 0.5162 GB, free: 25.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003938/0.3514, allocations: 285.6 kB / 0.5165 GB, free: 25.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007458/0.3521, allocations: 0.5611 MB / 0.517 GB, free: 24.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.3521, allocations: 4.938 kB / 0.517 GB, free: 24.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001024/0.3532, allocations: 0.645 MB / 0.5177 GB, free: 24.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3532, allocations: 91.61 kB / 0.5178 GB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3532, allocations: 7.719 kB / 0.5178 GB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.428e-05/0.3533, allocations: 25.44 kB / 0.5178 GB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.3536, allocations: 94.5 kB / 0.5179 GB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005972/0.3542, allocations: 1.296 MB / 0.5191 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.3546, allocations: 69.3 kB / 0.5192 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3547, allocations: 22.25 kB / 0.5192 GB, free: 23.51 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.0001524/0.3548, allocations: 276.5 kB / 0.5195 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.3549, allocations: 64.73 kB / 0.5196 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.3559, allocations: 0.5324 MB / 0.5201 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3559, allocations: 4.297 kB / 0.5201 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3559, allocations: 0 / 0.5201 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.356, allocations: 1.547 kB / 0.5201 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.3576, allocations: 1.249 MB / 0.5213 GB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3576, allocations: 0 / 0.5213 GB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3579, allocations: 61.78 kB / 0.5214 GB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.598e-05/0.358, allocations: 29.25 kB / 0.5214 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.358, allocations: 12.52 kB / 0.5214 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005854/0.3586, allocations: 1.282 MB / 0.5227 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3586, allocations: 0 / 0.5227 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.36, allocations: 0.8248 MB / 0.5235 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3601, allocations: 79.94 kB / 0.5235 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.3602, allocations: 14.22 kB / 0.5235 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3605, allocations: 39.38 kB / 0.5236 GB, free: 21.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.3606, allocations: 36.75 kB / 0.5236 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.3606, allocations: 15.39 kB / 0.5236 GB, free: 21.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004796/0.3611, allocations: 489.5 kB / 0.5241 GB, free: 21.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 3.594 kB / 0.5241 GB, free: 21.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007656/0.3619, allocations: 315.7 kB / 0.5244 GB, free: 21.19 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.001307/0.3632, allocations: 377.7 kB / 0.5248 GB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.3651, allocations: 1.194 MB / 0.5259 GB, free: 20.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3651, allocations: 0 / 0.5259 GB, free: 20.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.3656, allocations: 419.6 kB / 0.5263 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.3662, allocations: 98.48 kB / 0.5264 GB, free: 20.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3683, allocations: 1.415 MB / 0.5278 GB, free: 19.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3687, allocations: 0.9332 MB / 0.5287 GB, free: 18.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3688, allocations: 44.95 kB / 0.5288 GB, free: 18.79 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3688, allocations: 0 / 0.5288 GB, free: 18.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01669/0.3855, allocations: 12.05 MB / 0.5405 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.992888889973983] Failed to read output from testmodel.py, exit status != 0: 0.39302182709798217 0.403390727 0.27141144100000003 Calling exit ...