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.001312/0.001312, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001554/0.001554, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.0632/0.0632, allocations: 8.551 MB / 321.7 MB, free: 10.38 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.002092/0.002092, allocations: 67.89 kB / 448.1 MB, free: 15.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1382, allocations: 55.42 MB / 0.4917 GB, free: 7.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006973/0.1452, allocations: 4.124 MB / 0.4958 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.1497, allocations: 2.311 MB / 0.498 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.1502, allocations: 15.94 kB / 0.498 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.1507, allocations: 162.6 kB / 0.4982 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.1515, allocations: 282.1 kB / 0.4985 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.1523, allocations: 428.9 kB / 0.4989 GB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1534, allocations: 0.9624 MB / 0.4998 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/0.154, allocations: 333.1 kB / 0.5001 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.1545, allocations: 398.6 kB / 0.5005 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.155, allocations: 354.2 kB / 0.5008 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1552, allocations: 116 kB / 0.501 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.1554, allocations: 140 kB / 0.5011 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.1557, allocations: 239.3 kB / 0.5013 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.1561, allocations: 370.3 kB / 0.5017 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1576, allocations: 1.222 MB / 0.5029 GB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1576, allocations: 0 / 0.5029 GB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1576, allocations: 0 / 0.5029 GB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1576, allocations: 0 / 0.5029 GB, free: 12.11 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.002213/0.1598, allocations: 1.203 MB / 0.504 GB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1598, allocations: 8.031 kB / 0.504 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.16, allocations: 104.3 kB / 0.5041 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.161, allocations: 0.5155 MB / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.1611, allocations: 62.31 kB / 0.5047 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1612, allocations: 84.08 kB / 0.5048 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1627, allocations: 0.856 MB / 0.5056 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.1628, allocations: 3.938 kB / 0.5056 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.1628, allocations: 32 kB / 0.5057 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.1629, allocations: 20 kB / 0.5057 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1642, allocations: 0.5889 MB / 0.5062 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.1682, allocations: 2.274 MB / 0.5085 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1693, allocations: 426.1 kB / 0.5089 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/0.1698, allocations: 224.4 kB / 0.5091 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1699, allocations: 4 kB / 0.5091 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006891/0.1706, allocations: 386.2 kB / 0.5095 GB, free: 5.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.1706, allocations: 0 / 0.5095 GB, free: 5.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001861/0.1724, allocations: 0.7791 MB / 0.5102 GB, free: 4.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1725, allocations: 140.5 kB / 0.5104 GB, free: 4.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/0.1735, allocations: 0.5995 MB / 0.5109 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.1736, allocations: 41.7 kB / 0.511 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.1739, allocations: 400.2 kB / 0.5114 GB, free: 2.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.174, allocations: 130.9 kB / 0.5115 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.1742, allocations: 98.14 kB / 0.5116 GB, free: 2.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1744, allocations: 370.7 kB / 0.5119 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.175, allocations: 271.9 kB / 0.5122 GB, free: 2.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.1756, allocations: 409.2 kB / 0.5126 GB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.1767, allocations: 0.5959 MB / 0.5132 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1767, allocations: 0 / 0.5132 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001479/0.1782, allocations: 0.7555 MB / 0.5139 GB, free: 156 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/0.1783, allocations: 93.09 kB / 0.514 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1783, allocations: 4 kB / 0.514 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.1785, allocations: 32.84 kB / 0.514 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3043/0.4828, allocations: 88.14 kB / 0.5141 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009559/0.4838, allocations: 1.262 MB / 0.5153 GB, free: 25.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.4843, allocations: 80.2 kB / 0.5154 GB, free: 25.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.4844, allocations: 22.19 kB / 0.5154 GB, free: 25.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007496/0.4851, allocations: 454.2 kB / 0.5159 GB, free: 25.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000497/0.4856, allocations: 394.6 kB / 0.5163 GB, free: 25.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008009/0.4864, allocations: 0.5656 MB / 0.5168 GB, free: 25.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.4864, allocations: 3.781 kB / 0.5168 GB, free: 25.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001156/0.4876, allocations: 0.7294 MB / 0.5175 GB, free: 24.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.4876, allocations: 100.1 kB / 0.5176 GB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4877, allocations: 2.25 kB / 0.5176 GB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.503e-05/0.4877, allocations: 23.95 kB / 0.5176 GB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.4881, allocations: 98.48 kB / 0.5177 GB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006857/0.4888, allocations: 1.263 MB / 0.519 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.4892, allocations: 71.41 kB / 0.519 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.4892, allocations: 21.16 kB / 0.5191 GB, free: 23.53 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.0001927/0.4894, allocations: 270.6 kB / 0.5193 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.4895, allocations: 61.81 kB / 0.5194 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.4907, allocations: 0.5816 MB / 0.5199 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.4907, allocations: 5.172 kB / 0.5199 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4907, allocations: 2.344 kB / 0.5199 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4907, allocations: 4.141 kB / 0.52 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.4926, allocations: 1.142 MB / 0.5211 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4926, allocations: 0 / 0.5211 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.4929, allocations: 68.67 kB / 0.5211 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-05/0.493, allocations: 22.91 kB / 0.5212 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.493, allocations: 8.719 kB / 0.5212 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006731/0.4937, allocations: 1.261 MB / 0.5224 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4937, allocations: 7.344 kB / 0.5224 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.4952, allocations: 0.9365 MB / 0.5233 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4953, allocations: 68.62 kB / 0.5234 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.4953, allocations: 13.33 kB / 0.5234 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.4957, allocations: 43.59 kB / 0.5234 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4958, allocations: 32.84 kB / 0.5235 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.4959, allocations: 12.39 kB / 0.5235 GB, free: 21.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006577/0.4965, allocations: 428.4 kB / 0.5239 GB, free: 21.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4965, allocations: 3.469 kB / 0.5239 GB, free: 21.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009294/0.4974, allocations: 338.1 kB / 0.5242 GB, free: 21.01 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.001478/0.4989, allocations: 387.6 kB / 0.5246 GB, free: 20.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.5012, allocations: 1.432 MB / 0.526 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5012, allocations: 1.562 kB / 0.526 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.5019, allocations: 480.9 kB / 0.5264 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.5025, allocations: 93.52 kB / 0.5265 GB, free: 19.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.5051, allocations: 1.468 MB / 0.528 GB, free: 18.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.5055, allocations: 339.8 kB / 0.5283 GB, free: 18.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.5057, allocations: 41.7 kB / 0.5283 GB, free: 18.79 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5057, allocations: 0 / 0.5283 GB, free: 18.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01974/0.5254, allocations: 12 MB / 0.54 GB, free: 14.84 MB / 382.1 MB " [Timeout remaining time 659] 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: 8.872654818929732] Failed to read output from testmodel.py, exit status != 0: 0.5338976820930839 0.5447982170000001 0.385010287 Calling exit ...