Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.001308/0.001308, allocations: 108.6 kB / 18.67 MB, free: 3.191 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.00545/0.00545, allocations: 195 kB / 21.93 MB, free: 5.594 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 / 250.6 MB, free: 13.39 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.04258/0.04258, allocations: 8.542 MB / 314.3 MB, free: 420 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/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.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 438.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09668, allocations: 54.19 MB / 492.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.007181/0.1039, allocations: 5.227 MB / 497.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.1074, allocations: 2.181 MB / 499.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.1077, allocations: 15.94 kB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.1082, allocations: 222.5 kB / 500 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006326/0.1089, allocations: 270.2 kB / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009701/0.1098, allocations: 0.5021 MB / 0.489 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.111, allocations: 1.029 MB / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.1115, allocations: 340.1 kB / 0.4903 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.112, allocations: 406.5 kB / 0.4907 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1126, allocations: 450 kB / 0.4912 GB, free: 12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1128, allocations: 112 kB / 0.4913 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.1131, allocations: 199.9 kB / 0.4915 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.1133, allocations: 263.1 kB / 0.4917 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.1138, allocations: 497.5 kB / 0.4922 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1153, allocations: 1.323 MB / 0.4935 GB, free: 9.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1153, allocations: 0 / 0.4935 GB, free: 9.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1153, allocations: 4 kB / 0.4935 GB, free: 9.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1153, allocations: 0 / 0.4935 GB, free: 9.613 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002314/0.1176, allocations: 1.342 MB / 0.4948 GB, free: 8.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1177, allocations: 11.89 kB / 0.4948 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.1178, allocations: 116.2 kB / 0.4949 GB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/0.1188, allocations: 0.6208 MB / 0.4955 GB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.119, allocations: 92 kB / 0.4956 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1191, allocations: 79.95 kB / 0.4957 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.1205, allocations: 0.7255 MB / 0.4964 GB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.1206, allocations: 4 kB / 0.4964 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.1206, allocations: 39.91 kB / 0.4964 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1206, allocations: 16 kB / 0.4964 GB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.122, allocations: 0.5204 MB / 0.497 GB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.1261, allocations: 2.713 MB / 0.4996 GB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1272, allocations: 443.7 kB / 0.5 GB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.1277, allocations: 173 kB / 0.5002 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.1278, allocations: 4.281 kB / 0.5002 GB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.1284, allocations: 281.2 kB / 0.5005 GB, free: 2.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.1284, allocations: 0 / 0.5005 GB, free: 2.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001842/0.1303, allocations: 0.7605 MB / 0.5012 GB, free: 1.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.1304, allocations: 199.8 kB / 0.5014 GB, free: 1.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.1315, allocations: 0.8363 MB / 0.5022 GB, free: 268 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.1316, allocations: 37.7 kB / 0.5022 GB, free: 224 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2039/0.3355, allocations: 409.7 kB / 0.5026 GB, free: 23.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3357, allocations: 130.8 kB / 0.5028 GB, free: 23.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.3359, allocations: 106.8 kB / 0.5029 GB, free: 23.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.336, allocations: 380.1 kB / 0.5032 GB, free: 22.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.3366, allocations: 197.7 kB / 0.5034 GB, free: 22.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.3371, allocations: 332.4 kB / 0.5037 GB, free: 22.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.3381, allocations: 0.6037 MB / 0.5043 GB, free: 22.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3381, allocations: 2.312 kB / 0.5043 GB, free: 22.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001543/0.3397, allocations: 0.7275 MB / 0.505 GB, free: 22.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.3397, allocations: 93.98 kB / 0.5051 GB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3397, allocations: 3.75 kB / 0.5051 GB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.3399, allocations: 29.5 kB / 0.5052 GB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.3404, allocations: 108.9 kB / 0.5053 GB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007755/0.3411, allocations: 1.382 MB / 0.5066 GB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.3416, allocations: 92 kB / 0.5067 GB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.3417, allocations: 26.89 kB / 0.5067 GB, free: 20.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00071/0.3424, allocations: 396.2 kB / 0.5071 GB, free: 20.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004923/0.3429, allocations: 314.2 kB / 0.5074 GB, free: 20.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008554/0.3437, allocations: 0.5867 MB / 0.508 GB, free: 19.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.3437, allocations: 4.984 kB / 0.508 GB, free: 19.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001206/0.3449, allocations: 0.6984 MB / 0.5087 GB, free: 19.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.345, allocations: 94.95 kB / 0.5088 GB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.345, allocations: 3.219 kB / 0.5088 GB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.38e-05/0.3451, allocations: 25.69 kB / 0.5088 GB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.3454, allocations: 111.1 kB / 0.5089 GB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006189/0.346, allocations: 1.385 MB / 0.5102 GB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.3465, allocations: 72 kB / 0.5103 GB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3465, allocations: 22.56 kB / 0.5103 GB, free: 17.7 MB / 366.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: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * 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.0001669/0.3467, allocations: 280.1 kB / 0.5106 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.3468, allocations: 85.97 kB / 0.5107 GB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.348, allocations: 0.5365 MB / 0.5112 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.348, allocations: 3.484 kB / 0.5112 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.348, allocations: 0 / 0.5112 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.3483, allocations: 203 kB / 0.5114 GB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.3483, allocations: 12.69 kB / 0.5114 GB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3487, allocations: 47.78 kB / 0.5115 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3489, allocations: 38.2 kB / 0.5115 GB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001348/0.3502, allocations: 0.7038 MB / 0.5122 GB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001661/0.3519, allocations: 0.9076 MB / 0.5131 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004374/0.3523, allocations: 188.8 kB / 0.5132 GB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007524/0.3531, allocations: 0.589 MB / 0.5138 GB, free: 15.65 MB / 366.1 MB Notification: Performance of Backend: time 3.9e-07/0.3531, allocations: 0 / 0.5138 GB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004956/0.358, allocations: 1.911 MB / 0.5157 GB, free: 14.62 MB / 366.1 MB Notification: Performance of SimCode: time 0.002686/0.3607, allocations: 2.027 MB / 0.5177 GB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01977/0.3805, allocations: 11.51 MB / 0.5289 GB, free: 9.359 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9472761820070446] Failed to read output from testmodel.py, exit status != 0: 0.3877236240077764 0.39957341500000004 0.281254012 Calling exit ...