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.0008599/0.0008599, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001896, 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.001462/0.001462, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.003143, 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.9909/0.9909, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/1.109, 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/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.7317/0.7317, allocations: 118.6 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0951/0.8268, allocations: 35.84 MB / 398.4 MB, free: 13.25 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.323e-06/1.323e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.993e-05, allocations: 9.406 kB / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3144/0.3144, allocations: 131 MB / 0.5183 GB, free: 1.098 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.3178, allocations: 3.181 MB / 0.5214 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.3182, allocations: 35.69 kB / 0.5214 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3185, allocations: 150.7 kB / 0.5216 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.3192, allocations: 452.9 kB / 0.522 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.32, allocations: 478.1 kB / 0.5225 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007709/0.3208, allocations: 1.062 MB / 0.5235 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.321, allocations: 108.2 kB / 0.5236 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.3216, allocations: 0.6099 MB / 0.5242 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.3221, allocations: 450.9 kB / 0.5246 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.3222, allocations: 56 kB / 0.5247 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000579/0.3228, allocations: 423.2 kB / 0.5251 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3229, allocations: 119.5 kB / 0.5252 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.323, allocations: 195.6 kB / 0.5254 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008115/0.3238, allocations: 0.7708 MB / 0.5261 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.3239, allocations: 7.938 kB / 0.5261 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3239, allocations: 0 / 0.5261 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.3239, allocations: 0 / 0.5261 GB, free: 9.039 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.001252/0.3251, allocations: 1.199 MB / 0.5273 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3252, allocations: 12.03 kB / 0.5273 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.3253, allocations: 108.7 kB / 0.5274 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.3258, allocations: 443.3 kB / 0.5279 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.3259, allocations: 145.6 kB / 0.528 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.515e-05/0.326, allocations: 60.31 kB / 0.528 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.3265, allocations: 479.1 kB / 0.5285 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3265, allocations: 3.938 kB / 0.5285 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3265, allocations: 16 kB / 0.5285 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.3266, allocations: 24.98 kB / 0.5285 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.3268, allocations: 209.6 kB / 0.5287 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3285, allocations: 1.342 MB / 0.5301 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.3289, allocations: 367.6 kB / 0.5304 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3291, allocations: 142.3 kB / 0.5305 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.3297, allocations: 308.7 kB / 0.5308 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3298, allocations: 39.05 kB / 0.5309 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 2.004e-06/0.3298, allocations: 4 kB / 0.5309 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.001466/0.3312, allocations: 0.9966 MB / 0.5319 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3313, allocations: 59.91 kB / 0.5319 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.3315, allocations: 367.2 kB / 0.5323 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.3315, allocations: 37.7 kB / 0.5323 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.3316, allocations: 214.6 kB / 0.5325 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3317, allocations: 233.9 kB / 0.5327 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3318, allocations: 106.3 kB / 0.5328 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3319, allocations: 382.6 kB / 0.5332 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.332, allocations: 66.47 kB / 0.5333 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3322, allocations: 157.1 kB / 0.5334 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.3325, allocations: 277.1 kB / 0.5337 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3325, allocations: 3.938 kB / 0.5337 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005111/0.333, allocations: 416.5 kB / 0.5341 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.333, allocations: 8 kB / 0.5341 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.333, allocations: 12.17 kB / 0.5341 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.3332, allocations: 95.59 kB / 0.5342 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3335, allocations: 135.8 kB / 0.5343 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3349, allocations: 1.837 MB / 0.5361 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3351, allocations: 12 kB / 0.5361 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3351, allocations: 27.97 kB / 0.5361 GB, free: 14.39 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.0001237/0.3352, allocations: 140.6 kB / 0.5363 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3353, allocations: 75.88 kB / 0.5363 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/0.336, allocations: 0.562 MB / 0.5369 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.336, allocations: 4 kB / 0.5369 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.336, allocations: 7.938 kB / 0.5369 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.336, allocations: 3.984 kB / 0.5369 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.3369, allocations: 0.8332 MB / 0.5377 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.3369, allocations: 0 / 0.5377 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3372, allocations: 120.7 kB / 0.5378 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3373, allocations: 75.64 kB / 0.5379 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.3375, allocations: 119.5 kB / 0.538 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3375, allocations: 15.98 kB / 0.538 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3386, allocations: 1.805 MB / 0.5398 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3386, allocations: 0 / 0.5398 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.3393, allocations: 0.6353 MB / 0.5404 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.3393, allocations: 23.89 kB / 0.5404 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3394, allocations: 15.98 kB / 0.5405 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3395, allocations: 45.59 kB / 0.5405 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3395, allocations: 15.98 kB / 0.5405 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001148/0.3396, allocations: 176.4 kB / 0.5407 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3396, allocations: 0 / 0.5407 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004851/0.3401, allocations: 247.5 kB / 0.5409 GB, free: 9.312 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.0003002/0.3404, allocations: 219.8 kB / 0.5411 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006296/0.3411, allocations: 0.5488 MB / 0.5417 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.3411, allocations: 12.12 kB / 0.5417 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.3414, allocations: 422.8 kB / 0.5421 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.342, allocations: 310.9 kB / 0.5424 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007148/0.3492, allocations: 1.139 MB / 0.5435 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3493, allocations: 151.7 kB / 0.5436 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003031/0.3496, allocations: 104.6 kB / 0.5437 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.3499, allocations: 233.1 kB / 0.544 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/0.3499, allocations: 4 kB / 0.544 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.01538/0.3653, allocations: 13.79 MB / 0.5574 GB, free: 8.609 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9313000896945596]