Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001748/0.001748, allocations: 113 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.007135/0.007135, allocations: 189.2 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.391/1.391, allocations: 225.6 MB / 250.7 MB, free: 13.33 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.04967/0.04967, allocations: 8.535 MB / 314.4 MB, free: 476 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.89 kB / 438.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08611, allocations: 54.2 MB / 492.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.007379/0.09349, allocations: 5.219 MB / 497.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.09599, allocations: 1.503 MB / 499.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.09625, allocations: 15.94 kB / 499.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.0967, allocations: 198.6 kB / 499.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.09728, allocations: 242.3 kB / 499.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.09798, allocations: 375.3 kB / 500 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.09906, allocations: 0.947 MB / 0.4892 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.09959, allocations: 339 kB / 0.4895 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.1, allocations: 366.8 kB / 0.4898 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.1005, allocations: 422.2 kB / 0.4902 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1007, allocations: 104 kB / 0.4903 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.1009, allocations: 151.9 kB / 0.4905 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.1012, allocations: 203.3 kB / 0.4907 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.1016, allocations: 433.9 kB / 0.4911 GB, free: 12.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1028, allocations: 1.109 MB / 0.4922 GB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1028, allocations: 4 kB / 0.4922 GB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1028, allocations: 0 / 0.4922 GB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1028, allocations: 4 kB / 0.4922 GB, free: 11.05 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.002058/0.1049, allocations: 1.214 MB / 0.4934 GB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1049, allocations: 11.89 kB / 0.4934 GB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.1051, allocations: 92.38 kB / 0.4935 GB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.1058, allocations: 0.5096 MB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.106, allocations: 87.33 kB / 0.494 GB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1061, allocations: 71.98 kB / 0.4941 GB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.1075, allocations: 0.6956 MB / 0.4948 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.1075, allocations: 3.953 kB / 0.4948 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.1076, allocations: 28 kB / 0.4948 GB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1076, allocations: 16 kB / 0.4948 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.109, allocations: 0.5243 MB / 0.4954 GB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.1129, allocations: 2.569 MB / 0.4979 GB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.114, allocations: 452.1 kB / 0.4983 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.1144, allocations: 177 kB / 0.4985 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.1145, allocations: 8.266 kB / 0.4985 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/0.1151, allocations: 273.4 kB / 0.4987 GB, free: 4.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.1151, allocations: 0 / 0.4987 GB, free: 4.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.00184/0.1169, allocations: 0.7723 MB / 0.4995 GB, free: 3.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.117, allocations: 140.5 kB / 0.4996 GB, free: 3.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.1177, allocations: 0.5771 MB / 0.5002 GB, free: 2.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.1178, allocations: 33.7 kB / 0.5002 GB, free: 2.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.1181, allocations: 376.7 kB / 0.5006 GB, free: 2.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1182, allocations: 126.9 kB / 0.5007 GB, free: 1.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1184, allocations: 94.2 kB / 0.5008 GB, free: 1.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1186, allocations: 370.7 kB / 0.5011 GB, free: 1.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.1191, allocations: 191 kB / 0.5013 GB, free: 1.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.1197, allocations: 308.4 kB / 0.5016 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.1208, allocations: 0.5921 MB / 0.5022 GB, free: 256 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1208, allocations: 4 kB / 0.5022 GB, free: 252 kB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001421/0.1223, allocations: 0.6845 MB / 0.5029 GB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/0.1223, allocations: 99.91 kB / 0.503 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1224, allocations: 4 kB / 0.503 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.1225, allocations: 24.8 kB / 0.503 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.1229, allocations: 103.9 kB / 0.5031 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.1241, allocations: 1.375 MB / 0.5044 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.1246, allocations: 95.61 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.1246, allocations: 23.98 kB / 0.5045 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006452/0.1253, allocations: 341.2 kB / 0.5049 GB, free: 13.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000538/0.1258, allocations: 295.2 kB / 0.5051 GB, free: 12.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.1268, allocations: 0.5709 MB / 0.5057 GB, free: 12.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.1268, allocations: 4 kB / 0.5057 GB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001323/0.1281, allocations: 0.6627 MB / 0.5064 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.1282, allocations: 93.09 kB / 0.5064 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1282, allocations: 4 kB / 0.5064 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.047e-05/0.1283, allocations: 24.8 kB / 0.5065 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.1287, allocations: 91.88 kB / 0.5066 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.1298, allocations: 1.399 MB / 0.5079 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/0.1302, allocations: 75.84 kB / 0.508 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.1303, allocations: 24 kB / 0.508 GB, free: 9.77 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.0002419/0.1305, allocations: 280.9 kB / 0.5083 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.1306, allocations: 59.62 kB / 0.5083 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.1319, allocations: 0.5419 MB / 0.5089 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.1319, allocations: 3.984 kB / 0.5089 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1319, allocations: 4 kB / 0.5089 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.1321, allocations: 172.6 kB / 0.509 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.1322, allocations: 19.92 kB / 0.5091 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.1326, allocations: 43.95 kB / 0.5091 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1327, allocations: 35.95 kB / 0.5091 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001571/0.1343, allocations: 0.7188 MB / 0.5098 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001775/0.136, allocations: 0.9115 MB / 0.5107 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004883/0.1365, allocations: 191.8 kB / 0.5109 GB, free: 6.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000519/0.137, allocations: 414.8 kB / 0.5113 GB, free: 6.262 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.137, allocations: 0 / 0.5113 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.1407, allocations: 1.509 MB / 0.5128 GB, free: 4.852 MB / 382.1 MB Notification: Performance of SimCode: time 0.002316/0.143, allocations: 1.794 MB / 0.5145 GB, free: 2.977 MB / 382.1 MB Notification: Performance of Templates: time 0.1773/0.3204, allocations: 9.688 MB / 0.524 GB, free: 35.98 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.593760730931535] Failed to read output from testmodel.py, exit status != 0: 0.3268164689652622 0.337718776 0.23262928800000002 Calling exit ...