Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 78.88 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 156.7 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.04058/0.04058, allocations: 6.491 MB / 266.3 MB, free: 10.23 MB / 254.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.91 kB / 392.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1032, allocations: 55.39 MB / 448 MB, free: 3.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006134/0.1093, allocations: 4.094 MB / 452.1 MB, free: 15.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.1132, allocations: 2.322 MB / 454.4 MB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.1136, allocations: 19.94 kB / 454.5 MB, free: 13.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.114, allocations: 162.6 kB / 454.6 MB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.1147, allocations: 282.1 kB / 454.9 MB, free: 12.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.1155, allocations: 434.9 kB / 455.3 MB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1166, allocations: 0.9508 MB / 456.3 MB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.1171, allocations: 337.1 kB / 456.6 MB, free: 10.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.1176, allocations: 394.6 kB / 457 MB, free: 10.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.1181, allocations: 350.2 kB / 457.3 MB, free: 10.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.1182, allocations: 108 kB / 457.4 MB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.1185, allocations: 147.9 kB / 457.6 MB, free: 9.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.1188, allocations: 231.4 kB / 457.8 MB, free: 9.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.1192, allocations: 382.2 kB / 458.2 MB, free: 9.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.1206, allocations: 1.218 MB / 459.4 MB, free: 8.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1206, allocations: 0 / 459.4 MB, free: 8.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1206, allocations: 0 / 459.4 MB, free: 8.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.1206, allocations: 0 / 459.4 MB, free: 8.055 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002172/0.1228, allocations: 1.192 MB / 460.6 MB, free: 6.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1228, allocations: 12.03 kB / 460.6 MB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.123, allocations: 100.3 kB / 460.7 MB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.1239, allocations: 0.5116 MB / 461.2 MB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.1239, allocations: 54.38 kB / 461.3 MB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.1241, allocations: 88.06 kB / 461.3 MB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.1257, allocations: 0.8404 MB / 462.2 MB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1257, allocations: 3.938 kB / 462.2 MB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.1258, allocations: 32 kB / 462.2 MB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.1258, allocations: 20 kB / 462.2 MB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.1271, allocations: 0.5811 MB / 462.8 MB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.1311, allocations: 2.264 MB / 465.1 MB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1322, allocations: 430 kB / 465.5 MB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.1327, allocations: 236.4 kB / 465.7 MB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1327, allocations: 4 kB / 465.7 MB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/0.1334, allocations: 386.4 kB / 466.1 MB, free: 1.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.1334, allocations: 0 / 466.1 MB, free: 1.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.001869/0.1353, allocations: 0.7868 MB / 466.9 MB, free: 192 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1354, allocations: 136.5 kB / 467 MB, free: 24 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/0.1362, allocations: 0.5996 MB / 467.6 MB, free: 15.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.1362, allocations: 37.7 kB / 467.7 MB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.1365, allocations: 400.3 kB / 468.1 MB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.1367, allocations: 130.8 kB / 468.2 MB, free: 14.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.1368, allocations: 94.19 kB / 468.3 MB, free: 14.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.137, allocations: 374.6 kB / 468.6 MB, free: 14.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.1375, allocations: 267.9 kB / 468.9 MB, free: 14.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.1382, allocations: 413.4 kB / 469.3 MB, free: 13.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1393, allocations: 0.5958 MB / 469.9 MB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1393, allocations: 0 / 469.9 MB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001429/0.1407, allocations: 0.752 MB / 470.7 MB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.1408, allocations: 101.1 kB / 470.8 MB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1408, allocations: 4 kB / 470.8 MB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.141, allocations: 20.86 kB / 470.8 MB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.1414, allocations: 103.8 kB / 470.9 MB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1426, allocations: 1.26 MB / 472.1 MB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.1431, allocations: 79.69 kB / 472.2 MB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.1431, allocations: 24 kB / 472.2 MB, free: 10.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000829/0.1439, allocations: 446.1 kB / 472.7 MB, free: 9.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005946/0.1445, allocations: 397.4 kB / 473.1 MB, free: 9.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009942/0.1455, allocations: 0.5748 MB / 473.6 MB, free: 8.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.1455, allocations: 0 / 473.6 MB, free: 8.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001391/0.1469, allocations: 0.7299 MB / 474.4 MB, free: 8.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.147, allocations: 93.11 kB / 474.5 MB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.147, allocations: 4 kB / 474.5 MB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.781e-05/0.1471, allocations: 29.22 kB / 474.5 MB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.1475, allocations: 103.8 kB / 474.6 MB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.1486, allocations: 1.26 MB / 475.9 MB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.149, allocations: 79.78 kB / 475.9 MB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.1491, allocations: 20 kB / 476 MB, free: 6.367 MB / 446.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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0002696/0.1493, allocations: 271.5 kB / 476.2 MB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.1494, allocations: 55.67 kB / 476.3 MB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.1508, allocations: 0.5842 MB / 476.9 MB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1508, allocations: 7.938 kB / 476.9 MB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1508, allocations: 4 kB / 476.9 MB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1508, allocations: 3.984 kB / 476.9 MB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.153, allocations: 1.139 MB / 478 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.153, allocations: 0 / 478 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.1533, allocations: 67.88 kB / 478.1 MB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.1534, allocations: 20.86 kB / 478.1 MB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.1534, allocations: 11.98 kB / 478.1 MB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.1546, allocations: 1.26 MB / 479.4 MB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1546, allocations: 3.938 kB / 479.4 MB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.1564, allocations: 0.9376 MB / 480.3 MB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1565, allocations: 59.56 kB / 480.4 MB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.1566, allocations: 15.94 kB / 480.4 MB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.157, allocations: 47.98 kB / 480.4 MB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1571, allocations: 31.89 kB / 480.5 MB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.1571, allocations: 11.98 kB / 480.5 MB, free: 1.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005456/0.1577, allocations: 430.8 kB / 480.9 MB, free: 1.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1577, allocations: 0 / 480.9 MB, free: 1.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008829/0.1586, allocations: 334.8 kB / 481.2 MB, free: 0.8125 MB / 446.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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.001395/0.1599, allocations: 394.1 kB / 481.6 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1864/0.3464, allocations: 1.437 MB / 483 MB, free: 71.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3464, allocations: 0 / 483 MB, free: 71.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009808/0.3474, allocations: 478.1 kB / 483.5 MB, free: 70.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009788/0.3483, allocations: 82.3 kB / 483.6 MB, free: 70.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.3514, allocations: 1.416 MB / 485 MB, free: 70.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3518, allocations: 346.6 kB / 485.4 MB, free: 70.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003743/0.3522, allocations: 58.55 kB / 485.4 MB, free: 70.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.3524, allocations: 44.38 kB / 485.5 MB, free: 70.15 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3524, allocations: 0 / 485.5 MB, free: 70.15 MB / 446.1 MB Notification: Performance of Templates: time 0.0163/0.3687, allocations: 7.528 MB / 493 MB, free: 69.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.765092791058123] Failed to read output from testmodel.py, exit status != 0: 0.3765290799783543 0.38567588500000005 0.262819689 Calling exit ...