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.001318/0.001318, allocations: 80.88 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.001655/0.001655, 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.8831/0.8831, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.6291/0.6291, allocations: 118.7 MB / 378.9 MB, free: 1.371 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.372e-06/1.372e-06, allocations: 3.938 kB / 430.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.085e-05, allocations: 2.312 kB / 430.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2515/0.2515, allocations: 130.6 MB / 0.5482 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.2555, allocations: 3.179 MB / 0.5513 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.2558, allocations: 31.69 kB / 0.5514 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.2562, allocations: 142.8 kB / 0.5515 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.257, allocations: 468.8 kB / 0.5519 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.258, allocations: 490.2 kB / 0.5524 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.2589, allocations: 1.069 MB / 0.5535 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2591, allocations: 104.2 kB / 0.5536 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.2598, allocations: 0.5765 MB / 0.5541 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.2604, allocations: 438.9 kB / 0.5545 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.2604, allocations: 52 kB / 0.5546 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006/0.261, allocations: 415.2 kB / 0.555 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.2612, allocations: 163.3 kB / 0.5551 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.2614, allocations: 239.4 kB / 0.5554 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.2624, allocations: 0.8525 MB / 0.5562 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2624, allocations: 0 / 0.5562 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2624, allocations: 0 / 0.5562 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2625, allocations: 0 / 0.5562 GB, free: 0.6211 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.001058/0.2635, allocations: 0.9574 MB / 0.5571 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2635, allocations: 16.02 kB / 0.5572 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.2637, allocations: 104.8 kB / 0.5573 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.2642, allocations: 452.6 kB / 0.5577 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.2642, allocations: 144.3 kB / 0.5578 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.2643, allocations: 60.3 kB / 0.5579 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.2648, allocations: 483.1 kB / 0.5583 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2648, allocations: 3.938 kB / 0.5583 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.2648, allocations: 16 kB / 0.5584 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.2648, allocations: 24.94 kB / 0.5584 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.2651, allocations: 221.6 kB / 0.5586 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2667, allocations: 1.34 MB / 0.5599 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.2671, allocations: 350.3 kB / 0.5602 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.2673, allocations: 138.3 kB / 0.5604 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/0.2679, allocations: 306.8 kB / 0.5607 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.268, allocations: 39.06 kB / 0.5607 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 1.804e-06/0.268, allocations: 0 / 0.5607 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.001446/0.2694, allocations: 1.001 MB / 0.5617 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.2694, allocations: 59.91 kB / 0.5617 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2696, allocations: 363.3 kB / 0.5621 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.2697, allocations: 37.7 kB / 0.5621 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.2697, allocations: 210.7 kB / 0.5623 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2698, allocations: 241.9 kB / 0.5625 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.27, allocations: 110.3 kB / 0.5627 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002991/0.2703, allocations: 378.6 kB / 0.563 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2704, allocations: 65.28 kB / 0.5631 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2705, allocations: 153.1 kB / 0.5632 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.2708, allocations: 277.1 kB / 0.5635 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2708, allocations: 0.5625 kB / 0.5635 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000504/0.2713, allocations: 420.5 kB / 0.5639 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2713, allocations: 4 kB / 0.5639 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2713, allocations: 7.984 kB / 0.5639 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.2716, allocations: 108.9 kB / 0.564 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.2718, allocations: 103.8 kB / 0.5641 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.273, allocations: 1.831 MB / 0.5659 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2731, allocations: 16 kB / 0.5659 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.2732, allocations: 15.98 kB / 0.5659 GB, free: 6.281 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.0001264/0.2733, allocations: 152.6 kB / 0.5661 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2734, allocations: 71.88 kB / 0.5661 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.274, allocations: 0.5611 MB / 0.5667 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2741, allocations: 9.75 kB / 0.5667 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2741, allocations: 0 / 0.5667 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2741, allocations: 3.938 kB / 0.5667 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.275, allocations: 0.8369 MB / 0.5675 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.275, allocations: 4 kB / 0.5675 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.2752, allocations: 99.81 kB / 0.5676 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.2754, allocations: 105.8 kB / 0.5677 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2755, allocations: 23.98 kB / 0.5677 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.2765, allocations: 1.795 MB / 0.5695 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2765, allocations: 1.062 kB / 0.5695 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.2774, allocations: 0.6431 MB / 0.5701 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2776, allocations: 75.59 kB / 0.5702 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.2776, allocations: 12 kB / 0.5702 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2777, allocations: 23.92 kB / 0.5702 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2778, allocations: 44.41 kB / 0.5703 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.2778, allocations: 15.98 kB / 0.5703 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001116/0.2779, allocations: 172.4 kB / 0.5704 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2779, allocations: 0 / 0.5704 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004251/0.2784, allocations: 243.6 kB / 0.5707 GB, free: 1.227 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.0002493/0.2786, allocations: 219.8 kB / 0.5709 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.2792, allocations: 0.5484 MB / 0.5714 GB, free: 444 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2792, allocations: 4.375 kB / 0.5714 GB, free: 440 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.2795, allocations: 426.8 kB / 0.5718 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.2801, allocations: 259 kB / 0.5721 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2815, allocations: 1.145 MB / 0.5732 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.2816, allocations: 155.7 kB / 0.5733 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.2818, allocations: 96.66 kB / 0.5734 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.2822, allocations: 221.1 kB / 0.5736 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.2822, allocations: 4 kB / 0.5737 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.01443/0.2966, allocations: 13.37 MB / 0.5867 GB, free: 1.016 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 -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.4664399912580848]