Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002737/0.002737, allocations: 192.9 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04299/0.04299, allocations: 8.556 MB / 314.8 MB, free: 136 kB / 238.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 68.08 kB / 438.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1092, allocations: 54.25 MB / 493.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006499/0.1157, allocations: 4.504 MB / 497.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.1199, allocations: 2.221 MB / 499.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005715/0.1204, allocations: 19.88 kB / 499.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.121, allocations: 158.7 kB / 0.4884 GB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000759/0.1218, allocations: 242.3 kB / 0.4886 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.1227, allocations: 426.2 kB / 0.489 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1237, allocations: 0.9507 MB / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005796/0.1243, allocations: 361.1 kB / 0.4903 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.1248, allocations: 390.7 kB / 0.4906 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.1254, allocations: 418.1 kB / 0.491 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1255, allocations: 108 kB / 0.4911 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.1258, allocations: 140 kB / 0.4913 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.1261, allocations: 239.3 kB / 0.4915 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004841/0.1266, allocations: 477.7 kB / 0.492 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.128, allocations: 1.199 MB / 0.4931 GB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.128, allocations: 0 / 0.4931 GB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.128, allocations: 0 / 0.4931 GB, free: 9.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.128, allocations: 4 kB / 0.4931 GB, free: 9.938 MB / 366.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.002128/0.1302, allocations: 1.192 MB / 0.4943 GB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001035/0.1303, allocations: 8.031 kB / 0.4943 GB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.1304, allocations: 100.3 kB / 0.4944 GB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/0.1314, allocations: 0.4999 MB / 0.4949 GB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.1314, allocations: 58.38 kB / 0.495 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.1316, allocations: 84.02 kB / 0.495 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.133, allocations: 0.7439 MB / 0.4958 GB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1331, allocations: 4 kB / 0.4958 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.1331, allocations: 31.98 kB / 0.4958 GB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1331, allocations: 19.94 kB / 0.4958 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.1345, allocations: 0.5348 MB / 0.4963 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.1389, allocations: 2.628 MB / 0.4989 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.14, allocations: 370.6 kB / 0.4993 GB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.1405, allocations: 169.9 kB / 0.4994 GB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.1405, allocations: 4 kB / 0.4994 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/0.1412, allocations: 283.3 kB / 0.4997 GB, free: 2.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.1412, allocations: 3.938 kB / 0.4997 GB, free: 2.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001917/0.1431, allocations: 0.6627 MB / 0.5003 GB, free: 2.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.1432, allocations: 140.8 kB / 0.5005 GB, free: 2.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.1441, allocations: 0.6863 MB / 0.5011 GB, free: 1.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.1442, allocations: 37.7 kB / 0.5012 GB, free: 1.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.1445, allocations: 392.5 kB / 0.5016 GB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.1446, allocations: 123 kB / 0.5017 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1448, allocations: 98.14 kB / 0.5018 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.145, allocations: 370.8 kB / 0.5021 GB, free: 428 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.1455, allocations: 186.8 kB / 0.5023 GB, free: 236 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.1461, allocations: 294.6 kB / 0.5026 GB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.1472, allocations: 0.5921 MB / 0.5032 GB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1472, allocations: 0 / 0.5032 GB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001441/0.1487, allocations: 0.6766 MB / 0.5038 GB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.1488, allocations: 93.09 kB / 0.5039 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.1488, allocations: 8 kB / 0.5039 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.149, allocations: 20.8 kB / 0.5039 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.1494, allocations: 99.88 kB / 0.504 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1506, allocations: 1.283 MB / 0.5053 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.1511, allocations: 91.66 kB / 0.5054 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.1511, allocations: 23.94 kB / 0.5054 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007124/0.1518, allocations: 361 kB / 0.5057 GB, free: 12.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005236/0.1524, allocations: 282.6 kB / 0.506 GB, free: 12.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/0.1535, allocations: 0.5707 MB / 0.5066 GB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.1535, allocations: 7.938 kB / 0.5066 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001316/0.1548, allocations: 0.6391 MB / 0.5072 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.1549, allocations: 89.09 kB / 0.5073 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1549, allocations: 4.438 kB / 0.5073 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.714e-05/0.155, allocations: 32.84 kB / 0.5073 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.1553, allocations: 95.81 kB / 0.5074 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1564, allocations: 1.287 MB / 0.5087 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.1568, allocations: 71.69 kB / 0.5087 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.1569, allocations: 20.09 kB / 0.5088 GB, free: 9.031 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.0002634/0.1571, allocations: 271.6 kB / 0.509 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1572, allocations: 63.56 kB / 0.5091 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.1586, allocations: 0.5353 MB / 0.5096 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1586, allocations: 4 kB / 0.5096 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1586, allocations: 0 / 0.5096 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1586, allocations: 3.984 kB / 0.5096 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.1609, allocations: 1.251 MB / 0.5108 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1609, allocations: 0 / 0.5108 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1613, allocations: 59.89 kB / 0.5109 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.1614, allocations: 28.78 kB / 0.5109 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.1614, allocations: 8 kB / 0.5109 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.1626, allocations: 1.291 MB / 0.5122 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1626, allocations: 4.156 kB / 0.5122 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1643, allocations: 0.8206 MB / 0.513 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1645, allocations: 71.48 kB / 0.513 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.1645, allocations: 8 kB / 0.5131 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.1649, allocations: 43.95 kB / 0.5131 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1651, allocations: 31.95 kB / 0.5131 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.1651, allocations: 15.98 kB / 0.5131 GB, free: 4.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.1658, allocations: 486.8 kB / 0.5136 GB, free: 3.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1658, allocations: 0 / 0.5136 GB, free: 3.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009846/0.1668, allocations: 315 kB / 0.5139 GB, free: 3.492 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.001353/0.1681, allocations: 372.7 kB / 0.5143 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.1706, allocations: 1.194 MB / 0.5154 GB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1706, allocations: 0 / 0.5154 GB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.1715, allocations: 430.2 kB / 0.5158 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.1723, allocations: 82.27 kB / 0.5159 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.1751, allocations: 1.387 MB / 0.5173 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2258/0.4009, allocations: 0.9304 MB / 0.5182 GB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004152/0.4013, allocations: 70.83 kB / 0.5182 GB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4015, allocations: 40.36 kB / 0.5183 GB, free: 34.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4015, allocations: 0 / 0.5183 GB, free: 34.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01821/0.4197, allocations: 8.055 MB / 0.5262 GB, free: 33.9 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1095891911536455] Failed to read output from testmodel.py, exit status != 0: 0.42772472091019154 0.44242176699999997 0.311339596 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f113fee57b0>