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.001003/0.001003, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001095/0.001095, allocations: 169 kB / 23.27 MB, free: 1.223 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.02/1.02, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.712/0.712, allocations: 118.7 MB / 378.9 MB, free: 1.414 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.154e-06/2.154e-06, allocations: 0 / 484 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.296e-05, allocations: 2.312 kB / 484 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1146/0.1146, allocations: 128.6 MB / 0.5983 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.1181, allocations: 3.117 MB / 0.6014 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.1185, allocations: 35.69 kB / 0.6014 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.119, allocations: 142.7 kB / 0.6015 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000904/0.1199, allocations: 460.9 kB / 0.602 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1209, allocations: 0.4903 MB / 0.6024 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.122, allocations: 1.062 MB / 0.6035 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.1222, allocations: 102.3 kB / 0.6036 GB, free: 10 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008454/0.1231, allocations: 0.5804 MB / 0.6041 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.1236, allocations: 458.8 kB / 0.6046 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.003e-05/0.1237, allocations: 52 kB / 0.6046 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.1244, allocations: 403.3 kB / 0.605 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1245, allocations: 163.3 kB / 0.6052 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1247, allocations: 239.4 kB / 0.6054 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1257, allocations: 0.8448 MB / 0.6062 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1257, allocations: 0 / 0.6062 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1257, allocations: 0 / 0.6062 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.1257, allocations: 4 kB / 0.6062 GB, free: 7.281 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.001356/0.1271, allocations: 1.095 MB / 0.6073 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1271, allocations: 12.03 kB / 0.6073 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.1273, allocations: 148.3 kB / 0.6075 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.1279, allocations: 0.4941 MB / 0.6079 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.653e-05/0.128, allocations: 144.4 kB / 0.6081 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.1281, allocations: 48.38 kB / 0.6081 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.1285, allocations: 491.3 kB / 0.6086 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1286, allocations: 0 / 0.6086 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.1286, allocations: 20 kB / 0.6086 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.1286, allocations: 21 kB / 0.6086 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1289, allocations: 242.7 kB / 0.6089 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1308, allocations: 1.76 MB / 0.6106 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.1313, allocations: 405.4 kB / 0.611 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.1315, allocations: 158.1 kB / 0.6111 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/0.1321, allocations: 320.1 kB / 0.6114 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1322, allocations: 41.89 kB / 0.6115 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 2.135e-06/0.1322, allocations: 0 / 0.6115 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.001605/0.1338, allocations: 1.133 MB / 0.6126 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.1338, allocations: 63.91 kB / 0.6126 GB, free: 500 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.134, allocations: 418.5 kB / 0.613 GB, free: 68 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1341, allocations: 37.7 kB / 0.6131 GB, free: 24 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1342, allocations: 316.1 kB / 0.6134 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1343, allocations: 241.9 kB / 0.6136 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1345, allocations: 119.9 kB / 0.6137 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1346, allocations: 0.5468 MB / 0.6142 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1348, allocations: 85.23 kB / 0.6143 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.135, allocations: 188.8 kB / 0.6145 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.1354, allocations: 318.1 kB / 0.6148 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1354, allocations: 0 / 0.6148 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000834/0.1362, allocations: 0.5391 MB / 0.6153 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1362, allocations: 4 kB / 0.6153 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.1363, allocations: 4 kB / 0.6153 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.1365, allocations: 107.2 kB / 0.6154 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1369, allocations: 103.9 kB / 0.6155 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.1388, allocations: 2.484 MB / 0.618 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.139, allocations: 16 kB / 0.618 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.139, allocations: 19.98 kB / 0.618 GB, free: 10.75 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.0001717/0.1392, allocations: 184.5 kB / 0.6182 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.1393, allocations: 99.48 kB / 0.6183 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.1433, allocations: 0.6771 MB / 0.6189 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1433, allocations: 7.938 kB / 0.6189 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1433, allocations: 4 kB / 0.6189 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1433, allocations: 3.984 kB / 0.619 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.1448, allocations: 1.083 MB / 0.62 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.1448, allocations: 4 kB / 0.62 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.1451, allocations: 91.88 kB / 0.6201 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/0.1453, allocations: 115.2 kB / 0.6202 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.1454, allocations: 19.98 kB / 0.6202 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.15, allocations: 2.439 MB / 0.6226 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.15, allocations: 4 kB / 0.6226 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.151, allocations: 0.7916 MB / 0.6234 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1512, allocations: 107.5 kB / 0.6235 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.1513, allocations: 15.98 kB / 0.6235 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/0.1545, allocations: 16 kB / 0.6235 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.1545, allocations: 56.34 kB / 0.6236 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.1546, allocations: 23.98 kB / 0.6236 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001926/0.1548, allocations: 286.7 kB / 0.6239 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1548, allocations: 0 / 0.6239 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007268/0.1555, allocations: 243.5 kB / 0.6241 GB, free: 4.281 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.0003391/0.1558, allocations: 238.7 kB / 0.6243 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000837/0.1567, allocations: 0.6392 MB / 0.625 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1567, allocations: 0 / 0.625 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.1572, allocations: 0.4972 MB / 0.6254 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.161, allocations: 257.5 kB / 0.6257 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.163, allocations: 1.216 MB / 0.6269 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.1631, allocations: 155.7 kB / 0.627 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003318/0.1664, allocations: 104.6 kB / 0.6271 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.1669, allocations: 262 kB / 0.6274 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/0.1669, allocations: 0 / 0.6274 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of Templates: time 0.03899/0.2059, allocations: 13.35 MB / 0.6404 GB, free: 3.707 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.369135885965079]