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.0007984/0.0007984, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.001973, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007047/0.0007047, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009137/0.001618, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9437/0.9437, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09919/1.043, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6369/0.6369, allocations: 118.7 MB / 362.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05327/0.6902, allocations: 35.85 MB / 398.5 MB, free: 13.34 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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="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="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.413e-06/1.413e-06, allocations: 0 / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.154e-05, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2906/0.2906, allocations: 131 MB / 0.5184 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.2942, allocations: 3.18 MB / 0.5215 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.2945, allocations: 31.69 kB / 0.5215 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.2948, allocations: 150.6 kB / 0.5216 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.2955, allocations: 452.9 kB / 0.5221 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.2964, allocations: 490 kB / 0.5225 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.2975, allocations: 1.062 MB / 0.5236 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2977, allocations: 100.2 kB / 0.5237 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.2984, allocations: 0.6144 MB / 0.5243 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.2989, allocations: 454.9 kB / 0.5247 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.299, allocations: 52 kB / 0.5247 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.2996, allocations: 419.3 kB / 0.5251 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2997, allocations: 119.5 kB / 0.5253 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.2999, allocations: 191.6 kB / 0.5254 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.3008, allocations: 0.7708 MB / 0.5262 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.3008, allocations: 0 / 0.5262 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3008, allocations: 4 kB / 0.5262 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.3008, allocations: 0 / 0.5262 GB, free: 9.223 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.001492/0.3023, allocations: 1.195 MB / 0.5274 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3023, allocations: 16.03 kB / 0.5274 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.3025, allocations: 112.7 kB / 0.5275 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.3031, allocations: 447.3 kB / 0.5279 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/0.3032, allocations: 148.4 kB / 0.5281 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.3033, allocations: 48.31 kB / 0.5281 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.3038, allocations: 487 kB / 0.5286 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.3039, allocations: 3.938 kB / 0.5286 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.3039, allocations: 24 kB / 0.5286 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.3039, allocations: 20.98 kB / 0.5286 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.3043, allocations: 213.6 kB / 0.5288 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3065, allocations: 1.34 MB / 0.5301 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.3069, allocations: 350.4 kB / 0.5305 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3071, allocations: 146.2 kB / 0.5306 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/0.3077, allocations: 309.7 kB / 0.5309 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3077, allocations: 39.06 kB / 0.5309 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 1.623e-06/0.3077, allocations: 0 / 0.5309 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.001377/0.3091, allocations: 0.9999 MB / 0.5319 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.3091, allocations: 59.91 kB / 0.532 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3093, allocations: 371.2 kB / 0.5323 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3093, allocations: 41.64 kB / 0.5324 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.3094, allocations: 206.7 kB / 0.5326 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3095, allocations: 233.9 kB / 0.5328 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3096, allocations: 110.3 kB / 0.5329 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.3097, allocations: 378.6 kB / 0.5332 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.3098, allocations: 69.27 kB / 0.5333 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3099, allocations: 157.1 kB / 0.5335 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.3102, allocations: 277.1 kB / 0.5337 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3102, allocations: 0 / 0.5337 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004671/0.3106, allocations: 420.5 kB / 0.5341 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3106, allocations: 7.984 kB / 0.5341 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3106, allocations: 7.938 kB / 0.5341 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.3109, allocations: 103.8 kB / 0.5342 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.3111, allocations: 135.8 kB / 0.5344 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3123, allocations: 1.829 MB / 0.5362 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3125, allocations: 19.92 kB / 0.5362 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.3125, allocations: 23.98 kB / 0.5362 GB, free: 14.57 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.0001166/0.3126, allocations: 140.6 kB / 0.5363 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3127, allocations: 75.91 kB / 0.5364 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008855/0.3136, allocations: 0.5658 MB / 0.537 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3136, allocations: 4 kB / 0.537 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3136, allocations: 8.5 kB / 0.537 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3136, allocations: 3.984 kB / 0.537 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.3145, allocations: 0.8332 MB / 0.5378 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3145, allocations: 5.438 kB / 0.5378 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3148, allocations: 111.8 kB / 0.5379 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3149, allocations: 75.58 kB / 0.538 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002007/0.3151, allocations: 112.1 kB / 0.5381 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.3151, allocations: 23.92 kB / 0.5381 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.3162, allocations: 1.802 MB / 0.5399 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3162, allocations: 3.938 kB / 0.5399 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.3168, allocations: 0.6276 MB / 0.5405 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.3169, allocations: 19.89 kB / 0.5405 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.317, allocations: 15.98 kB / 0.5405 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.3171, allocations: 52.34 kB / 0.5406 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.3171, allocations: 15.98 kB / 0.5406 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3172, allocations: 176.4 kB / 0.5407 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-08/0.3172, allocations: 0 / 0.5407 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004374/0.3177, allocations: 247.5 kB / 0.541 GB, free: 9.488 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.0002634/0.3179, allocations: 223.8 kB / 0.5412 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.3185, allocations: 0.5485 MB / 0.5417 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.3185, allocations: 8.375 kB / 0.5417 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3188, allocations: 426.8 kB / 0.5421 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.3194, allocations: 311.8 kB / 0.5424 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.3265, allocations: 1.153 MB / 0.5436 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.897e-05/0.3266, allocations: 151.7 kB / 0.5437 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.3268, allocations: 100.6 kB / 0.5438 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.3274, allocations: 233.1 kB / 0.544 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.3274, allocations: 0 / 0.544 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of Templates: time 0.01407/0.3414, allocations: 13.78 MB / 0.5575 GB, free: 8.777 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 -emit_protected -ignoreHideResult -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: 3.7062538228929043]