Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001963/0.001963, allocations: 111.1 kB / 18.68 MB, free: 3.316 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.002215/0.002215, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.465/1.465, 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.04111/0.04111, allocations: 8.538 MB / 314.3 MB, free: 428 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.81 kB / 438.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09217, allocations: 54.2 MB / 492.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.007836/0.1, allocations: 5.219 MB / 497.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.1029, allocations: 1.503 MB / 499.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.1034, allocations: 23.94 kB / 499.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.1039, allocations: 194.6 kB / 499.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1045, allocations: 238.3 kB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1053, allocations: 371.4 kB / 499.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009936/0.1062, allocations: 0.947 MB / 0.4891 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.1068, allocations: 339 kB / 0.4894 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.1072, allocations: 366.7 kB / 0.4898 GB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.1077, allocations: 422.2 kB / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1078, allocations: 104 kB / 0.4903 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1081, allocations: 148 kB / 0.4904 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.1083, allocations: 211.3 kB / 0.4906 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.1087, allocations: 437.8 kB / 0.491 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.1099, allocations: 1.101 MB / 0.4921 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1099, allocations: 0 / 0.4921 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1099, allocations: 7.875 kB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1099, allocations: 0 / 0.4921 GB, free: 11.01 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.002144/0.1121, allocations: 1.214 MB / 0.4933 GB, free: 9.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1121, allocations: 11.89 kB / 0.4933 GB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1123, allocations: 96.38 kB / 0.4934 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.1131, allocations: 0.5096 MB / 0.4939 GB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.1132, allocations: 87.33 kB / 0.494 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1133, allocations: 68 kB / 0.494 GB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1148, allocations: 0.6956 MB / 0.4947 GB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.1148, allocations: 7.953 kB / 0.4947 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.1149, allocations: 31.98 kB / 0.4948 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1149, allocations: 16 kB / 0.4948 GB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1163, allocations: 0.5165 MB / 0.4953 GB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.1201, allocations: 2.581 MB / 0.4978 GB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1212, allocations: 444.2 kB / 0.4982 GB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.1217, allocations: 173 kB / 0.4984 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.1217, allocations: 8.281 kB / 0.4984 GB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.1224, allocations: 281.3 kB / 0.4987 GB, free: 3.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.963e-06/0.1224, allocations: 0 / 0.4987 GB, free: 3.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001875/0.1242, allocations: 0.7644 MB / 0.4994 GB, free: 3.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1243, allocations: 140.5 kB / 0.4995 GB, free: 3.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.1251, allocations: 0.581 MB / 0.5001 GB, free: 2.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.1251, allocations: 37.64 kB / 0.5001 GB, free: 2.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.1254, allocations: 376.6 kB / 0.5005 GB, free: 2.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.1255, allocations: 123 kB / 0.5006 GB, free: 1.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1257, allocations: 102.2 kB / 0.5007 GB, free: 1.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.1259, allocations: 370.8 kB / 0.5011 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.1264, allocations: 183 kB / 0.5012 GB, free: 1.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.127, allocations: 303.2 kB / 0.5015 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.1283, allocations: 0.596 MB / 0.5021 GB, free: 212 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1283, allocations: 7.938 kB / 0.5021 GB, free: 204 kB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001425/0.1297, allocations: 0.6882 MB / 0.5028 GB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/0.1298, allocations: 89.11 kB / 0.5029 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1298, allocations: 4 kB / 0.5029 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.1299, allocations: 24.84 kB / 0.5029 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1303, allocations: 99.81 kB / 0.503 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1315, allocations: 1.383 MB / 0.5043 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.132, allocations: 87.67 kB / 0.5044 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.1321, allocations: 24.09 kB / 0.5045 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006766/0.1327, allocations: 345.1 kB / 0.5048 GB, free: 13.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005889/0.1333, allocations: 295.2 kB / 0.5051 GB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.1344, allocations: 0.5826 MB / 0.5056 GB, free: 12.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.1344, allocations: 4 kB / 0.5056 GB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001347/0.1357, allocations: 0.6587 MB / 0.5063 GB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.1358, allocations: 89.11 kB / 0.5064 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1358, allocations: 4 kB / 0.5064 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.502e-05/0.1359, allocations: 24.84 kB / 0.5064 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.1363, allocations: 99.81 kB / 0.5065 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.1374, allocations: 1.391 MB / 0.5078 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.1379, allocations: 75.84 kB / 0.5079 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.1379, allocations: 23.98 kB / 0.5079 GB, free: 9.723 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.0002669/0.1382, allocations: 277.6 kB / 0.5082 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.1383, allocations: 59.62 kB / 0.5083 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.1396, allocations: 0.5458 MB / 0.5088 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1396, allocations: 0 / 0.5088 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1397, allocations: 0 / 0.5088 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.1399, allocations: 180.5 kB / 0.509 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.14, allocations: 11.94 kB / 0.509 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.1404, allocations: 51.94 kB / 0.509 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.1405, allocations: 27.97 kB / 0.5091 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001585/0.1421, allocations: 0.7227 MB / 0.5098 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001776/0.1438, allocations: 0.8998 MB / 0.5106 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005037/0.1443, allocations: 195.9 kB / 0.5108 GB, free: 6.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005381/0.1449, allocations: 414.8 kB / 0.5112 GB, free: 6.227 MB / 382.1 MB Notification: Performance of Backend: time 2.6e-07/0.1449, allocations: 4 kB / 0.5112 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003912/0.1488, allocations: 1.515 MB / 0.5127 GB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 0.002477/0.1513, allocations: 1.796 MB / 0.5145 GB, free: 2.934 MB / 382.1 MB Notification: Performance of Templates: time 0.1959/0.3471, allocations: 9.691 MB / 0.5239 GB, free: 36.32 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.945288362971041] Failed to read output from testmodel.py, exit status != 0: 0.3545339799602516 0.366060227 0.253772052 Calling exit ...