Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.001249/0.001249, allocations: 112.3 kB / 18.71 MB, free: 3.113 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.004308/0.004308, allocations: 185.7 kB / 21.96 MB, free: 5.672 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.409/1.409, allocations: 225.6 MB / 250.7 MB, free: 13.34 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.04191/0.04191, allocations: 8.539 MB / 314.4 MB, free: 400 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.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 438.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08837, allocations: 54.2 MB / 492.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.007568/0.09594, allocations: 5.221 MB / 497.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.09964, allocations: 2.193 MB / 499.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.09997, allocations: 15.94 kB / 499.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.1004, allocations: 194.6 kB / 0.4883 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006002/0.101, allocations: 250.3 kB / 0.4885 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.1018, allocations: 372.5 kB / 0.4889 GB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1028, allocations: 0.9509 MB / 0.4898 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005216/0.1034, allocations: 331.1 kB / 0.4901 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.1038, allocations: 374.7 kB / 0.4905 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.1044, allocations: 434.2 kB / 0.4909 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.1045, allocations: 108 kB / 0.491 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1048, allocations: 168 kB / 0.4912 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.105, allocations: 203.3 kB / 0.4914 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004071/0.1054, allocations: 445.8 kB / 0.4918 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.1066, allocations: 1.129 MB / 0.4929 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1066, allocations: 0 / 0.4929 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1066, allocations: 3.938 kB / 0.4929 GB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1066, allocations: 0 / 0.4929 GB, free: 10.21 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002076/0.1087, allocations: 1.229 MB / 0.4941 GB, free: 8.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1087, allocations: 11.89 kB / 0.4941 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1089, allocations: 92.38 kB / 0.4942 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.1096, allocations: 0.5096 MB / 0.4947 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1098, allocations: 83.31 kB / 0.4948 GB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1099, allocations: 76 kB / 0.4949 GB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.1113, allocations: 0.7003 MB / 0.4955 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.1113, allocations: 3.953 kB / 0.4955 GB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.1114, allocations: 28 kB / 0.4956 GB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.1114, allocations: 20 kB / 0.4956 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.1128, allocations: 0.5243 MB / 0.4961 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1167, allocations: 2.596 MB / 0.4986 GB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1178, allocations: 442.8 kB / 0.4991 GB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.1182, allocations: 173 kB / 0.4992 GB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.1183, allocations: 4.281 kB / 0.4992 GB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/0.1189, allocations: 281.3 kB / 0.4995 GB, free: 3.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.1189, allocations: 4 kB / 0.4995 GB, free: 3.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001851/0.1207, allocations: 0.7566 MB / 0.5002 GB, free: 2.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.1209, allocations: 170.2 kB / 0.5004 GB, free: 2.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.1216, allocations: 0.5889 MB / 0.501 GB, free: 1.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.1217, allocations: 41.58 kB / 0.501 GB, free: 1.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.122, allocations: 372.7 kB / 0.5014 GB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1221, allocations: 123 kB / 0.5015 GB, free: 1.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1223, allocations: 98.2 kB / 0.5016 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1224, allocations: 366.8 kB / 0.5019 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.123, allocations: 191 kB / 0.5021 GB, free: 360 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.1236, allocations: 308.1 kB / 0.5024 GB, free: 0 / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.1247, allocations: 0.5961 MB / 0.503 GB, free: 15.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1247, allocations: 0 / 0.503 GB, free: 15.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001455/0.1262, allocations: 0.688 MB / 0.5037 GB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.1263, allocations: 97.53 kB / 0.5038 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1263, allocations: 8 kB / 0.5038 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.1264, allocations: 20.86 kB / 0.5038 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.1268, allocations: 103.8 kB / 0.5039 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.128, allocations: 1.382 MB / 0.5052 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.1285, allocations: 91.55 kB / 0.5053 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.1285, allocations: 24 kB / 0.5053 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006614/0.1292, allocations: 349.1 kB / 0.5057 GB, free: 12.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005496/0.1297, allocations: 292.1 kB / 0.506 GB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/0.1308, allocations: 0.5787 MB / 0.5065 GB, free: 11.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.1308, allocations: 3.984 kB / 0.5065 GB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001347/0.1321, allocations: 0.6623 MB / 0.5072 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.1322, allocations: 89.55 kB / 0.5073 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1322, allocations: 7.938 kB / 0.5073 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.33e-05/0.1323, allocations: 32.84 kB / 0.5073 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.1326, allocations: 91.81 kB / 0.5074 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.1338, allocations: 1.399 MB / 0.5087 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.1342, allocations: 71.69 kB / 0.5088 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.1343, allocations: 28.08 kB / 0.5088 GB, free: 8.816 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: 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 (56): * Single equations (assignments): 52 * 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.0002304/0.1345, allocations: 276.7 kB / 0.5091 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.1346, allocations: 59.62 kB / 0.5092 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1359, allocations: 0.5458 MB / 0.5097 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1359, allocations: 0 / 0.5097 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1359, allocations: 0 / 0.5097 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.1361, allocations: 180.5 kB / 0.5099 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.1362, allocations: 11.94 kB / 0.5099 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.1366, allocations: 43.95 kB / 0.5099 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1367, allocations: 35.95 kB / 0.51 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00157/0.1382, allocations: 0.7188 MB / 0.5107 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001756/0.14, allocations: 0.9076 MB / 0.5115 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004808/0.1405, allocations: 187.9 kB / 0.5117 GB, free: 5.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005289/0.141, allocations: 422.8 kB / 0.5121 GB, free: 5.316 MB / 382.1 MB Notification: Performance of Backend: time 2.4e-07/0.141, allocations: 3.938 kB / 0.5121 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003868/0.1449, allocations: 1.559 MB / 0.5137 GB, free: 3.867 MB / 382.1 MB Notification: Performance of SimCode: time 0.002308/0.1472, allocations: 1.796 MB / 0.5154 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Templates: time 0.1794/0.3265, allocations: 10.02 MB / 0.5252 GB, free: 36.33 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.778075300040655] Failed to read output from testmodel.py, exit status != 0: 0.33316330111119896 0.344130889 0.23513682000000002 Calling exit ...