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.001555/0.001555, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001564/0.001564, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.03994/0.03994, allocations: 8.538 MB / 321.7 MB, free: 10.67 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.001986/0.001986, allocations: 63.84 kB / 448.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 55.42 MB / 0.4918 GB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.00654/0.1185, allocations: 4.541 MB / 0.4962 GB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.1226, allocations: 2.38 MB / 0.4986 GB, free: 1.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.123, allocations: 19.88 kB / 0.4986 GB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.1236, allocations: 162.6 kB / 0.4987 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008171/0.1244, allocations: 274.2 kB / 0.499 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.1253, allocations: 423.2 kB / 0.4994 GB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1264, allocations: 0.9663 MB / 0.5003 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.127, allocations: 361.1 kB / 0.5007 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.1275, allocations: 398.7 kB / 0.5011 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.1281, allocations: 426.2 kB / 0.5015 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.1282, allocations: 112 kB / 0.5016 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.1285, allocations: 207.9 kB / 0.5018 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.1288, allocations: 247.2 kB / 0.502 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.1293, allocations: 481.7 kB / 0.5025 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.1308, allocations: 1.28 MB / 0.5037 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1308, allocations: 0 / 0.5037 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1308, allocations: 4 kB / 0.5037 GB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1308, allocations: 0 / 0.5037 GB, free: 11.77 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.002192/0.133, allocations: 1.207 MB / 0.5049 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.133, allocations: 12.03 kB / 0.5049 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.1332, allocations: 108.2 kB / 0.505 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.1341, allocations: 0.5194 MB / 0.5055 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.1342, allocations: 54.38 kB / 0.5056 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.1343, allocations: 84.08 kB / 0.5057 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1357, allocations: 0.7486 MB / 0.5064 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.1357, allocations: 0 / 0.5064 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.1358, allocations: 31.98 kB / 0.5064 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1358, allocations: 20 kB / 0.5064 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.1371, allocations: 0.527 MB / 0.507 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.1413, allocations: 2.628 MB / 0.5095 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1423, allocations: 374.6 kB / 0.5099 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.1428, allocations: 161 kB / 0.51 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1428, allocations: 4 kB / 0.51 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006092/0.1434, allocations: 275.5 kB / 0.5103 GB, free: 4.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.1434, allocations: 0 / 0.5103 GB, free: 4.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001806/0.1452, allocations: 0.6708 MB / 0.511 GB, free: 4.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1453, allocations: 158.2 kB / 0.5111 GB, free: 3.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.1463, allocations: 0.7022 MB / 0.5118 GB, free: 3.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.1463, allocations: 37.7 kB / 0.5118 GB, free: 3.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.1467, allocations: 388.5 kB / 0.5122 GB, free: 2.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.1468, allocations: 134.8 kB / 0.5123 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.147, allocations: 94.19 kB / 0.5124 GB, free: 2.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1472, allocations: 374.7 kB / 0.5128 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.1476, allocations: 186.8 kB / 0.5129 GB, free: 1.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.1482, allocations: 315.2 kB / 0.5132 GB, free: 1.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1493, allocations: 0.5959 MB / 0.5138 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1493, allocations: 0 / 0.5138 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001443/0.1507, allocations: 0.6801 MB / 0.5145 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.1508, allocations: 89.09 kB / 0.5146 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1508, allocations: 4 kB / 0.5146 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.151, allocations: 25.3 kB / 0.5146 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1514, allocations: 103.8 kB / 0.5147 GB, free: 0 / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1943/0.3457, allocations: 1.28 MB / 0.516 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.3463, allocations: 89 kB / 0.516 GB, free: 25.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.3463, allocations: 26.64 kB / 0.5161 GB, free: 25.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000644/0.347, allocations: 367.6 kB / 0.5164 GB, free: 25.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004129/0.3474, allocations: 294.1 kB / 0.5167 GB, free: 24.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007372/0.3481, allocations: 0.5722 MB / 0.5173 GB, free: 24.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.3481, allocations: 0 / 0.5173 GB, free: 24.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001079/0.3492, allocations: 0.6564 MB / 0.5179 GB, free: 24.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.3493, allocations: 89.22 kB / 0.518 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3493, allocations: 5.969 kB / 0.518 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.433e-05/0.3494, allocations: 25.94 kB / 0.518 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.3497, allocations: 93.28 kB / 0.5181 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/0.3503, allocations: 1.297 MB / 0.5194 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.3508, allocations: 68.81 kB / 0.5194 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3508, allocations: 18.55 kB / 0.5195 GB, free: 23.23 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.0001701/0.351, allocations: 277.9 kB / 0.5197 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.351, allocations: 64.8 kB / 0.5198 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3521, allocations: 0.5282 MB / 0.5203 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3521, allocations: 6.484 kB / 0.5203 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3521, allocations: 4.719 kB / 0.5203 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3521, allocations: 3.438 kB / 0.5203 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.3539, allocations: 1.273 MB / 0.5216 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3539, allocations: 0.75 kB / 0.5216 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3543, allocations: 64.67 kB / 0.5216 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-05/0.3543, allocations: 24.22 kB / 0.5216 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.3544, allocations: 15.02 kB / 0.5217 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000609/0.355, allocations: 1.274 MB / 0.5229 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.355, allocations: 3.609 kB / 0.5229 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.3563, allocations: 0.831 MB / 0.5237 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3564, allocations: 76.8 kB / 0.5238 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.3565, allocations: 12.03 kB / 0.5238 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.3569, allocations: 44.8 kB / 0.5238 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.357, allocations: 36.61 kB / 0.5239 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.357, allocations: 13.31 kB / 0.5239 GB, free: 21.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.3576, allocations: 0.493 MB / 0.5244 GB, free: 20.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3576, allocations: 0 / 0.5244 GB, free: 20.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.3584, allocations: 336.6 kB / 0.5247 GB, free: 20.93 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.001527/0.36, allocations: 459.7 kB / 0.5251 GB, free: 20.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3619, allocations: 1.205 MB / 0.5263 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3619, allocations: 0 / 0.5263 GB, free: 20.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.3625, allocations: 418.7 kB / 0.5267 GB, free: 19.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.3631, allocations: 97.84 kB / 0.5268 GB, free: 19.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.3654, allocations: 1.417 MB / 0.5282 GB, free: 19.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3658, allocations: 0.9305 MB / 0.5291 GB, free: 18.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3659, allocations: 47.86 kB / 0.5291 GB, free: 18.47 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3659, allocations: 5.312 kB / 0.5291 GB, free: 18.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01655/0.3825, allocations: 12.58 MB / 0.5414 GB, free: 14.2 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.177354682935402] Failed to read output from testmodel.py, exit status != 0: 0.3898447460960597 0.39997825699999995 0.26693100799999997 Calling exit ...