Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.001323/0.001323, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001492/0.001492, allocations: 156.5 kB / 23 MB, free: 4.949 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04057/0.04057, allocations: 6.494 MB / 266.3 MB, free: 10.25 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [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.00215/0.00215, allocations: 63.91 kB / 392.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 55.39 MB / 448 MB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006863/0.1171, allocations: 4.111 MB / 452.1 MB, free: 15.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004337/0.1215, allocations: 2.326 MB / 454.5 MB, free: 13.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.1218, allocations: 19.88 kB / 454.5 MB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.1223, allocations: 166.7 kB / 454.6 MB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.123, allocations: 282 kB / 454.9 MB, free: 12.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.1238, allocations: 439 kB / 455.3 MB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1249, allocations: 0.9625 MB / 456.3 MB, free: 11.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.1254, allocations: 337.1 kB / 456.6 MB, free: 10.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.126, allocations: 402.6 kB / 457 MB, free: 10.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.1265, allocations: 366.2 kB / 457.4 MB, free: 10.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.1266, allocations: 112 kB / 457.5 MB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.127, allocations: 203.9 kB / 457.7 MB, free: 9.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.1273, allocations: 251.2 kB / 457.9 MB, free: 9.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003966/0.1277, allocations: 374.3 kB / 458.3 MB, free: 9.141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.1292, allocations: 1.296 MB / 459.6 MB, free: 7.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1292, allocations: 0 / 459.6 MB, free: 7.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1292, allocations: 0 / 459.6 MB, free: 7.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1292, allocations: 0 / 459.6 MB, free: 7.84 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002176/0.1314, allocations: 1.219 MB / 460.8 MB, free: 6.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1314, allocations: 11.97 kB / 460.8 MB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1316, allocations: 100.3 kB / 460.9 MB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.1325, allocations: 0.5233 MB / 461.5 MB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.1326, allocations: 54.38 kB / 461.5 MB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1327, allocations: 80.12 kB / 461.6 MB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.1343, allocations: 0.8897 MB / 462.5 MB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.1343, allocations: 0 / 462.5 MB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.1344, allocations: 28 kB / 462.5 MB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.1344, allocations: 24 kB / 462.5 MB, free: 4.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.1357, allocations: 0.585 MB / 463.1 MB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.1397, allocations: 2.303 MB / 465.4 MB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1408, allocations: 422.1 kB / 465.8 MB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.1413, allocations: 232.4 kB / 466 MB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.1414, allocations: 4 kB / 466.1 MB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007125/0.1421, allocations: 398.4 kB / 466.4 MB, free: 0.6719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.1421, allocations: 0 / 466.4 MB, free: 0.6719 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.00211/0.1442, allocations: 0.7791 MB / 467.2 MB, free: 15.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.1443, allocations: 166.2 kB / 467.4 MB, free: 15.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/0.1453, allocations: 0.6151 MB / 468 MB, free: 15.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.1454, allocations: 41.64 kB / 468 MB, free: 14.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.1457, allocations: 400.2 kB / 468.4 MB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1458, allocations: 127 kB / 468.6 MB, free: 14.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.146, allocations: 98.12 kB / 468.7 MB, free: 14.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.1462, allocations: 370.7 kB / 469 MB, free: 13.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000539/0.1467, allocations: 267.9 kB / 469.3 MB, free: 13.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.1474, allocations: 448 kB / 469.7 MB, free: 13.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.1486, allocations: 0.6036 MB / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1486, allocations: 0 / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001477/0.15, allocations: 0.7632 MB / 471.1 MB, free: 11.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.1501, allocations: 93.09 kB / 471.2 MB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1501, allocations: 4 kB / 471.2 MB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.1503, allocations: 28.84 kB / 471.2 MB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.1507, allocations: 96.22 kB / 471.3 MB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1519, allocations: 1.26 MB / 472.6 MB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.1523, allocations: 83.58 kB / 472.6 MB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.1524, allocations: 20 kB / 472.7 MB, free: 9.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000752/0.1531, allocations: 450.3 kB / 473.1 MB, free: 9.527 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006266/0.1538, allocations: 436 kB / 473.5 MB, free: 9.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001035/0.1548, allocations: 0.5709 MB / 474.1 MB, free: 8.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.299e-06/0.1548, allocations: 7.938 kB / 474.1 MB, free: 8.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001366/0.1562, allocations: 0.7301 MB / 474.8 MB, free: 7.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.1562, allocations: 95.91 kB / 474.9 MB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1562, allocations: 4 kB / 474.9 MB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.33e-05/0.1563, allocations: 24.84 kB / 475 MB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.1567, allocations: 95.83 kB / 475 MB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1578, allocations: 1.272 MB / 476.3 MB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.1583, allocations: 67.73 kB / 476.4 MB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.1583, allocations: 20 kB / 476.4 MB, free: 5.883 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.0002474/0.1585, allocations: 271.6 kB / 476.7 MB, free: 5.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.1586, allocations: 63.72 kB / 476.7 MB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.1599, allocations: 0.5842 MB / 477.3 MB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1599, allocations: 4 kB / 477.3 MB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1599, allocations: 0 / 477.3 MB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.16, allocations: 4 kB / 477.3 MB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.162, allocations: 1.159 MB / 478.5 MB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.162, allocations: 0 / 478.5 MB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.1623, allocations: 59.89 kB / 478.5 MB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-05/0.1624, allocations: 28.84 kB / 478.6 MB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1624, allocations: 8 kB / 478.6 MB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.1636, allocations: 1.252 MB / 479.8 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1636, allocations: 0 / 479.8 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.1654, allocations: 0.9454 MB / 480.8 MB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1655, allocations: 63.64 kB / 480.8 MB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.1656, allocations: 19.97 kB / 480.9 MB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.166, allocations: 43.95 kB / 480.9 MB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1661, allocations: 39.92 kB / 480.9 MB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.1661, allocations: 12 kB / 481 MB, free: 1.051 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005501/0.1667, allocations: 438.8 kB / 481.4 MB, free: 0.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1667, allocations: 3.938 kB / 481.4 MB, free: 0.6211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009485/0.1676, allocations: 358.7 kB / 481.7 MB, free: 276 kB / 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.1989/0.3665, allocations: 478.4 kB / 482.2 MB, free: 72.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.3687, allocations: 1.436 MB / 483.6 MB, free: 71.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3687, allocations: 3.516 kB / 483.6 MB, free: 71.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.3693, allocations: 487.8 kB / 484.1 MB, free: 70.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.37, allocations: 84.77 kB / 484.2 MB, free: 70.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3721, allocations: 1.441 MB / 485.6 MB, free: 70.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3723, allocations: 339.3 kB / 486 MB, free: 70.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.3726, allocations: 64.72 kB / 486 MB, free: 70.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3727, allocations: 41.39 kB / 486.1 MB, free: 70.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3727, allocations: 3.188 kB / 486.1 MB, free: 70.2 MB / 446.1 MB Notification: Performance of Templates: time 0.01306/0.3857, allocations: 8.265 MB / 494.3 MB, free: 69.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.970893034944311] Failed to read output from testmodel.py, exit status != 0: 0.39479247003328055 0.404455681 0.27275093300000003 Calling exit ...