Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.001505/0.001505, allocations: 106.5 kB / 18.88 MB, free: 2.918 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.001641/0.001641, allocations: 200.3 kB / 22.18 MB, free: 4.637 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.387/1.387, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04147/0.04147, allocations: 8.531 MB / 314.7 MB, free: 304 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 63.89 kB / 438.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09265, allocations: 54.2 MB / 492.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.007577/0.1002, allocations: 5.231 MB / 498.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.1043, allocations: 2.185 MB / 0.4885 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006107/0.1049, allocations: 15.94 kB / 0.4886 GB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.1055, allocations: 222.5 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007909/0.1063, allocations: 278.2 kB / 0.489 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1074, allocations: 0.5049 MB / 0.4895 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1086, allocations: 1.025 MB / 0.4905 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.1091, allocations: 348 kB / 0.4909 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.1097, allocations: 402.5 kB / 0.4912 GB, free: 11.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.1103, allocations: 450 kB / 0.4917 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1104, allocations: 112 kB / 0.4918 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.1108, allocations: 196 kB / 0.492 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.111, allocations: 267.1 kB / 0.4922 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.1115, allocations: 489.6 kB / 0.4927 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.113, allocations: 1.319 MB / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.113, allocations: 0 / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.113, allocations: 8 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.113, allocations: 0 / 0.494 GB, free: 9.121 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002347/0.1154, allocations: 1.342 MB / 0.4953 GB, free: 7.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1154, allocations: 11.89 kB / 0.4953 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.1156, allocations: 116.2 kB / 0.4954 GB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1166, allocations: 0.6324 MB / 0.496 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.1168, allocations: 92 kB / 0.4961 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.1169, allocations: 79.95 kB / 0.4962 GB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.1183, allocations: 0.7216 MB / 0.4969 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.1183, allocations: 0 / 0.4969 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.1184, allocations: 39.98 kB / 0.4969 GB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1184, allocations: 16 kB / 0.497 GB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1198, allocations: 0.5204 MB / 0.4975 GB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.1239, allocations: 2.713 MB / 0.5001 GB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.125, allocations: 440.2 kB / 0.5005 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.1254, allocations: 165 kB / 0.5007 GB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.1255, allocations: 8.281 kB / 0.5007 GB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006325/0.1261, allocations: 285.3 kB / 0.501 GB, free: 1.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/0.1261, allocations: 0 / 0.501 GB, free: 1.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001899/0.128, allocations: 0.7604 MB / 0.5017 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.1281, allocations: 195.9 kB / 0.5019 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.1292, allocations: 0.8403 MB / 0.5027 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.1293, allocations: 41.64 kB / 0.5028 GB, free: 15.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.1296, allocations: 416.6 kB / 0.5032 GB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1297, allocations: 123 kB / 0.5033 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.1299, allocations: 114.2 kB / 0.5034 GB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1301, allocations: 374.8 kB / 0.5037 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.1306, allocations: 207 kB / 0.5039 GB, free: 14.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.1312, allocations: 329.3 kB / 0.5043 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.1323, allocations: 0.6133 MB / 0.5049 GB, free: 13.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1323, allocations: 0 / 0.5049 GB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001493/0.1338, allocations: 0.7202 MB / 0.5056 GB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.1339, allocations: 97.09 kB / 0.5057 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1339, allocations: 4 kB / 0.5057 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.1341, allocations: 24.86 kB / 0.5057 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.1345, allocations: 111.8 kB / 0.5058 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1356, allocations: 1.379 MB / 0.5071 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.1362, allocations: 95.58 kB / 0.5072 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.1362, allocations: 27.98 kB / 0.5073 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007763/0.137, allocations: 393.1 kB / 0.5076 GB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005608/0.1376, allocations: 313.3 kB / 0.5079 GB, free: 10.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009931/0.1386, allocations: 0.586 MB / 0.5085 GB, free: 9.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.1386, allocations: 0 / 0.5085 GB, free: 9.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001419/0.14, allocations: 0.6929 MB / 0.5092 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/0.1401, allocations: 93.12 kB / 0.5093 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1401, allocations: 8 kB / 0.5093 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.843e-05/0.1402, allocations: 36.72 kB / 0.5093 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.1406, allocations: 95.89 kB / 0.5094 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.1416, allocations: 1.386 MB / 0.5107 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.1421, allocations: 75.81 kB / 0.5108 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.1422, allocations: 24 kB / 0.5108 GB, free: 6.766 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 (62): * Single equations (assignments): 58 * 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.0002737/0.1425, allocations: 289.2 kB / 0.5111 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1426, allocations: 71.53 kB / 0.5112 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.1439, allocations: 0.5509 MB / 0.5117 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1439, allocations: 4 kB / 0.5117 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1439, allocations: 3.938 kB / 0.5117 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.144, allocations: 0 / 0.5117 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.1464, allocations: 1.331 MB / 0.513 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1464, allocations: 0 / 0.513 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.1467, allocations: 67.89 kB / 0.5131 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.934e-05/0.1468, allocations: 20.84 kB / 0.5131 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.1468, allocations: 12 kB / 0.5131 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1479, allocations: 1.379 MB / 0.5145 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1479, allocations: 3.938 kB / 0.5145 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.1496, allocations: 0.8558 MB / 0.5153 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.1499, allocations: 196.5 kB / 0.5155 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.15, allocations: 11.94 kB / 0.5155 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.1505, allocations: 47.94 kB / 0.5156 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1506, allocations: 35.97 kB / 0.5156 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.1506, allocations: 15.98 kB / 0.5156 GB, free: 1.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.1514, allocations: 0.5889 MB / 0.5162 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1514, allocations: 0 / 0.5162 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00096/0.1524, allocations: 339 kB / 0.5165 GB, free: 0.6562 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.002402/0.1548, allocations: 0.6532 MB / 0.5171 GB, free: 308 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1856/0.3403, allocations: 1.237 MB / 0.5184 GB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3403, allocations: 1.656 kB / 0.5184 GB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.341, allocations: 421.9 kB / 0.5188 GB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.3418, allocations: 119.2 kB / 0.5189 GB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.3445, allocations: 1.534 MB / 0.5204 GB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.345, allocations: 0.9568 MB / 0.5213 GB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3451, allocations: 51.72 kB / 0.5214 GB, free: 34.55 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3451, allocations: 0 / 0.5214 GB, free: 34.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01866/0.3638, allocations: 13.59 MB / 0.5346 GB, free: 30.38 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.086508406326175] Failed to read output from testmodel.py, exit status != 0: 0.3708490813151002 0.38206732000000004 0.266821701 Calling exit ...