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.001409/0.001409, 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.001002/0.001002, 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.9426/0.9426, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.669/0.669, allocations: 118.6 MB / 378.6 MB, free: 1.492 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.243e-06/1.243e-06, allocations: 0 / 483.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.054e-05, allocations: 2.312 kB / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1219/0.1219, allocations: 131.6 MB / 0.6007 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1257, allocations: 3.148 MB / 0.6038 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.1262, allocations: 35.69 kB / 0.6039 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.1268, allocations: 142.7 kB / 0.604 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1278, allocations: 460.9 kB / 0.6044 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1289, allocations: 0.4903 MB / 0.6049 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.1301, allocations: 1.065 MB / 0.6059 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.1304, allocations: 94.28 kB / 0.606 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.1313, allocations: 0.5804 MB / 0.6066 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005687/0.1318, allocations: 454.8 kB / 0.607 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.1319, allocations: 52 kB / 0.6071 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.1326, allocations: 403.3 kB / 0.6075 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1328, allocations: 163.3 kB / 0.6076 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.133, allocations: 247.3 kB / 0.6079 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1341, allocations: 0.8448 MB / 0.6087 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1341, allocations: 0 / 0.6087 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1341, allocations: 0 / 0.6087 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.1341, allocations: 0 / 0.6087 GB, free: 4.531 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.001681/0.1358, allocations: 1.11 MB / 0.6098 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1358, allocations: 8.031 kB / 0.6098 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.136, allocations: 140.3 kB / 0.6099 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.1366, allocations: 0.5058 MB / 0.6104 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.1367, allocations: 144.4 kB / 0.6105 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.1368, allocations: 44.38 kB / 0.6106 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.1374, allocations: 0.5229 MB / 0.6111 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1374, allocations: 4 kB / 0.6111 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.1374, allocations: 16 kB / 0.6111 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.1375, allocations: 24.94 kB / 0.6111 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.1379, allocations: 313.7 kB / 0.6114 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1399, allocations: 1.849 MB / 0.6132 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.1405, allocations: 431.2 kB / 0.6137 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.1408, allocations: 190.6 kB / 0.6138 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.1415, allocations: 312.2 kB / 0.6141 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1415, allocations: 45.83 kB / 0.6142 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.1415, allocations: 0 / 0.6142 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.001997/0.1435, allocations: 1.324 MB / 0.6155 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1435, allocations: 59.91 kB / 0.6155 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1438, allocations: 430.6 kB / 0.6159 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.1438, allocations: 45.7 kB / 0.616 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.1442, allocations: 316.2 kB / 0.6163 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1444, allocations: 234 kB / 0.6165 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1445, allocations: 116 kB / 0.6166 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1446, allocations: 0.5391 MB / 0.6171 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1448, allocations: 113.2 kB / 0.6173 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.145, allocations: 212.9 kB / 0.6175 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.1454, allocations: 362.1 kB / 0.6178 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1454, allocations: 0 / 0.6178 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007581/0.1462, allocations: 0.5977 MB / 0.6184 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1462, allocations: 4 kB / 0.6184 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1462, allocations: 4 kB / 0.6184 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.1465, allocations: 107.7 kB / 0.6185 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1467, allocations: 111.8 kB / 0.6186 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.1484, allocations: 2.531 MB / 0.6211 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1485, allocations: 28.02 kB / 0.6211 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.1486, allocations: 23.98 kB / 0.6211 GB, free: 7.305 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.0001578/0.1487, allocations: 188.4 kB / 0.6213 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.1489, allocations: 103.5 kB / 0.6214 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/0.1497, allocations: 0.7085 MB / 0.6221 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1497, allocations: 4 kB / 0.6221 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1498, allocations: 8 kB / 0.6221 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.1498, allocations: 3.984 kB / 0.6221 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.1513, allocations: 1.208 MB / 0.6233 GB, free: 5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.1514, allocations: 8 kB / 0.6233 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.1516, allocations: 95.86 kB / 0.6234 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.1518, allocations: 115.5 kB / 0.6235 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.1519, allocations: 15.98 kB / 0.6235 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.1533, allocations: 2.501 MB / 0.626 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.1533, allocations: 11.92 kB / 0.626 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.1543, allocations: 0.8658 MB / 0.6268 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1544, allocations: 107.5 kB / 0.6269 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.1544, allocations: 12 kB / 0.6269 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1546, allocations: 15.98 kB / 0.6269 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.1547, allocations: 52.41 kB / 0.627 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.1547, allocations: 19.98 kB / 0.627 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001848/0.1549, allocations: 306.8 kB / 0.6273 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.1549, allocations: 4 kB / 0.6273 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005238/0.1554, allocations: 247.5 kB / 0.6275 GB, free: 496 kB / 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.0003105/0.1557, allocations: 238.6 kB / 0.6278 GB, free: 248 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.1566, allocations: 0.6823 MB / 0.6284 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1566, allocations: 0 / 0.6284 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.157, allocations: 0.5164 MB / 0.6289 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.1577, allocations: 259 kB / 0.6292 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1598, allocations: 1.222 MB / 0.6304 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1599, allocations: 159.6 kB / 0.6305 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.1602, allocations: 124.6 kB / 0.6307 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1603, allocations: 68.45 kB / 0.6307 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of SimCode: time 1.332e-06/0.1603, allocations: 0 / 0.6307 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of Templates: time 0.01596/0.1763, allocations: 13.23 MB / 0.6436 GB, free: 168 kB / 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.19593114964664]