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.001437/0.001437, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001523/0.001523, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.064/1.064, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7377/0.7377, allocations: 118.7 MB / 378.6 MB, free: 1.473 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|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 2.044e-06/2.044e-06, allocations: 0 / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.268e-05, allocations: 5.125 kB / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1477/0.1477, allocations: 131.6 MB / 0.6007 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.1521, allocations: 3.148 MB / 0.6038 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006678/0.1528, allocations: 31.69 kB / 0.6039 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.1534, allocations: 142.7 kB / 0.604 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.1546, allocations: 456.9 kB / 0.6044 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.156, allocations: 494.1 kB / 0.6049 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1575, allocations: 1.061 MB / 0.6059 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.1579, allocations: 98.28 kB / 0.606 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.1598, allocations: 0.5726 MB / 0.6066 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.1609, allocations: 450.8 kB / 0.607 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.1611, allocations: 56 kB / 0.6071 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.1624, allocations: 399.3 kB / 0.6075 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.1626, allocations: 167.3 kB / 0.6076 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.1631, allocations: 239.4 kB / 0.6078 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.1654, allocations: 0.8487 MB / 0.6087 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1654, allocations: 4 kB / 0.6087 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.364e-06/0.1654, allocations: 0 / 0.6087 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.1654, allocations: 0 / 0.6087 GB, free: 4.547 MB / 0.5261 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.002982/0.1684, allocations: 1.106 MB / 0.6098 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.406e-05/0.1685, allocations: 12.03 kB / 0.6098 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.1691, allocations: 144.3 kB / 0.6099 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.17, allocations: 0.498 MB / 0.6104 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.1702, allocations: 144.4 kB / 0.6105 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.1703, allocations: 52.38 kB / 0.6106 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008525/0.1711, allocations: 0.5228 MB / 0.6111 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1712, allocations: 0 / 0.6111 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1712, allocations: 23.98 kB / 0.6111 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/0.1713, allocations: 21 kB / 0.6111 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.1718, allocations: 305.7 kB / 0.6114 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.1744, allocations: 1.849 MB / 0.6132 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.1752, allocations: 439.1 kB / 0.6136 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.1755, allocations: 190.6 kB / 0.6138 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008302/0.1763, allocations: 308.2 kB / 0.6141 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1763, allocations: 41.89 kB / 0.6142 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 2.425e-06/0.1763, allocations: 0 / 0.6142 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.002329/0.1787, allocations: 1.331 MB / 0.6155 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1787, allocations: 55.91 kB / 0.6155 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.1791, allocations: 434.6 kB / 0.6159 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.1791, allocations: 37.7 kB / 0.616 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1793, allocations: 312.2 kB / 0.6163 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.1794, allocations: 234 kB / 0.6165 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.1795, allocations: 120 kB / 0.6166 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1797, allocations: 0.5352 MB / 0.6171 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1799, allocations: 117.2 kB / 0.6172 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1801, allocations: 216.9 kB / 0.6174 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.1806, allocations: 358.2 kB / 0.6178 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1806, allocations: 0 / 0.6178 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000873/0.1815, allocations: 0.5937 MB / 0.6184 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1815, allocations: 8 kB / 0.6184 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.1815, allocations: 4 kB / 0.6184 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.1818, allocations: 106.9 kB / 0.6185 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.1821, allocations: 115.9 kB / 0.6186 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.184, allocations: 2.539 MB / 0.6211 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1841, allocations: 19.98 kB / 0.6211 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.1842, allocations: 27.98 kB / 0.6211 GB, free: 7.316 MB / 0.5417 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.0001754/0.1843, allocations: 184.5 kB / 0.6213 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1845, allocations: 99.53 kB / 0.6214 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.1855, allocations: 0.7163 MB / 0.6221 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1855, allocations: 8 kB / 0.6221 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1855, allocations: 4 kB / 0.6221 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1855, allocations: 3.984 kB / 0.6221 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1869, allocations: 1.204 MB / 0.6233 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.1869, allocations: 4 kB / 0.6233 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.1872, allocations: 99.86 kB / 0.6234 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.1874, allocations: 115.3 kB / 0.6235 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.1875, allocations: 23.98 kB / 0.6235 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.1891, allocations: 2.485 MB / 0.6259 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1891, allocations: 7.922 kB / 0.6259 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1902, allocations: 0.8619 MB / 0.6268 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1904, allocations: 111.5 kB / 0.6269 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.1904, allocations: 12 kB / 0.6269 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1906, allocations: 23.98 kB / 0.6269 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.1906, allocations: 48.34 kB / 0.627 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.1907, allocations: 31.98 kB / 0.627 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002059/0.1909, allocations: 302.8 kB / 0.6273 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.1909, allocations: 0 / 0.6273 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006042/0.1915, allocations: 251.5 kB / 0.6275 GB, free: 0.5 MB / 0.5417 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.0003859/0.1919, allocations: 238.7 kB / 0.6278 GB, free: 264 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009392/0.1928, allocations: 0.6861 MB / 0.6284 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1928, allocations: 0 / 0.6284 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.1933, allocations: 0.5168 MB / 0.6289 GB, free: 15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.194, allocations: 250 kB / 0.6292 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.196, allocations: 1.224 MB / 0.6304 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.1962, allocations: 159.7 kB / 0.6305 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002912/0.1965, allocations: 124.6 kB / 0.6306 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1966, allocations: 68.39 kB / 0.6307 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.1966, allocations: 4 kB / 0.6307 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.01537/0.212, allocations: 12.18 MB / 0.6426 GB, free: 1.223 MB / 0.5573 GB " [Timeout remaining time 659] 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 -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: 4.837316229008138]