Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001314/0.001314, allocations: 75.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.001449/0.001449, allocations: 159.8 kB / 23 MB, free: 4.953 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.0401/0.0401, allocations: 6.482 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 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_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.003091/0.003091, allocations: 67.91 kB / 392.6 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1096, allocations: 55.4 MB / 448 MB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006752/0.1164, allocations: 4.091 MB / 452.1 MB, free: 15.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.1207, allocations: 2.318 MB / 454.4 MB, free: 13.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.1213, allocations: 19.88 kB / 454.4 MB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.1219, allocations: 162.7 kB / 454.6 MB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009951/0.1229, allocations: 282.1 kB / 454.9 MB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.1239, allocations: 438.8 kB / 455.3 MB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.1253, allocations: 0.9587 MB / 456.3 MB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006945/0.126, allocations: 337.1 kB / 456.6 MB, free: 10.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.1267, allocations: 402.6 kB / 457 MB, free: 10.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.1274, allocations: 366.2 kB / 457.4 MB, free: 10.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.1276, allocations: 115.9 kB / 457.5 MB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.128, allocations: 196 kB / 457.7 MB, free: 9.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.1283, allocations: 243.3 kB / 457.9 MB, free: 9.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.1288, allocations: 378.3 kB / 458.3 MB, free: 9.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.1304, allocations: 1.296 MB / 459.6 MB, free: 7.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1304, allocations: 0 / 459.6 MB, free: 7.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1304, allocations: 0 / 459.6 MB, free: 7.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1304, allocations: 0 / 459.6 MB, free: 7.891 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.002211/0.1326, allocations: 1.211 MB / 460.8 MB, free: 6.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1327, allocations: 12.03 kB / 460.8 MB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.1329, allocations: 100.3 kB / 460.9 MB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.1338, allocations: 0.5116 MB / 461.4 MB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.1339, allocations: 66.31 kB / 461.5 MB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.134, allocations: 88.06 kB / 461.5 MB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.1356, allocations: 0.8703 MB / 462.4 MB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.1356, allocations: 8 kB / 462.4 MB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.1357, allocations: 28 kB / 462.4 MB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1357, allocations: 16 kB / 462.5 MB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.137, allocations: 0.5889 MB / 463.1 MB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/0.141, allocations: 2.272 MB / 465.3 MB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1421, allocations: 430.1 kB / 465.7 MB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.1426, allocations: 236.4 kB / 466 MB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1426, allocations: 0 / 466 MB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000707/0.1433, allocations: 394.3 kB / 466.4 MB, free: 0.7695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.1434, allocations: 0 / 466.4 MB, free: 0.7695 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.001927/0.1453, allocations: 0.7791 MB / 467.1 MB, free: 15.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1454, allocations: 158.2 kB / 467.3 MB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.1462, allocations: 0.6152 MB / 467.9 MB, free: 15.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.1463, allocations: 41.64 kB / 467.9 MB, free: 15.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.1466, allocations: 408.3 kB / 468.3 MB, free: 14.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1467, allocations: 126.9 kB / 468.5 MB, free: 14.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.1469, allocations: 94.19 kB / 468.6 MB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1471, allocations: 366.7 kB / 468.9 MB, free: 14.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.1476, allocations: 279.7 kB / 469.2 MB, free: 13.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.1483, allocations: 448 kB / 469.6 MB, free: 13.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.1495, allocations: 0.5958 MB / 470.2 MB, free: 12.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1495, allocations: 0 / 470.2 MB, free: 12.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001503/0.151, allocations: 0.7597 MB / 471 MB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.1511, allocations: 101.2 kB / 471.1 MB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1511, allocations: 4 kB / 471.1 MB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.1512, allocations: 24.84 kB / 471.1 MB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.1517, allocations: 95.88 kB / 471.2 MB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1528, allocations: 1.272 MB / 472.5 MB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.1533, allocations: 75.62 kB / 472.6 MB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.1533, allocations: 24 kB / 472.6 MB, free: 10.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000749/0.1541, allocations: 450.1 kB / 473 MB, free: 9.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006483/0.1547, allocations: 436 kB / 473.4 MB, free: 9.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001037/0.1558, allocations: 0.5709 MB / 474 MB, free: 8.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.1558, allocations: 3.938 kB / 474 MB, free: 8.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001393/0.1572, allocations: 0.7338 MB / 474.8 MB, free: 7.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.1572, allocations: 93.09 kB / 474.8 MB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1572, allocations: 0 / 474.8 MB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.051e-05/0.1573, allocations: 33.28 kB / 474.9 MB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.1577, allocations: 95.83 kB / 475 MB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.1588, allocations: 1.264 MB / 476.2 MB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.1592, allocations: 79.78 kB / 476.3 MB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.1593, allocations: 20 kB / 476.3 MB, free: 5.965 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.0002432/0.1595, allocations: 267.6 kB / 476.6 MB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1596, allocations: 55.67 kB / 476.6 MB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.161, allocations: 0.592 MB / 477.2 MB, free: 5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.161, allocations: 0 / 477.2 MB, free: 5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.161, allocations: 4 kB / 477.2 MB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.161, allocations: 3.984 kB / 477.2 MB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.1631, allocations: 1.163 MB / 478.4 MB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1631, allocations: 0 / 478.4 MB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.1634, allocations: 63.89 kB / 478.5 MB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-05/0.1635, allocations: 16.86 kB / 478.5 MB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.1635, allocations: 11.98 kB / 478.5 MB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.1646, allocations: 1.264 MB / 479.8 MB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1646, allocations: 3.938 kB / 479.8 MB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.1665, allocations: 0.9337 MB / 480.7 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1666, allocations: 71.59 kB / 480.8 MB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.1667, allocations: 11.94 kB / 480.8 MB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.167, allocations: 39.95 kB / 480.8 MB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1672, allocations: 36.03 kB / 480.9 MB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.1672, allocations: 19.92 kB / 480.9 MB, free: 1.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005619/0.1677, allocations: 438.8 kB / 481.3 MB, free: 0.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1677, allocations: 0 / 481.3 MB, free: 0.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001012/0.1688, allocations: 362.8 kB / 481.7 MB, free: 360 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.001767/0.1705, allocations: 483.8 kB / 482.1 MB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1799/0.3504, allocations: 1.437 MB / 483.6 MB, free: 71.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3504, allocations: 0 / 483.6 MB, free: 71.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005627/0.351, allocations: 489.7 kB / 484 MB, free: 70.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.3516, allocations: 84.42 kB / 484.1 MB, free: 70.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3535, allocations: 1.424 MB / 485.6 MB, free: 70.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3538, allocations: 337.4 kB / 485.9 MB, free: 70.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.354, allocations: 73.47 kB / 486 MB, free: 70.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3541, allocations: 38.56 kB / 486 MB, free: 70.12 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3541, allocations: 0 / 486 MB, free: 70.12 MB / 446.1 MB Notification: Performance of Templates: time 0.01229/0.3664, allocations: 8.285 MB / 494.3 MB, free: 69.23 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.916623019962572] Failed to read output from testmodel.py, exit status != 0: 0.3758257100125775 0.383196905 0.25043250999999994 Calling exit ...