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.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.001303/0.001303, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001381/0.001381, allocations: 199 kB / 22.17 MB, free: 5.199 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.04212/0.04212, allocations: 8.534 MB / 314.7 MB, free: 268 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.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: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 438.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09928, allocations: 54.19 MB / 492.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006762/0.106, allocations: 4.501 MB / 497.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.11, allocations: 2.217 MB / 499.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.1105, allocations: 15.94 kB / 499.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.111, allocations: 158.7 kB / 499.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006603/0.1116, allocations: 226.3 kB / 500 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.1125, allocations: 434 kB / 0.4887 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.1136, allocations: 0.943 MB / 0.4896 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.1142, allocations: 364.6 kB / 0.4899 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.1147, allocations: 374.7 kB / 0.4903 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005892/0.1153, allocations: 422.2 kB / 0.4907 GB, free: 12.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.1154, allocations: 112 kB / 0.4908 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.1157, allocations: 156 kB / 0.4909 GB, free: 12.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.116, allocations: 247.2 kB / 0.4912 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.1164, allocations: 473.7 kB / 0.4916 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1179, allocations: 1.234 MB / 0.4928 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1179, allocations: 0 / 0.4928 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1179, allocations: 0 / 0.4928 GB, free: 10.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1179, allocations: 0 / 0.4928 GB, free: 10.24 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002295/0.1202, allocations: 1.259 MB / 0.4941 GB, free: 8.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1203, allocations: 15.89 kB / 0.4941 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.1204, allocations: 96.33 kB / 0.4942 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/0.1214, allocations: 0.5875 MB / 0.4947 GB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/0.1215, allocations: 54.38 kB / 0.4948 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1216, allocations: 80.12 kB / 0.4949 GB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1231, allocations: 0.7409 MB / 0.4956 GB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.1231, allocations: 3.953 kB / 0.4956 GB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.1232, allocations: 28 kB / 0.4956 GB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1232, allocations: 23.94 kB / 0.4956 GB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1245, allocations: 0.5309 MB / 0.4962 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.1289, allocations: 2.715 MB / 0.4988 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.13, allocations: 436.4 kB / 0.4992 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.1305, allocations: 169 kB / 0.4994 GB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.1305, allocations: 7.938 kB / 0.4994 GB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006359/0.1312, allocations: 271.4 kB / 0.4997 GB, free: 2.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.1312, allocations: 0 / 0.4997 GB, free: 2.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001863/0.133, allocations: 0.7419 MB / 0.5004 GB, free: 2.168 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1332, allocations: 170.5 kB / 0.5005 GB, free: 1.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.1341, allocations: 0.6709 MB / 0.5012 GB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.1341, allocations: 37.7 kB / 0.5012 GB, free: 1.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.1345, allocations: 392.5 kB / 0.5016 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1346, allocations: 134.9 kB / 0.5017 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.1348, allocations: 94.25 kB / 0.5018 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.135, allocations: 374.7 kB / 0.5022 GB, free: 252 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.1355, allocations: 183 kB / 0.5024 GB, free: 68 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.1361, allocations: 304.1 kB / 0.5027 GB, free: 15.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.1372, allocations: 0.6037 MB / 0.5032 GB, free: 15.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1372, allocations: 0 / 0.5032 GB, free: 15.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001449/0.1386, allocations: 0.6727 MB / 0.5039 GB, free: 14.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.665e-05/0.1387, allocations: 101 kB / 0.504 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1387, allocations: 0 / 0.504 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.1389, allocations: 29.19 kB / 0.504 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1393, allocations: 103.8 kB / 0.5041 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.1406, allocations: 1.391 MB / 0.5055 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.1411, allocations: 83.58 kB / 0.5056 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.1411, allocations: 20 kB / 0.5056 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007434/0.1419, allocations: 365.2 kB / 0.5059 GB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005581/0.1424, allocations: 296 kB / 0.5062 GB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.1435, allocations: 0.5785 MB / 0.5068 GB, free: 11.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.1435, allocations: 4 kB / 0.5068 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001372/0.1449, allocations: 0.6507 MB / 0.5074 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.188e-05/0.1449, allocations: 93.09 kB / 0.5075 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1449, allocations: 4 kB / 0.5075 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.816e-05/0.145, allocations: 24.84 kB / 0.5075 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.1454, allocations: 100.2 kB / 0.5076 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.1465, allocations: 1.391 MB / 0.509 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.147, allocations: 67.73 kB / 0.509 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.147, allocations: 20 kB / 0.5091 GB, free: 8.551 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.0002843/0.1473, allocations: 278.1 kB / 0.5093 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1474, allocations: 67.56 kB / 0.5094 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1487, allocations: 0.5346 MB / 0.5099 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1487, allocations: 4 kB / 0.5099 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1487, allocations: 4 kB / 0.5099 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1487, allocations: 3.938 kB / 0.5099 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.151, allocations: 1.272 MB / 0.5112 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.151, allocations: 0 / 0.5112 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.1513, allocations: 67.89 kB / 0.5112 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/0.1514, allocations: 24.84 kB / 0.5113 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.1514, allocations: 11.94 kB / 0.5113 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1525, allocations: 1.387 MB / 0.5126 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1525, allocations: 0 / 0.5126 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.1542, allocations: 0.8362 MB / 0.5134 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.1544, allocations: 148.7 kB / 0.5136 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.1544, allocations: 11.94 kB / 0.5136 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.1548, allocations: 43.95 kB / 0.5136 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1549, allocations: 35.95 kB / 0.5137 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.155, allocations: 12 kB / 0.5137 GB, free: 3.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.1556, allocations: 490.8 kB / 0.5142 GB, free: 3.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1556, allocations: 0 / 0.5142 GB, free: 3.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008594/0.1564, allocations: 319.1 kB / 0.5145 GB, free: 2.727 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.001385/0.1578, allocations: 420.2 kB / 0.5149 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.1601, allocations: 1.199 MB / 0.516 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1601, allocations: 1.062 kB / 0.516 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.1608, allocations: 425.1 kB / 0.5164 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.1614, allocations: 98.8 kB / 0.5165 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1782/0.3396, allocations: 1.379 MB / 0.5179 GB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.34, allocations: 0.931 MB / 0.5188 GB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.3403, allocations: 72.09 kB / 0.5189 GB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3404, allocations: 43.19 kB / 0.5189 GB, free: 35.44 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3405, allocations: 1.203 kB / 0.5189 GB, free: 35.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01618/0.3566, allocations: 8.294 MB / 0.527 GB, free: 34.54 MB / 382.1 MB " [Timeout remaining time 660] 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 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.881652127951384] Failed to read output from testmodel.py, exit status != 0: 0.3638330022804439 0.375012963 0.254680937 Calling exit ...