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.001104/0.001104, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001088/0.001088, allocations: 177 kB / 23.49 MB, free: 1.055 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.9761/0.9761, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.6878/0.6878, allocations: 118.6 MB / 378.9 MB, free: 1.496 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 2.284e-06/2.284e-06, allocations: 0 / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.781e-05, allocations: 5.156 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1371/0.1371, allocations: 144.1 MB / 0.6131 GB, free: 408 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.1495, allocations: 11.68 MB / 0.6245 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.1502, allocations: 31.69 kB / 0.6245 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008996/0.1511, allocations: 281.9 kB / 0.6248 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1525, allocations: 0.6209 MB / 0.6254 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1544, allocations: 0.7466 MB / 0.6261 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1556, allocations: 1.058 MB / 0.6271 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.1561, allocations: 102.2 kB / 0.6272 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007835/0.1568, allocations: 0.5726 MB / 0.6278 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.1574, allocations: 442.9 kB / 0.6282 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.1575, allocations: 52 kB / 0.6283 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.1592, allocations: 0.916 MB / 0.6292 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1593, allocations: 167.4 kB / 0.6293 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.1596, allocations: 243.4 kB / 0.6295 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.1612, allocations: 1.02 MB / 0.6305 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1612, allocations: 0 / 0.6305 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1612, allocations: 0 / 0.6305 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.1612, allocations: 0 / 0.6305 GB, free: 14.43 MB / 0.5573 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.001572/0.1628, allocations: 1.153 MB / 0.6317 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1628, allocations: 8.031 kB / 0.6317 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1631, allocations: 136.4 kB / 0.6318 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.1638, allocations: 0.5019 MB / 0.6323 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1639, allocations: 144.4 kB / 0.6324 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.164, allocations: 52.31 kB / 0.6325 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.165, allocations: 0.5112 MB / 0.633 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.165, allocations: 0 / 0.633 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.165, allocations: 27.98 kB / 0.633 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/0.1651, allocations: 21 kB / 0.633 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.1658, allocations: 317.7 kB / 0.6333 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.169, allocations: 1.841 MB / 0.6351 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/0.1699, allocations: 440.8 kB / 0.6356 GB, free: 9.109 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.1703, allocations: 190.3 kB / 0.6357 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.1715, allocations: 332.2 kB / 0.636 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.1715, allocations: 45.83 kB / 0.6361 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 3.476e-06/0.1715, allocations: 4 kB / 0.6361 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.003454/0.175, allocations: 1.327 MB / 0.6374 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.175, allocations: 55.91 kB / 0.6374 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.1755, allocations: 430.6 kB / 0.6379 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.1756, allocations: 37.7 kB / 0.6379 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1758, allocations: 320.2 kB / 0.6382 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.176, allocations: 229.9 kB / 0.6384 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.1761, allocations: 124 kB / 0.6385 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1763, allocations: 0.5391 MB / 0.6391 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1766, allocations: 113.2 kB / 0.6392 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.1769, allocations: 212.9 kB / 0.6394 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.1776, allocations: 358.1 kB / 0.6397 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1776, allocations: 4 kB / 0.6397 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001248/0.1788, allocations: 0.5939 MB / 0.6403 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1789, allocations: 8 kB / 0.6403 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.1789, allocations: 4 kB / 0.6403 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/0.1793, allocations: 111.2 kB / 0.6404 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.1797, allocations: 111.8 kB / 0.6405 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.1824, allocations: 2.528 MB / 0.643 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.1826, allocations: 19.98 kB / 0.643 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.1827, allocations: 27.98 kB / 0.643 GB, free: 1.141 MB / 0.5573 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.0002242/0.1829, allocations: 192.4 kB / 0.6432 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.1832, allocations: 95.55 kB / 0.6433 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.1846, allocations: 0.7851 MB / 0.6441 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.1846, allocations: 11.98 kB / 0.6441 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1846, allocations: 4 kB / 0.6441 GB, free: 28 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1846, allocations: 0 / 0.6441 GB, free: 28 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1994/0.384, allocations: 1.179 MB / 0.6452 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.384, allocations: 3.062 kB / 0.6452 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.3843, allocations: 98.02 kB / 0.6453 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/0.3846, allocations: 119.6 kB / 0.6455 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.3847, allocations: 21.72 kB / 0.6455 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.3862, allocations: 2.499 MB / 0.6479 GB, free: 169.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3862, allocations: 0 / 0.6479 GB, free: 169.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.3874, allocations: 0.8399 MB / 0.6487 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.3876, allocations: 107.3 kB / 0.6488 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.3877, allocations: 20.81 kB / 0.6489 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3878, allocations: 17.36 kB / 0.6489 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.3879, allocations: 49.53 kB / 0.6489 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.388, allocations: 23.83 kB / 0.6489 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002389/0.3882, allocations: 314.3 kB / 0.6492 GB, free: 168.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3882, allocations: 0 / 0.6492 GB, free: 168.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007673/0.389, allocations: 299.8 kB / 0.6495 GB, free: 168.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (50): * Single equations (assignments): 47 * 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.0005322/0.3895, allocations: 414.5 kB / 0.6499 GB, free: 168.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.3904, allocations: 0.6889 MB / 0.6506 GB, free: 168 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3904, allocations: 0.9062 kB / 0.6506 GB, free: 168 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.391, allocations: 0.5099 MB / 0.6511 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.3917, allocations: 259.2 kB / 0.6513 GB, free: 167.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3935, allocations: 1.214 MB / 0.6525 GB, free: 167.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.923e-05/0.3936, allocations: 150.7 kB / 0.6527 GB, free: 167 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.3939, allocations: 134.4 kB / 0.6528 GB, free: 167 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.394, allocations: 67.2 kB / 0.6529 GB, free: 167 MB / 0.5573 GB Notification: Performance of SimCode: time 1.212e-06/0.394, allocations: 0 / 0.6529 GB, free: 167 MB / 0.5573 GB Notification: Performance of Templates: time 0.01821/0.4123, allocations: 14.74 MB / 0.6673 GB, free: 164.1 MB / 0.5573 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: 4.220906906062737]