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.000851/0.000851, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009482/0.0009482, allocations: 173 kB / 23.49 MB, free: 1.059 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.97/0.97, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6742/0.6742, allocations: 118.6 MB / 378.9 MB, free: 1.453 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 1.833e-06/1.833e-06, allocations: 0 / 483.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.514e-05, allocations: 2.312 kB / 483.6 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1439/0.1439, allocations: 144.2 MB / 0.6131 GB, free: 368 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009763/0.1537, allocations: 11.67 MB / 0.6245 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.1542, allocations: 39.62 kB / 0.6245 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007212/0.1549, allocations: 274 kB / 0.6248 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.156, allocations: 0.6248 MB / 0.6254 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1574, allocations: 0.7466 MB / 0.6261 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.1582, allocations: 1.058 MB / 0.6271 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.1584, allocations: 110.2 kB / 0.6272 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.159, allocations: 0.5648 MB / 0.6278 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.1594, allocations: 454.8 kB / 0.6282 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.1595, allocations: 56 kB / 0.6283 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.1606, allocations: 0.912 MB / 0.6292 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1607, allocations: 163.4 kB / 0.6293 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1609, allocations: 239.4 kB / 0.6295 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.162, allocations: 1.02 MB / 0.6305 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.162, allocations: 0 / 0.6305 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.162, allocations: 0 / 0.6305 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.162, allocations: 3.938 kB / 0.6305 GB, free: 14.4 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.001296/0.1633, allocations: 1.153 MB / 0.6317 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1634, allocations: 12.03 kB / 0.6317 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1636, allocations: 136.4 kB / 0.6318 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.1641, allocations: 0.498 MB / 0.6323 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.1642, allocations: 144.4 kB / 0.6324 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.1643, allocations: 56.27 kB / 0.6325 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.1649, allocations: 0.5151 MB / 0.633 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1649, allocations: 7.984 kB / 0.633 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.165, allocations: 16 kB / 0.633 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.165, allocations: 21 kB / 0.633 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1655, allocations: 309.7 kB / 0.6333 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1674, allocations: 1.849 MB / 0.6351 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.1681, allocations: 431.2 kB / 0.6355 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.1684, allocations: 190.4 kB / 0.6357 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/0.1691, allocations: 328.2 kB / 0.636 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1692, allocations: 41.89 kB / 0.6361 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=62): time 2.034e-06/0.1692, allocations: 0 / 0.6361 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64): time 0.002122/0.1713, allocations: 1.327 MB / 0.6374 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.1713, allocations: 59.91 kB / 0.6374 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1716, allocations: 430.6 kB / 0.6378 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.1716, allocations: 41.7 kB / 0.6379 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1718, allocations: 316.2 kB / 0.6382 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1719, allocations: 233.9 kB / 0.6384 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.172, allocations: 120 kB / 0.6385 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1722, allocations: 0.5391 MB / 0.639 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1724, allocations: 113.2 kB / 0.6392 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1726, allocations: 212.9 kB / 0.6394 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.1731, allocations: 366.1 kB / 0.6397 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1731, allocations: 0 / 0.6397 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008126/0.1739, allocations: 0.5939 MB / 0.6403 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1739, allocations: 7.984 kB / 0.6403 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1739, allocations: 4 kB / 0.6403 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.1742, allocations: 115.7 kB / 0.6404 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1745, allocations: 107.8 kB / 0.6405 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.1761, allocations: 2.542 MB / 0.643 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1763, allocations: 20.03 kB / 0.643 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.1763, allocations: 27.98 kB / 0.643 GB, free: 1.105 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.0001491/0.1764, allocations: 192.4 kB / 0.6432 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.1766, allocations: 95.56 kB / 0.6433 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/0.1776, allocations: 0.7828 MB / 0.6441 GB, free: 8 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1776, allocations: 8 kB / 0.6441 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.1776, allocations: 1.203 kB / 0.6441 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.1776, allocations: 1.875 kB / 0.6441 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.1795, allocations: 1.179 MB / 0.6452 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.1795, allocations: 9.312 kB / 0.6452 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.1798, allocations: 100.6 kB / 0.6453 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.1801, allocations: 111.5 kB / 0.6455 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.1801, allocations: 21.16 kB / 0.6455 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.1815, allocations: 2.487 MB / 0.6479 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1815, allocations: 3.25 kB / 0.6479 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1827, allocations: 0.8455 MB / 0.6487 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.1829, allocations: 110 kB / 0.6488 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.1829, allocations: 14.39 kB / 0.6488 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1831, allocations: 15.72 kB / 0.6489 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.1831, allocations: 48.69 kB / 0.6489 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.1832, allocations: 23.47 kB / 0.6489 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002249/0.1834, allocations: 315.7 kB / 0.6492 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/0.1834, allocations: 0 / 0.6492 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007159/0.1841, allocations: 303.2 kB / 0.6495 GB, free: 50.61 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.0004865/0.1846, allocations: 401.3 kB / 0.6499 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008845/0.1855, allocations: 0.6951 MB / 0.6506 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1855, allocations: 0 / 0.6506 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.186, allocations: 0.5155 MB / 0.6511 GB, free: 50 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.1867, allocations: 257.7 kB / 0.6513 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1886, allocations: 1.211 MB / 0.6525 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.1887, allocations: 158.4 kB / 0.6527 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.189, allocations: 126.4 kB / 0.6528 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1891, allocations: 67.92 kB / 0.6529 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.41e-07/0.1891, allocations: 0.8125 kB / 0.6529 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01731/0.2064, allocations: 14.74 MB / 0.6673 GB, free: 47.98 MB / 0.5573 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 -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.312634979141876]