Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001218/0.001218, allocations: 113.7 kB / 18.89 MB, free: 3.051 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.001277/0.001277, allocations: 196.3 kB / 22.17 MB, free: 5.184 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.345/1.345, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.04909/0.04909, allocations: 8.547 MB / 314.7 MB, free: 300 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.89 kB / 438.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09909, allocations: 54.2 MB / 492.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.007831/0.1069, allocations: 5.215 MB / 498.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1099, allocations: 1.503 MB / 499.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.1104, allocations: 15.94 kB / 499.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.111, allocations: 198.6 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.1116, allocations: 246.2 kB / 0.4883 GB, free: 15.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008237/0.1124, allocations: 377.5 kB / 0.4887 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.1136, allocations: 0.9509 MB / 0.4896 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.1141, allocations: 327.1 kB / 0.4899 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.1147, allocations: 374.7 kB / 0.4903 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.1152, allocations: 418.2 kB / 0.4907 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.1153, allocations: 111.9 kB / 0.4908 GB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.1156, allocations: 144 kB / 0.4909 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1158, allocations: 207.3 kB / 0.4911 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.1162, allocations: 437.9 kB / 0.4915 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1176, allocations: 1.109 MB / 0.4926 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1176, allocations: 0 / 0.4926 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1176, allocations: 0 / 0.4926 GB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.1176, allocations: 0 / 0.4926 GB, free: 10.57 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.002255/0.1199, allocations: 1.214 MB / 0.4938 GB, free: 9.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1199, allocations: 15.89 kB / 0.4938 GB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1201, allocations: 96.36 kB / 0.4939 GB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.121, allocations: 0.5018 MB / 0.4944 GB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.1211, allocations: 91.31 kB / 0.4945 GB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1212, allocations: 68 kB / 0.4945 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1227, allocations: 0.6995 MB / 0.4952 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.1227, allocations: 7.953 kB / 0.4952 GB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1228, allocations: 28 kB / 0.4953 GB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1228, allocations: 16 kB / 0.4953 GB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1242, allocations: 0.5204 MB / 0.4958 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.1282, allocations: 2.569 MB / 0.4983 GB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1294, allocations: 456.1 kB / 0.4987 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.1298, allocations: 173 kB / 0.4989 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1299, allocations: 8.266 kB / 0.4989 GB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006469/0.1305, allocations: 281.4 kB / 0.4992 GB, free: 3.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/0.1305, allocations: 0 / 0.4992 GB, free: 3.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.00191/0.1324, allocations: 0.7605 MB / 0.4999 GB, free: 2.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.1325, allocations: 144.4 kB / 0.5 GB, free: 2.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.1333, allocations: 0.5771 MB / 0.5006 GB, free: 1.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.1333, allocations: 33.7 kB / 0.5006 GB, free: 1.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.1336, allocations: 372.7 kB / 0.501 GB, free: 1.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1337, allocations: 127 kB / 0.5011 GB, free: 1.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1339, allocations: 98.2 kB / 0.5012 GB, free: 1.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1341, allocations: 370.8 kB / 0.5016 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.1346, allocations: 190.9 kB / 0.5017 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.1352, allocations: 299.2 kB / 0.502 GB, free: 456 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.1363, allocations: 0.6039 MB / 0.5026 GB, free: 15.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1363, allocations: 0 / 0.5026 GB, free: 15.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001448/0.1378, allocations: 0.6804 MB / 0.5033 GB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.1379, allocations: 97.03 kB / 0.5034 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1379, allocations: 4 kB / 0.5034 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.138, allocations: 29.19 kB / 0.5034 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.1385, allocations: 99.88 kB / 0.5035 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.1398, allocations: 1.386 MB / 0.5049 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.1404, allocations: 91.5 kB / 0.5049 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.1404, allocations: 23.94 kB / 0.505 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006915/0.1411, allocations: 345.2 kB / 0.5053 GB, free: 12.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005301/0.1416, allocations: 291.2 kB / 0.5056 GB, free: 12.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/0.1426, allocations: 0.5748 MB / 0.5061 GB, free: 11.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.1426, allocations: 0 / 0.5061 GB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001353/0.144, allocations: 0.6584 MB / 0.5068 GB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.1441, allocations: 97.09 kB / 0.5069 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1441, allocations: 4 kB / 0.5069 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.847e-05/0.1442, allocations: 28.84 kB / 0.5069 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.1446, allocations: 96.23 kB / 0.507 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1458, allocations: 1.387 MB / 0.5084 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.1463, allocations: 71.69 kB / 0.5084 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.1463, allocations: 20 kB / 0.5084 GB, free: 9.293 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.000298/0.1466, allocations: 281.6 kB / 0.5087 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.1467, allocations: 63.78 kB / 0.5088 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.148, allocations: 0.5457 MB / 0.5093 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.148, allocations: 7.938 kB / 0.5093 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.148, allocations: 3.984 kB / 0.5093 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.148, allocations: 4 kB / 0.5093 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.1502, allocations: 1.234 MB / 0.5105 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1502, allocations: 4 kB / 0.5105 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.1506, allocations: 71.88 kB / 0.5106 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.1507, allocations: 24.78 kB / 0.5106 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.1507, allocations: 12 kB / 0.5106 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.1518, allocations: 1.371 MB / 0.512 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1518, allocations: 0 / 0.512 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.1536, allocations: 0.8521 MB / 0.5128 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.1539, allocations: 176.7 kB / 0.513 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.1539, allocations: 8 kB / 0.513 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.1543, allocations: 43.95 kB / 0.513 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1545, allocations: 43.83 kB / 0.5131 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.1545, allocations: 12 kB / 0.5131 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005431/0.155, allocations: 414.8 kB / 0.5135 GB, free: 3.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.155, allocations: 0 / 0.5135 GB, free: 3.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.1559, allocations: 291.2 kB / 0.5137 GB, free: 3.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001313/0.1572, allocations: 371.9 kB / 0.5141 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.1597, allocations: 1.213 MB / 0.5153 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1597, allocations: 0 / 0.5153 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.1605, allocations: 433.5 kB / 0.5157 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.1613, allocations: 105.9 kB / 0.5158 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1643, allocations: 1.33 MB / 0.5171 GB, free: 88 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2202/0.3845, allocations: 0.8985 MB / 0.518 GB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3847, allocations: 44.94 kB / 0.518 GB, free: 35.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.864e-06/0.3847, allocations: 3.719 kB / 0.518 GB, free: 35.78 MB / 382.1 MB Notification: Performance of Templates: time 0.0179/0.4026, allocations: 11.14 MB / 0.5289 GB, free: 33.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.908921085763723] Failed to read output from testmodel.py, exit status != 0: 0.4100634721107781 0.420966278 0.301103139 Calling exit ...