Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001396/0.001396, 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.001732/0.001732, allocations: 222.3 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.51/1.51, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04409/0.04409, allocations: 8.55 MB / 321.7 MB, free: 10.42 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_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.002192/0.002192, allocations: 72.06 kB / 448.1 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1505, allocations: 55.42 MB / 0.4917 GB, free: 7.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.007655/0.1582, allocations: 4.11 MB / 0.4958 GB, free: 3.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.1632, allocations: 2.315 MB / 0.498 GB, free: 1.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005959/0.1638, allocations: 15.94 kB / 0.498 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005672/0.1644, allocations: 166.6 kB / 0.4982 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009862/0.1654, allocations: 278.1 kB / 0.4985 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1664, allocations: 440.7 kB / 0.4989 GB, free: 316 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1677, allocations: 0.9663 MB / 0.4998 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006024/0.1683, allocations: 341 kB / 0.5001 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.1689, allocations: 394.7 kB / 0.5005 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.1695, allocations: 370.1 kB / 0.5009 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.1696, allocations: 112 kB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1701, allocations: 203.9 kB / 0.5012 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.1705, allocations: 251.2 kB / 0.5014 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.171, allocations: 382.2 kB / 0.5018 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.1728, allocations: 1.288 MB / 0.503 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1728, allocations: 0 / 0.503 GB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1728, allocations: 0 / 0.503 GB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1728, allocations: 0 / 0.503 GB, free: 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002497/0.1753, allocations: 1.223 MB / 0.5042 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1754, allocations: 8.031 kB / 0.5042 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.1755, allocations: 104.3 kB / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1766, allocations: 0.5155 MB / 0.5048 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.1767, allocations: 62.31 kB / 0.5049 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.1768, allocations: 88.06 kB / 0.505 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.1785, allocations: 0.8819 MB / 0.5058 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.1785, allocations: 8 kB / 0.5059 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.1786, allocations: 35.94 kB / 0.5059 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.1786, allocations: 16 kB / 0.5059 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1799, allocations: 0.5851 MB / 0.5065 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.1844, allocations: 2.301 MB / 0.5087 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1856, allocations: 426.1 kB / 0.5091 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.186, allocations: 228.5 kB / 0.5093 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.1861, allocations: 7.984 kB / 0.5094 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/0.1868, allocations: 378.3 kB / 0.5097 GB, free: 4.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.1868, allocations: 0 / 0.5097 GB, free: 4.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001936/0.1887, allocations: 0.779 MB / 0.5105 GB, free: 4.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1889, allocations: 162.2 kB / 0.5106 GB, free: 3.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.1898, allocations: 0.6151 MB / 0.5112 GB, free: 3.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.1899, allocations: 33.7 kB / 0.5113 GB, free: 3.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.1903, allocations: 412.2 kB / 0.5117 GB, free: 2.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.1904, allocations: 126.9 kB / 0.5118 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.1906, allocations: 102.1 kB / 0.5119 GB, free: 2.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.1908, allocations: 366.7 kB / 0.5122 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.1914, allocations: 275.8 kB / 0.5125 GB, free: 1.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.1921, allocations: 447.7 kB / 0.5129 GB, free: 1.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.1932, allocations: 0.5998 MB / 0.5135 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1932, allocations: 0 / 0.5135 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2906/0.4838, allocations: 0.7486 MB / 0.5142 GB, free: 26.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.4839, allocations: 94.25 kB / 0.5143 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4839, allocations: 4.312 kB / 0.5143 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.4841, allocations: 26.2 kB / 0.5143 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.4845, allocations: 100.3 kB / 0.5144 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008173/0.4854, allocations: 1.263 MB / 0.5157 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.4859, allocations: 77.66 kB / 0.5157 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.4859, allocations: 23.84 kB / 0.5158 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006839/0.4866, allocations: 452.3 kB / 0.5162 GB, free: 24.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004643/0.4871, allocations: 428.9 kB / 0.5166 GB, free: 24.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008009/0.4879, allocations: 0.5794 MB / 0.5172 GB, free: 24.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.4879, allocations: 3.906 kB / 0.5172 GB, free: 24.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001144/0.489, allocations: 0.7289 MB / 0.5179 GB, free: 24.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.4891, allocations: 94.73 kB / 0.518 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4891, allocations: 6.344 kB / 0.518 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.362e-05/0.4892, allocations: 31.3 kB / 0.518 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.4895, allocations: 93.03 kB / 0.5181 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006421/0.4901, allocations: 1.263 MB / 0.5193 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.4905, allocations: 67.77 kB / 0.5194 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.4906, allocations: 20.3 kB / 0.5194 GB, free: 22.9 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.0001898/0.4908, allocations: 275.8 kB / 0.5197 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.4909, allocations: 61.44 kB / 0.5197 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.492, allocations: 0.5879 MB / 0.5203 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.492, allocations: 3.844 kB / 0.5203 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.492, allocations: 7.875 kB / 0.5203 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.492, allocations: 0 / 0.5203 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4938, allocations: 1.147 MB / 0.5215 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4938, allocations: 3.938 kB / 0.5215 GB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.4941, allocations: 64.25 kB / 0.5215 GB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.4942, allocations: 25.22 kB / 0.5215 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.4942, allocations: 9.641 kB / 0.5216 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006797/0.4949, allocations: 1.26 MB / 0.5228 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4949, allocations: 8.344 kB / 0.5228 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4965, allocations: 0.9391 MB / 0.5237 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4966, allocations: 63.12 kB / 0.5238 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.4966, allocations: 10.98 kB / 0.5238 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.497, allocations: 44.58 kB / 0.5238 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4971, allocations: 36.61 kB / 0.5239 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.4971, allocations: 13.97 kB / 0.5239 GB, free: 20.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.4976, allocations: 438.3 kB / 0.5243 GB, free: 20.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4976, allocations: 3.828 kB / 0.5243 GB, free: 20.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008909/0.4985, allocations: 362.2 kB / 0.5246 GB, free: 20.39 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.001632/0.5002, allocations: 483 kB / 0.5251 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.5023, allocations: 1.442 MB / 0.5265 GB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5023, allocations: 4.062 kB / 0.5265 GB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.5029, allocations: 485.8 kB / 0.527 GB, free: 19.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.5035, allocations: 83.25 kB / 0.5271 GB, free: 19.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.5059, allocations: 1.479 MB / 0.5285 GB, free: 18.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.5063, allocations: 341.5 kB / 0.5288 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.5065, allocations: 43.84 kB / 0.5289 GB, free: 18.13 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5065, allocations: 0 / 0.5289 GB, free: 18.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01943/0.5259, allocations: 12.57 MB / 0.5411 GB, free: 13.87 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.03557849675417] Failed to read output from testmodel.py, exit status != 0: 0.5341398473829031 0.5451438749999999 0.37000773299999995 Calling exit ...