Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001297/0.001297, allocations: 110.4 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.001389/0.001389, 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.394/1.394, 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.04255/0.04255, allocations: 8.547 MB / 314.3 MB, free: 380 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.88 kB / 438.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09573, allocations: 54.2 MB / 492.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.007915/0.1036, allocations: 5.219 MB / 497.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.1077, allocations: 2.185 MB / 499.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.1083, allocations: 15.94 kB / 499.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.109, allocations: 194.6 kB / 500 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008686/0.1099, allocations: 246.3 kB / 0.4885 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.1106, allocations: 379.3 kB / 0.4888 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1117, allocations: 0.9547 MB / 0.4898 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.1123, allocations: 331.1 kB / 0.4901 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.1127, allocations: 374.7 kB / 0.4904 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.1133, allocations: 426.2 kB / 0.4908 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.1134, allocations: 108 kB / 0.4909 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.1137, allocations: 168 kB / 0.4911 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.1139, allocations: 211.3 kB / 0.4913 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.1143, allocations: 445.8 kB / 0.4917 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.1156, allocations: 1.14 MB / 0.4928 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1156, allocations: 0 / 0.4928 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1156, allocations: 0 / 0.4928 GB, free: 10.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1157, allocations: 0 / 0.4928 GB, free: 10.07 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.002212/0.1179, allocations: 1.218 MB / 0.494 GB, free: 8.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1179, allocations: 11.89 kB / 0.494 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1181, allocations: 92.38 kB / 0.4941 GB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.1189, allocations: 0.5135 MB / 0.4946 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.119, allocations: 83.33 kB / 0.4947 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.1191, allocations: 71.98 kB / 0.4948 GB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1206, allocations: 0.7043 MB / 0.4955 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1207, allocations: 3.953 kB / 0.4955 GB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1207, allocations: 31.94 kB / 0.4955 GB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.1208, allocations: 16 kB / 0.4955 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.1222, allocations: 0.5244 MB / 0.496 GB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.1261, allocations: 2.592 MB / 0.4986 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.1272, allocations: 436.1 kB / 0.499 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.1277, allocations: 173 kB / 0.4991 GB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1277, allocations: 12.27 kB / 0.4992 GB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.1284, allocations: 281.4 kB / 0.4994 GB, free: 3.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.1284, allocations: 0 / 0.4994 GB, free: 3.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001898/0.1303, allocations: 0.7605 MB / 0.5002 GB, free: 2.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1304, allocations: 166.2 kB / 0.5003 GB, free: 2.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.1311, allocations: 0.5888 MB / 0.5009 GB, free: 1.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1312, allocations: 33.7 kB / 0.5009 GB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.1315, allocations: 372.7 kB / 0.5013 GB, free: 1.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1316, allocations: 127 kB / 0.5014 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1318, allocations: 98.2 kB / 0.5015 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.132, allocations: 362.8 kB / 0.5019 GB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.1325, allocations: 195 kB / 0.502 GB, free: 236 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.1332, allocations: 308 kB / 0.5023 GB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.1343, allocations: 0.5999 MB / 0.5029 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1343, allocations: 0 / 0.5029 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001495/0.1358, allocations: 0.6882 MB / 0.5036 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.1359, allocations: 93.11 kB / 0.5037 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1359, allocations: 4 kB / 0.5037 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.136, allocations: 24.84 kB / 0.5037 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.1365, allocations: 108.2 kB / 0.5038 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1378, allocations: 1.39 MB / 0.5052 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.1383, allocations: 91.45 kB / 0.5053 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.1384, allocations: 20 kB / 0.5053 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007073/0.1391, allocations: 341.2 kB / 0.5056 GB, free: 12.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005659/0.1396, allocations: 300.1 kB / 0.5059 GB, free: 11.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.1407, allocations: 0.5826 MB / 0.5065 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.1407, allocations: 3.938 kB / 0.5065 GB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00133/0.142, allocations: 0.6546 MB / 0.5071 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.1421, allocations: 93.09 kB / 0.5072 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1421, allocations: 4 kB / 0.5072 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-05/0.1422, allocations: 28.84 kB / 0.5072 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.1426, allocations: 100.2 kB / 0.5073 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.1437, allocations: 1.387 MB / 0.5087 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.1442, allocations: 75.69 kB / 0.5087 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1442, allocations: 20 kB / 0.5088 GB, free: 8.703 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.0002427/0.1445, allocations: 285.2 kB / 0.509 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.1445, allocations: 63.69 kB / 0.5091 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.1458, allocations: 0.5458 MB / 0.5096 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1458, allocations: 0 / 0.5096 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1458, allocations: 0 / 0.5096 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.1461, allocations: 180.5 kB / 0.5098 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.1461, allocations: 15.94 kB / 0.5098 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.1465, allocations: 43.95 kB / 0.5099 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.1466, allocations: 31.95 kB / 0.5099 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001563/0.1482, allocations: 0.7111 MB / 0.5106 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001784/0.15, allocations: 0.9154 MB / 0.5115 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004904/0.1505, allocations: 191.9 kB / 0.5117 GB, free: 5.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005311/0.151, allocations: 418.8 kB / 0.5121 GB, free: 5.191 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.151, allocations: 0 / 0.5121 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003923/0.1549, allocations: 1.552 MB / 0.5136 GB, free: 3.75 MB / 382.1 MB Notification: Performance of SimCode: time 0.002396/0.1573, allocations: 1.808 MB / 0.5153 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Templates: time 0.1868/0.3442, allocations: 10.02 MB / 0.5251 GB, free: 36.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.914386703982018] Failed to read output from testmodel.py, exit status != 0: 0.3508535569999367 0.36193339899999993 0.243908267 Calling exit ...