Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.000956/0.000956, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00102/0.00102, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9896/0.9896, allocations: 177.2 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.752/0.752, allocations: 118.7 MB / 378.9 MB, free: 1.359 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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(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_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_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.192e-05, allocations: 2.312 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.315/0.315, allocations: 130.6 MB / 0.5483 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.3188, allocations: 3.175 MB / 0.5514 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.3191, allocations: 39.62 kB / 0.5515 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.3195, allocations: 138.8 kB / 0.5516 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.3202, allocations: 460.9 kB / 0.552 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.321, allocations: 486 kB / 0.5525 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.3219, allocations: 1.062 MB / 0.5535 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3221, allocations: 112.2 kB / 0.5536 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000677/0.3228, allocations: 0.5648 MB / 0.5542 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.3232, allocations: 446.8 kB / 0.5546 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.3233, allocations: 56 kB / 0.5547 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.3239, allocations: 427.2 kB / 0.5551 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.324, allocations: 167.3 kB / 0.5552 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.3242, allocations: 235.4 kB / 0.5555 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.3251, allocations: 0.8409 MB / 0.5563 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3251, allocations: 0 / 0.5563 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3251, allocations: 3.938 kB / 0.5563 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3251, allocations: 0 / 0.5563 GB, free: 0.5391 MB / 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.001009/0.3261, allocations: 0.9652 MB / 0.5572 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.3261, allocations: 8.031 kB / 0.5572 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3263, allocations: 116.7 kB / 0.5573 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.3267, allocations: 452.6 kB / 0.5578 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.3271, allocations: 144.4 kB / 0.5579 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.3271, allocations: 56.27 kB / 0.558 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.3276, allocations: 483.1 kB / 0.5584 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3276, allocations: 3.938 kB / 0.5584 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3276, allocations: 16 kB / 0.5584 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.3276, allocations: 29 kB / 0.5585 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.3279, allocations: 214.2 kB / 0.5587 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3294, allocations: 1.336 MB / 0.56 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.3299, allocations: 358.3 kB / 0.5603 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.33, allocations: 144.6 kB / 0.5605 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000609/0.3306, allocations: 305.9 kB / 0.5608 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3306, allocations: 39.06 kB / 0.5608 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 1.633e-06/0.3307, allocations: 0 / 0.5608 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.001442/0.3321, allocations: 1.005 MB / 0.5618 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.3321, allocations: 59.91 kB / 0.5618 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3323, allocations: 367.3 kB / 0.5622 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3323, allocations: 41.7 kB / 0.5622 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.3324, allocations: 210.6 kB / 0.5624 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3325, allocations: 229.9 kB / 0.5626 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3326, allocations: 110.2 kB / 0.5627 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.3327, allocations: 370.6 kB / 0.5631 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3328, allocations: 81.2 kB / 0.5632 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.333, allocations: 145.7 kB / 0.5633 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3332, allocations: 277.1 kB / 0.5636 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3332, allocations: 4 kB / 0.5636 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005105/0.3338, allocations: 420.5 kB / 0.564 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3338, allocations: 9.875 kB / 0.564 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3338, allocations: 4 kB / 0.564 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.334, allocations: 96.7 kB / 0.5641 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3343, allocations: 119.8 kB / 0.5642 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.3358, allocations: 1.836 MB / 0.566 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3359, allocations: 16.73 kB / 0.566 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3359, allocations: 27.92 kB / 0.566 GB, free: 6.16 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.0001211/0.336, allocations: 132.6 kB / 0.5662 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3362, allocations: 79.81 kB / 0.5662 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.3368, allocations: 0.5647 MB / 0.5668 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3368, allocations: 8 kB / 0.5668 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3368, allocations: 7.938 kB / 0.5668 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3368, allocations: 3.984 kB / 0.5668 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.3378, allocations: 0.8374 MB / 0.5676 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3378, allocations: 0 / 0.5676 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.338, allocations: 111.8 kB / 0.5677 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.3382, allocations: 106 kB / 0.5678 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3383, allocations: 20.59 kB / 0.5679 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.3394, allocations: 1.794 MB / 0.5696 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3394, allocations: 2.422 kB / 0.5696 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.34, allocations: 0.6469 MB / 0.5702 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3402, allocations: 67.59 kB / 0.5703 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3402, allocations: 24.48 kB / 0.5703 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3403, allocations: 20 kB / 0.5703 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.3404, allocations: 40.41 kB / 0.5704 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.3404, allocations: 19.98 kB / 0.5704 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001091/0.3405, allocations: 172.4 kB / 0.5706 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 0.5706 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004183/0.341, allocations: 247.6 kB / 0.5708 GB, free: 1.094 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.000277/0.3412, allocations: 218.6 kB / 0.571 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.3418, allocations: 0.5486 MB / 0.5715 GB, free: 312 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.3418, allocations: 4 kB / 0.5716 GB, free: 308 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006301/0.3425, allocations: 431 kB / 0.572 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.343, allocations: 250 kB / 0.5722 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3446, allocations: 1.141 MB / 0.5733 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.3447, allocations: 155.7 kB / 0.5735 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.3449, allocations: 100.7 kB / 0.5736 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.3452, allocations: 221.2 kB / 0.5738 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of SimCode: time 4.488e-06/0.3452, allocations: 0 / 0.5738 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.01443/0.3597, allocations: 13.4 MB / 0.5869 GB, free: 0.8555 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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: 3.996678428258747]