Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001808/0.001808, 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.007978/0.007978, allocations: 192.7 kB / 21.96 MB, free: 5.668 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.509/1.509, allocations: 225.6 MB / 250.7 MB, free: 13.38 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.04192/0.04192, allocations: 8.546 MB / 314.4 MB, free: 444 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 438.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08756, allocations: 54.2 MB / 492.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.007648/0.09521, allocations: 5.223 MB / 497.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.09892, allocations: 2.181 MB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.09945, allocations: 15.94 kB / 499.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.1, allocations: 198.6 kB / 0.4883 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007582/0.1008, allocations: 246.3 kB / 0.4885 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.1016, allocations: 384.5 kB / 0.4889 GB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.1028, allocations: 0.947 MB / 0.4898 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.1033, allocations: 327.1 kB / 0.4902 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.1038, allocations: 378.7 kB / 0.4905 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005935/0.1044, allocations: 422.2 kB / 0.4909 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.1045, allocations: 108 kB / 0.491 GB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.1048, allocations: 168 kB / 0.4912 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.105, allocations: 211.3 kB / 0.4914 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.1055, allocations: 445.8 kB / 0.4918 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.1068, allocations: 1.129 MB / 0.4929 GB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1068, allocations: 0 / 0.4929 GB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1068, allocations: 0 / 0.4929 GB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1068, allocations: 3.938 kB / 0.4929 GB, free: 10.29 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.002048/0.1089, allocations: 1.218 MB / 0.4941 GB, free: 9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1089, allocations: 11.89 kB / 0.4941 GB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1091, allocations: 92.38 kB / 0.4942 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007441/0.1098, allocations: 0.5213 MB / 0.4947 GB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.1099, allocations: 87.31 kB / 0.4948 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1101, allocations: 71.94 kB / 0.4949 GB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.1115, allocations: 0.7043 MB / 0.4955 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.1115, allocations: 3.953 kB / 0.4956 GB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.1116, allocations: 28 kB / 0.4956 GB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.1116, allocations: 16 kB / 0.4956 GB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.113, allocations: 0.5282 MB / 0.4961 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.1167, allocations: 2.588 MB / 0.4986 GB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1178, allocations: 436.1 kB / 0.4991 GB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.1183, allocations: 177 kB / 0.4992 GB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.1183, allocations: 4.281 kB / 0.4992 GB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/0.1189, allocations: 293.3 kB / 0.4995 GB, free: 3.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.1189, allocations: 0 / 0.4995 GB, free: 3.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001836/0.1208, allocations: 0.7566 MB / 0.5002 GB, free: 2.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1209, allocations: 170.2 kB / 0.5004 GB, free: 2.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.1216, allocations: 0.585 MB / 0.501 GB, free: 1.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.1217, allocations: 37.64 kB / 0.501 GB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.122, allocations: 368.7 kB / 0.5014 GB, free: 1.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1221, allocations: 130.9 kB / 0.5015 GB, free: 1.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.1223, allocations: 98.2 kB / 0.5016 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1225, allocations: 366.8 kB / 0.5019 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.123, allocations: 191 kB / 0.5021 GB, free: 440 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.1235, allocations: 304.1 kB / 0.5024 GB, free: 84 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1674/0.2909, allocations: 0.5962 MB / 0.503 GB, free: 22.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.2909, allocations: 1.156 kB / 0.503 GB, free: 22.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001462/0.2924, allocations: 0.6898 MB / 0.5037 GB, free: 22.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.2924, allocations: 94.14 kB / 0.5038 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2924, allocations: 4.188 kB / 0.5038 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.2926, allocations: 27.66 kB / 0.5038 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.293, allocations: 101 kB / 0.5039 GB, free: 22.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007305/0.2938, allocations: 1.382 MB / 0.5052 GB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.2943, allocations: 89.97 kB / 0.5053 GB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.2943, allocations: 21.62 kB / 0.5053 GB, free: 21.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006151/0.2949, allocations: 344.8 kB / 0.5057 GB, free: 21.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004577/0.2954, allocations: 297.4 kB / 0.5059 GB, free: 20.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008351/0.2962, allocations: 0.5815 MB / 0.5065 GB, free: 20.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.2962, allocations: 1.578 kB / 0.5065 GB, free: 20.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001197/0.2974, allocations: 0.6627 MB / 0.5072 GB, free: 20.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.2975, allocations: 96.23 kB / 0.5073 GB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2975, allocations: 4.125 kB / 0.5073 GB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.957e-05/0.2975, allocations: 29.2 kB / 0.5073 GB, free: 19.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.2979, allocations: 98.42 kB / 0.5074 GB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006089/0.2985, allocations: 1.388 MB / 0.5087 GB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.299, allocations: 70.5 kB / 0.5088 GB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.299, allocations: 21.59 kB / 0.5088 GB, free: 18.54 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 (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.000162/0.2992, allocations: 283.4 kB / 0.5091 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.2993, allocations: 65.12 kB / 0.5092 GB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.3004, allocations: 0.5436 MB / 0.5097 GB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3005, allocations: 1.828 kB / 0.5097 GB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3005, allocations: 0.9688 kB / 0.5097 GB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.3006, allocations: 177.4 kB / 0.5099 GB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.3007, allocations: 9.875 kB / 0.5099 GB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.3011, allocations: 47.45 kB / 0.5099 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3012, allocations: 42.81 kB / 0.51 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001322/0.3025, allocations: 0.7113 MB / 0.5107 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001463/0.304, allocations: 0.9177 MB / 0.5115 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004509/0.3044, allocations: 187.7 kB / 0.5117 GB, free: 16.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004965/0.3049, allocations: 415.7 kB / 0.5121 GB, free: 16.59 MB / 366.1 MB Notification: Performance of Backend: time 6.21e-07/0.3049, allocations: 0.6562 kB / 0.5121 GB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.3087, allocations: 1.566 MB / 0.5137 GB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 0.001986/0.3107, allocations: 1.788 MB / 0.5154 GB, free: 14.37 MB / 366.1 MB Notification: Performance of Templates: time 0.01647/0.3272, allocations: 10.04 MB / 0.5252 GB, free: 11.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7667694860138] Failed to read output from testmodel.py, exit status != 0: 0.33398023899644613 0.34391701700000005 0.234732973 Calling exit ...