Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001909/0.001909, allocations: 109.3 kB / 18.68 MB, free: 3.191 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.008447/0.008447, allocations: 195.6 kB / 21.93 MB, free: 5.598 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.448/1.448, allocations: 225.6 MB / 250.6 MB, free: 13.38 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.04307/0.04307, allocations: 8.544 MB / 314.3 MB, free: 416 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 438.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09921, allocations: 54.2 MB / 492.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.007441/0.1067, allocations: 5.219 MB / 497.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.1104, allocations: 2.181 MB / 499.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.1109, allocations: 15.94 kB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.1114, allocations: 194.6 kB / 499.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006243/0.112, allocations: 258.3 kB / 0.4885 GB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.1128, allocations: 377.9 kB / 0.4888 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.1138, allocations: 0.9509 MB / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.1144, allocations: 335 kB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.1148, allocations: 374.7 kB / 0.4904 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.1154, allocations: 430.2 kB / 0.4908 GB, free: 12.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.1155, allocations: 111.9 kB / 0.491 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1158, allocations: 164 kB / 0.4911 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.116, allocations: 203.4 kB / 0.4913 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.1165, allocations: 441.8 kB / 0.4917 GB, free: 11.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.1177, allocations: 1.132 MB / 0.4928 GB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1177, allocations: 4 kB / 0.4928 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1177, allocations: 0 / 0.4928 GB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1178, allocations: 0 / 0.4928 GB, free: 10.26 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.002444/0.1202, allocations: 1.222 MB / 0.494 GB, free: 8.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.1203, allocations: 15.89 kB / 0.494 GB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.1205, allocations: 92.38 kB / 0.4941 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.1213, allocations: 0.5135 MB / 0.4946 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.1215, allocations: 83.31 kB / 0.4947 GB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1216, allocations: 72 kB / 0.4948 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.123, allocations: 0.7043 MB / 0.4955 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.1231, allocations: 3.953 kB / 0.4955 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.1231, allocations: 28 kB / 0.4955 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.1231, allocations: 16 kB / 0.4955 GB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.1245, allocations: 0.5282 MB / 0.496 GB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.1285, allocations: 2.588 MB / 0.4986 GB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.1296, allocations: 440.1 kB / 0.499 GB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.1301, allocations: 173 kB / 0.4991 GB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.1301, allocations: 8.266 kB / 0.4992 GB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006576/0.1308, allocations: 281.3 kB / 0.4994 GB, free: 3.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 3.516e-06/0.1308, allocations: 96 / 0.4994 GB, free: 3.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001968/0.1328, allocations: 0.7682 MB / 0.5002 GB, free: 2.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1329, allocations: 166.2 kB / 0.5003 GB, free: 2.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008142/0.1337, allocations: 0.5849 MB / 0.5009 GB, free: 1.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1337, allocations: 33.7 kB / 0.5009 GB, free: 1.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.1341, allocations: 372.7 kB / 0.5013 GB, free: 1.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1342, allocations: 130.9 kB / 0.5014 GB, free: 1.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.1344, allocations: 98.2 kB / 0.5015 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1346, allocations: 366.8 kB / 0.5019 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.135, allocations: 183 kB / 0.502 GB, free: 428 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.1356, allocations: 318.8 kB / 0.5023 GB, free: 60 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.1368, allocations: 0.5999 MB / 0.5029 GB, free: 15.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1368, allocations: 0 / 0.5029 GB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001469/0.1382, allocations: 0.6881 MB / 0.5036 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.1383, allocations: 97.09 kB / 0.5037 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1383, allocations: 448 / 0.5037 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.1385, allocations: 28.86 kB / 0.5037 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.1389, allocations: 99.81 kB / 0.5038 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1402, allocations: 1.382 MB / 0.5052 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.1407, allocations: 95.45 kB / 0.5053 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.1408, allocations: 20 kB / 0.5053 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006935/0.1415, allocations: 353.2 kB / 0.5056 GB, free: 12.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005297/0.142, allocations: 288.1 kB / 0.5059 GB, free: 12.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.143, allocations: 0.5826 MB / 0.5064 GB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.143, allocations: 0 / 0.5064 GB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00135/0.1443, allocations: 0.6623 MB / 0.5071 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.1444, allocations: 93.09 kB / 0.5072 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1444, allocations: 4 kB / 0.5072 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.1445, allocations: 33.28 kB / 0.5072 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1449, allocations: 91.81 kB / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.146, allocations: 1.387 MB / 0.5087 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.1465, allocations: 75.69 kB / 0.5087 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.1466, allocations: 27.97 kB / 0.5088 GB, free: 8.883 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.0002726/0.1468, allocations: 281.4 kB / 0.509 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.1469, allocations: 59.62 kB / 0.5091 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.1482, allocations: 0.5497 MB / 0.5096 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1482, allocations: 0 / 0.5096 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1483, allocations: 0 / 0.5096 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.1485, allocations: 180.5 kB / 0.5098 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.1486, allocations: 11.94 kB / 0.5098 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.1489, allocations: 47.89 kB / 0.5099 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1491, allocations: 35.95 kB / 0.5099 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00152/0.1506, allocations: 0.715 MB / 0.5106 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001723/0.1523, allocations: 0.9153 MB / 0.5115 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004727/0.1528, allocations: 191.9 kB / 0.5117 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.1533, allocations: 418.8 kB / 0.5121 GB, free: 5.367 MB / 382.1 MB Notification: Performance of Backend: time 3.3e-07/0.1533, allocations: 0 / 0.5121 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003989/0.1573, allocations: 1.541 MB / 0.5136 GB, free: 3.938 MB / 382.1 MB Notification: Performance of SimCode: time 0.00246/0.1598, allocations: 1.8 MB / 0.5153 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Templates: time 0.2012/0.361, allocations: 10.02 MB / 0.5251 GB, free: 36.42 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.861882563040126] Failed to read output from testmodel.py, exit status != 0: 0.3679118600557558 0.37973365499999995 0.25953029899999996 Calling exit ...