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.001464/0.001464, allocations: 93.06 kB / 19.65 MB, free: 280 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.001935/0.001935, allocations: 173.3 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 0.9776/0.9776, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7/0.7, allocations: 118.6 MB / 378.6 MB, free: 1.5 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.384e-06/2.384e-06, allocations: 1.438 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.725e-05, allocations: 12.84 kB / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1204/0.1204, allocations: 131.6 MB / 0.6008 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004083/0.1245, allocations: 3.141 MB / 0.6038 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004473/0.1249, allocations: 35.69 kB / 0.6039 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.1257, allocations: 146.7 kB / 0.604 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000868/0.1265, allocations: 456.9 kB / 0.6044 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1276, allocations: 494.1 kB / 0.6049 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1286, allocations: 1.062 MB / 0.6059 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1289, allocations: 102.3 kB / 0.606 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.1326, allocations: 0.5804 MB / 0.6066 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.1331, allocations: 458.8 kB / 0.607 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1333, allocations: 52 kB / 0.6071 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/0.1341, allocations: 399.3 kB / 0.6075 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1343, allocations: 163.3 kB / 0.6076 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1346, allocations: 243.4 kB / 0.6079 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.136, allocations: 0.8526 MB / 0.6087 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.136, allocations: 0 / 0.6087 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.136, allocations: 0 / 0.6087 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.136, allocations: 0 / 0.6087 GB, free: 4.559 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.001859/0.1379, allocations: 1.106 MB / 0.6098 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1379, allocations: 8.031 kB / 0.6098 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.1383, allocations: 148.3 kB / 0.6099 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.1392, allocations: 0.5019 MB / 0.6104 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1393, allocations: 148.4 kB / 0.6106 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.1394, allocations: 40.38 kB / 0.6106 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.1402, allocations: 0.5229 MB / 0.6111 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1403, allocations: 0 / 0.6111 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.1403, allocations: 16 kB / 0.6111 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.1404, allocations: 28.92 kB / 0.6111 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.141, allocations: 313.7 kB / 0.6114 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.1435, allocations: 1.845 MB / 0.6132 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/0.1444, allocations: 430.4 kB / 0.6137 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.1447, allocations: 194.5 kB / 0.6138 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/0.1454, allocations: 312.2 kB / 0.6141 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1454, allocations: 49.83 kB / 0.6142 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 2.395e-06/0.1454, allocations: 0 / 0.6142 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.00212/0.1475, allocations: 1.328 MB / 0.6155 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1476, allocations: 59.91 kB / 0.6155 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1479, allocations: 430.6 kB / 0.616 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1479, allocations: 37.7 kB / 0.616 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.148, allocations: 316.1 kB / 0.6163 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1481, allocations: 238 kB / 0.6165 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.1483, allocations: 116 kB / 0.6166 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1484, allocations: 0.5352 MB / 0.6171 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.1486, allocations: 117.2 kB / 0.6173 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1488, allocations: 212.9 kB / 0.6175 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.1492, allocations: 362.1 kB / 0.6178 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1492, allocations: 4 kB / 0.6178 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008167/0.1501, allocations: 0.586 MB / 0.6184 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1501, allocations: 8.188 kB / 0.6184 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1501, allocations: 4 kB / 0.6184 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.1504, allocations: 110.7 kB / 0.6185 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1506, allocations: 115.8 kB / 0.6186 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.1526, allocations: 2.528 MB / 0.6211 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.1527, allocations: 19.98 kB / 0.6211 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.1528, allocations: 23.98 kB / 0.6211 GB, free: 7.332 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.0001568/0.1529, allocations: 196.4 kB / 0.6213 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.1531, allocations: 103.5 kB / 0.6214 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.1539, allocations: 0.7085 MB / 0.6221 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1539, allocations: 4 kB / 0.6221 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.154, allocations: 4 kB / 0.6221 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.154, allocations: 3.984 kB / 0.6221 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.1553, allocations: 1.208 MB / 0.6233 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.1553, allocations: 0 / 0.6233 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1556, allocations: 99.88 kB / 0.6234 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.1558, allocations: 123.1 kB / 0.6235 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.1559, allocations: 15.98 kB / 0.6235 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.1573, allocations: 2.497 MB / 0.626 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1573, allocations: 11.92 kB / 0.626 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1584, allocations: 0.858 MB / 0.6268 GB, free: 1.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.1585, allocations: 111.5 kB / 0.6269 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.1585, allocations: 15.95 kB / 0.6269 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1587, allocations: 19.98 kB / 0.6269 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.1588, allocations: 48.41 kB / 0.627 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.1588, allocations: 19.98 kB / 0.627 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000192/0.159, allocations: 306.8 kB / 0.6273 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.159, allocations: 0 / 0.6273 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007616/0.1598, allocations: 251.5 kB / 0.6275 GB, free: 0.5117 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.0003242/0.1601, allocations: 246.7 kB / 0.6278 GB, free: 268 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008409/0.1609, allocations: 0.6782 MB / 0.6284 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1609, allocations: 0 / 0.6284 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.1615, allocations: 0.5208 MB / 0.629 GB, free: 15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/0.1621, allocations: 240.1 kB / 0.6292 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1639, allocations: 1.243 MB / 0.6304 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.994e-05/0.164, allocations: 155.7 kB / 0.6305 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.1642, allocations: 124.6 kB / 0.6307 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1643, allocations: 68.45 kB / 0.6307 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/0.1643, allocations: 0 / 0.6307 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.01515/0.1795, allocations: 13.23 MB / 0.6437 GB, free: 172 kB / 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.30005657998845]