Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.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.001066/0.001066, allocations: 80.81 kB / 19.94 MB, free: 4.539 MB / 18.57 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.001223/0.001223, allocations: 181.3 kB / 23.36 MB, free: 1.125 MB / 18.57 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7422/0.7422, allocations: 118.6 MB / 378.9 MB, free: 1.316 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.742e-05, allocations: 9.484 kB / 430.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3343/0.3343, allocations: 130.6 MB / 0.5483 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.3379, allocations: 3.18 MB / 0.5514 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.3382, allocations: 35.69 kB / 0.5514 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.3386, allocations: 142.7 kB / 0.5516 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007175/0.3393, allocations: 456.9 kB / 0.552 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.3402, allocations: 486.1 kB / 0.5525 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009286/0.3411, allocations: 1.065 MB / 0.5535 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.3413, allocations: 108.2 kB / 0.5536 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.342, allocations: 0.5687 MB / 0.5542 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007803/0.3428, allocations: 450.8 kB / 0.5546 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.3429, allocations: 52 kB / 0.5547 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.3435, allocations: 431.1 kB / 0.5551 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3436, allocations: 167.3 kB / 0.5552 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.3438, allocations: 235.4 kB / 0.5555 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.3447, allocations: 0.8448 MB / 0.5563 GB, free: 472 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3447, allocations: 0 / 0.5563 GB, free: 472 kB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3447, allocations: 0 / 0.5563 GB, free: 472 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3447, allocations: 0 / 0.5563 GB, free: 472 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001121/0.3458, allocations: 0.9691 MB / 0.5572 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3458, allocations: 8.031 kB / 0.5572 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.346, allocations: 112.7 kB / 0.5573 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.3465, allocations: 452.6 kB / 0.5578 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.3466, allocations: 148.4 kB / 0.5579 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.3467, allocations: 48.33 kB / 0.558 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.3472, allocations: 487 kB / 0.5584 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3472, allocations: 7.938 kB / 0.5584 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.3472, allocations: 16 kB / 0.5584 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.3473, allocations: 20.98 kB / 0.5585 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.3475, allocations: 221.6 kB / 0.5587 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3492, allocations: 1.34 MB / 0.56 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.3496, allocations: 350.4 kB / 0.5603 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3498, allocations: 134.3 kB / 0.5605 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006253/0.3504, allocations: 309.5 kB / 0.5607 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3505, allocations: 43 kB / 0.5608 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 2.044e-06/0.3505, allocations: 0 / 0.5608 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.001748/0.3522, allocations: 1.008 MB / 0.5618 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.3522, allocations: 59.89 kB / 0.5618 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3524, allocations: 363.3 kB / 0.5622 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3525, allocations: 37.7 kB / 0.5622 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.3526, allocations: 214.6 kB / 0.5624 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3527, allocations: 237.9 kB / 0.5626 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3528, allocations: 110.3 kB / 0.5627 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.3529, allocations: 370.6 kB / 0.5631 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.956e-05/0.353, allocations: 69.27 kB / 0.5632 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3531, allocations: 155.2 kB / 0.5633 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.3534, allocations: 281 kB / 0.5636 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3534, allocations: 0 / 0.5636 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005081/0.3539, allocations: 420.6 kB / 0.564 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3539, allocations: 4 kB / 0.564 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3539, allocations: 4 kB / 0.564 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.3541, allocations: 107.6 kB / 0.5641 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.3544, allocations: 115.8 kB / 0.5642 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3557, allocations: 1.832 MB / 0.566 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3558, allocations: 20.03 kB / 0.566 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.3558, allocations: 23.92 kB / 0.566 GB, free: 6.082 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.356, allocations: 136.6 kB / 0.5662 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3561, allocations: 71.88 kB / 0.5662 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.3568, allocations: 0.5647 MB / 0.5668 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3568, allocations: 8 kB / 0.5668 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3568, allocations: 7.938 kB / 0.5668 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3568, allocations: 7.922 kB / 0.5668 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3579, allocations: 0.8291 MB / 0.5676 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3579, allocations: 12.05 kB / 0.5676 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3581, allocations: 99.86 kB / 0.5677 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.3583, allocations: 113.4 kB / 0.5678 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.3584, allocations: 16.73 kB / 0.5678 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.3598, allocations: 1.799 MB / 0.5696 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3598, allocations: 6.422 kB / 0.5696 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.3604, allocations: 0.6353 MB / 0.5702 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3605, allocations: 79.58 kB / 0.5703 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.3606, allocations: 17.19 kB / 0.5703 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3607, allocations: 12 kB / 0.5703 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.3608, allocations: 48.41 kB / 0.5704 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.3608, allocations: 27.91 kB / 0.5704 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001189/0.3609, allocations: 172.4 kB / 0.5706 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 0.5706 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004434/0.3614, allocations: 243.6 kB / 0.5708 GB, free: 1.016 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/0.3617, allocations: 219.8 kB / 0.571 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.3623, allocations: 0.5408 MB / 0.5715 GB, free: 236 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.3623, allocations: 4 kB / 0.5715 GB, free: 232 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.3626, allocations: 435 kB / 0.572 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.3632, allocations: 244.3 kB / 0.5722 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3648, allocations: 1.154 MB / 0.5733 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.37e-05/0.3649, allocations: 151.7 kB / 0.5735 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000213/0.3651, allocations: 96.66 kB / 0.5736 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.3654, allocations: 221.2 kB / 0.5738 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/0.3654, allocations: 0 / 0.5738 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of Templates: time 0.0144/0.3798, allocations: 13.41 MB / 0.5869 GB, free: 0.7734 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.085650271736085]