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.0008258/0.0008258, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001877, allocations: 440 kB / 10.41 MB, free: 284 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.0006876/0.0006876, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009074/0.001595, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.935/0.935, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6881/0.6881, allocations: 118.7 MB / 362.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05613/0.7442, allocations: 35.84 MB / 398.7 MB, free: 13.09 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/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_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_ThermofluidStream.Processes.Tests.Turbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.162e-05, allocations: 6.312 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3109/0.3109, allocations: 131 MB / 0.5186 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3137, allocations: 3.188 MB / 0.5217 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3139, allocations: 35.69 kB / 0.5217 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.3141, allocations: 146.7 kB / 0.5218 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.3146, allocations: 452.9 kB / 0.5223 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.3152, allocations: 486 kB / 0.5227 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.3158, allocations: 1.062 MB / 0.5238 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.316, allocations: 108.2 kB / 0.5239 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.3165, allocations: 0.6143 MB / 0.5245 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.3169, allocations: 446.9 kB / 0.5249 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.3169, allocations: 56 kB / 0.525 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.3174, allocations: 415.2 kB / 0.5254 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.3175, allocations: 127.5 kB / 0.5255 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3176, allocations: 199.6 kB / 0.5257 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007216/0.3183, allocations: 0.7591 MB / 0.5264 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3183, allocations: 8 kB / 0.5264 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3183, allocations: 0 / 0.5264 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.3184, allocations: 4 kB / 0.5264 GB, free: 8.797 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.001102/0.3195, allocations: 1.195 MB / 0.5276 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.3195, allocations: 8.031 kB / 0.5276 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3197, allocations: 120.7 kB / 0.5277 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.3204, allocations: 439.3 kB / 0.5281 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/0.3204, allocations: 148.4 kB / 0.5283 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.3205, allocations: 60.25 kB / 0.5283 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.3209, allocations: 483 kB / 0.5288 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3209, allocations: 3.938 kB / 0.5288 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.321, allocations: 16 kB / 0.5288 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.321, allocations: 22.25 kB / 0.5288 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.3212, allocations: 217.6 kB / 0.529 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.3227, allocations: 1.337 MB / 0.5303 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.3231, allocations: 360 kB / 0.5307 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3233, allocations: 134.3 kB / 0.5308 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/0.3239, allocations: 312.1 kB / 0.5311 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3239, allocations: 43.06 kB / 0.5312 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 1.813e-06/0.3239, allocations: 0 / 0.5312 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.001633/0.3255, allocations: 1.141 MB / 0.5323 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.3255, allocations: 59.91 kB / 0.5323 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3257, allocations: 371.2 kB / 0.5327 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3257, allocations: 37.7 kB / 0.5327 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.3258, allocations: 206.7 kB / 0.5329 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.3259, allocations: 229.9 kB / 0.5331 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.326, allocations: 110.3 kB / 0.5332 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.3261, allocations: 378.6 kB / 0.5336 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.3262, allocations: 73.27 kB / 0.5337 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3263, allocations: 149.1 kB / 0.5338 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.3266, allocations: 281.1 kB / 0.5341 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3266, allocations: 0 / 0.5341 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004574/0.327, allocations: 424.5 kB / 0.5345 GB, free: 228 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.327, allocations: 4 kB / 0.5345 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3271, allocations: 10.19 kB / 0.5345 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.3273, allocations: 107.6 kB / 0.5346 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.3278, allocations: 127.8 kB / 0.5347 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3289, allocations: 1.835 MB / 0.5365 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.329, allocations: 12 kB / 0.5365 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.329, allocations: 24.02 kB / 0.5365 GB, free: 14.01 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.0001119/0.3292, allocations: 140.6 kB / 0.5367 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3293, allocations: 71.88 kB / 0.5367 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.3299, allocations: 0.5576 MB / 0.5373 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3299, allocations: 11.94 kB / 0.5373 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3299, allocations: 3.938 kB / 0.5373 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3299, allocations: 9.047 kB / 0.5373 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.3308, allocations: 0.8371 MB / 0.5381 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3308, allocations: 8.062 kB / 0.5381 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.331, allocations: 116.6 kB / 0.5383 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.3311, allocations: 75.59 kB / 0.5383 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.3313, allocations: 105.4 kB / 0.5384 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.3313, allocations: 23.98 kB / 0.5384 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.3323, allocations: 1.808 MB / 0.5402 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3323, allocations: 0 / 0.5402 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.333, allocations: 0.6354 MB / 0.5408 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.333, allocations: 19.89 kB / 0.5409 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3331, allocations: 12 kB / 0.5409 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.3332, allocations: 52.34 kB / 0.5409 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3332, allocations: 20.66 kB / 0.5409 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3333, allocations: 172.4 kB / 0.5411 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3333, allocations: 0 / 0.5411 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000378/0.3337, allocations: 247.5 kB / 0.5413 GB, free: 8.926 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.0002473/0.3339, allocations: 231.8 kB / 0.5416 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007714/0.3347, allocations: 0.565 MB / 0.5421 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.3347, allocations: 8 kB / 0.5421 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.3351, allocations: 452.4 kB / 0.5425 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.3359, allocations: 1.27 MB / 0.5438 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.3427, allocations: 1.148 MB / 0.5449 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.859e-05/0.3428, allocations: 151.2 kB / 0.5451 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.343, allocations: 108.7 kB / 0.5452 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.3433, allocations: 221.2 kB / 0.5454 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.3433, allocations: 0 / 0.5454 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of Templates: time 0.01322/0.3565, allocations: 13.95 MB / 0.559 GB, free: 6.836 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7518412973731756]