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.001416/0.001416, allocations: 110.3 kB / 18.7 MB, free: 3.242 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.005758/0.005758, allocations: 199.1 kB / 21.96 MB, free: 5.535 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.419/1.419, allocations: 225.6 MB / 250.7 MB, free: 13.35 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.04299/0.04299, allocations: 8.546 MB / 314.4 MB, free: 424 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.001935/0.001935, allocations: 71.83 kB / 438.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09545, allocations: 54.19 MB / 492.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006204/0.1016, allocations: 4.5 MB / 496.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.105, allocations: 2.197 MB / 499.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.1052, allocations: 15.94 kB / 499.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.1056, allocations: 158.7 kB / 499.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.1062, allocations: 242.3 kB / 499.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.1069, allocations: 425.9 kB / 499.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.1079, allocations: 0.9507 MB / 0.4891 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.1085, allocations: 368.6 kB / 0.4895 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.1089, allocations: 378.7 kB / 0.4898 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/0.1094, allocations: 418.2 kB / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.1096, allocations: 108 kB / 0.4904 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.1098, allocations: 156 kB / 0.4905 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.1101, allocations: 243.3 kB / 0.4907 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004433/0.1105, allocations: 477.7 kB / 0.4912 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1118, allocations: 1.226 MB / 0.4924 GB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1118, allocations: 0 / 0.4924 GB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1118, allocations: 0 / 0.4924 GB, free: 10.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1118, allocations: 8 kB / 0.4924 GB, free: 10.79 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.002196/0.114, allocations: 1.263 MB / 0.4936 GB, free: 9.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1141, allocations: 15.89 kB / 0.4936 GB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1142, allocations: 100.3 kB / 0.4937 GB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.1151, allocations: 0.572 MB / 0.4943 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.1152, allocations: 50.38 kB / 0.4943 GB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1153, allocations: 80.12 kB / 0.4944 GB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.1168, allocations: 0.7447 MB / 0.4951 GB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1168, allocations: 3.953 kB / 0.4951 GB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.1169, allocations: 32 kB / 0.4952 GB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.1169, allocations: 20 kB / 0.4952 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1182, allocations: 0.5309 MB / 0.4957 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.1224, allocations: 2.711 MB / 0.4984 GB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.1235, allocations: 444.3 kB / 0.4988 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.124, allocations: 165 kB / 0.4989 GB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.124, allocations: 8 kB / 0.499 GB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006505/0.1247, allocations: 267.4 kB / 0.4992 GB, free: 3.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.1247, allocations: 0 / 0.4992 GB, free: 3.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001884/0.1266, allocations: 0.7497 MB / 0.4999 GB, free: 2.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1267, allocations: 170.5 kB / 0.5001 GB, free: 2.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.1276, allocations: 0.6826 MB / 0.5008 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.1276, allocations: 33.7 kB / 0.5008 GB, free: 1.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.1279, allocations: 388.5 kB / 0.5012 GB, free: 1.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1281, allocations: 131 kB / 0.5013 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1282, allocations: 90.25 kB / 0.5014 GB, free: 1.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.1284, allocations: 378.7 kB / 0.5017 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.1289, allocations: 187 kB / 0.5019 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.1295, allocations: 308 kB / 0.5022 GB, free: 268 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.1307, allocations: 0.5999 MB / 0.5028 GB, free: 15.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1307, allocations: 0 / 0.5028 GB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001405/0.1321, allocations: 0.6729 MB / 0.5035 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.1322, allocations: 97.16 kB / 0.5036 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1322, allocations: 3.938 kB / 0.5036 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.1323, allocations: 28.84 kB / 0.5036 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.1327, allocations: 95.88 kB / 0.5037 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1339, allocations: 1.391 MB / 0.505 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.1344, allocations: 91.64 kB / 0.5051 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.1344, allocations: 20 kB / 0.5051 GB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006603/0.1351, allocations: 361.1 kB / 0.5055 GB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005416/0.1356, allocations: 295.1 kB / 0.5058 GB, free: 12.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000994/0.1366, allocations: 0.5746 MB / 0.5063 GB, free: 11.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.033e-06/0.1366, allocations: 7.984 kB / 0.5063 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001308/0.1379, allocations: 0.6544 MB / 0.507 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.138, allocations: 97.53 kB / 0.5071 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.138, allocations: 8 kB / 0.5071 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.142e-05/0.1381, allocations: 24.84 kB / 0.5071 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.1385, allocations: 91.89 kB / 0.5072 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.1396, allocations: 1.387 MB / 0.5085 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.14, allocations: 67.83 kB / 0.5086 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.1401, allocations: 27.94 kB / 0.5086 GB, free: 9.102 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.0002553/0.1403, allocations: 286 kB / 0.5089 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.1404, allocations: 59.62 kB / 0.509 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.1417, allocations: 0.5423 MB / 0.5095 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1417, allocations: 0 / 0.5095 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1417, allocations: 0 / 0.5095 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.1418, allocations: 144.7 kB / 0.5096 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.1419, allocations: 16 kB / 0.5096 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.1423, allocations: 43.94 kB / 0.5097 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1424, allocations: 31.97 kB / 0.5097 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001529/0.1439, allocations: 0.7106 MB / 0.5104 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001701/0.1456, allocations: 0.881 MB / 0.5113 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004675/0.1461, allocations: 180.2 kB / 0.5114 GB, free: 6.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000636/0.1467, allocations: 490.8 kB / 0.5119 GB, free: 5.609 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.1467, allocations: 0 / 0.5119 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.1505, allocations: 1.481 MB / 0.5134 GB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 0.002617/0.1531, allocations: 1.909 MB / 0.5152 GB, free: 2.23 MB / 382.1 MB Notification: Performance of Templates: time 0.1893/0.3425, allocations: 10.19 MB / 0.5252 GB, free: 36.26 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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.926947812084109] Failed to read output from testmodel.py, exit status != 0: 0.34910585591569543 0.361080639 0.24674116899999995 Calling exit ...