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.001054/0.001054, allocations: 86.05 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.0009592/0.0009592, allocations: 170 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 0.9474/0.9474, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.69/0.69, allocations: 118.6 MB / 378.9 MB, free: 1.344 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.513e-06/1.513e-06, allocations: 0 / 484 MB, free: 8.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.3e-05, allocations: 5.266 kB / 484 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1173/0.1173, allocations: 128.6 MB / 0.5983 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.1209, allocations: 3.121 MB / 0.6014 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.1213, allocations: 35.69 kB / 0.6014 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.1217, allocations: 142.7 kB / 0.6015 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1228, allocations: 456.9 kB / 0.602 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1239, allocations: 498.1 kB / 0.6024 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009733/0.1248, allocations: 1.065 MB / 0.6035 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.125, allocations: 102.3 kB / 0.6036 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007817/0.1258, allocations: 0.5765 MB / 0.6041 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.1263, allocations: 454.8 kB / 0.6046 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/0.1264, allocations: 52 kB / 0.6046 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.1271, allocations: 411.2 kB / 0.605 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1272, allocations: 163.3 kB / 0.6052 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1274, allocations: 243.4 kB / 0.6054 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.1283, allocations: 0.8409 MB / 0.6062 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1283, allocations: 0 / 0.6062 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1283, allocations: 0 / 0.6062 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.1283, allocations: 0 / 0.6062 GB, free: 7.242 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.001319/0.1297, allocations: 1.099 MB / 0.6073 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1297, allocations: 8.031 kB / 0.6073 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1299, allocations: 144.3 kB / 0.6074 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.1304, allocations: 0.498 MB / 0.6079 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.1305, allocations: 144.4 kB / 0.6081 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.1306, allocations: 52.36 kB / 0.6081 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.1311, allocations: 487.3 kB / 0.6086 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1311, allocations: 0 / 0.6086 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1312, allocations: 24 kB / 0.6086 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.1312, allocations: 20.98 kB / 0.6086 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.1318, allocations: 242.7 kB / 0.6089 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1338, allocations: 1.76 MB / 0.6106 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.1343, allocations: 394.4 kB / 0.611 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.1345, allocations: 166.4 kB / 0.6111 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.1352, allocations: 316.6 kB / 0.6114 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1353, allocations: 41.89 kB / 0.6115 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 1.944e-06/0.1353, allocations: 0 / 0.6115 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.001652/0.1369, allocations: 1.129 MB / 0.6126 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.1369, allocations: 59.91 kB / 0.6126 GB, free: 472 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1372, allocations: 426.5 kB / 0.613 GB, free: 32 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.1372, allocations: 37.7 kB / 0.6131 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1374, allocations: 316.1 kB / 0.6134 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1375, allocations: 237.9 kB / 0.6136 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1376, allocations: 123.9 kB / 0.6137 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1378, allocations: 0.5506 MB / 0.6142 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1379, allocations: 89.23 kB / 0.6143 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1381, allocations: 192.8 kB / 0.6145 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1384, allocations: 306.1 kB / 0.6148 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1384, allocations: 0 / 0.6148 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006549/0.139, allocations: 0.5352 MB / 0.6153 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1391, allocations: 4 kB / 0.6153 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1391, allocations: 8 kB / 0.6153 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.1393, allocations: 103.7 kB / 0.6154 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.1396, allocations: 103.9 kB / 0.6155 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.1413, allocations: 2.481 MB / 0.618 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1416, allocations: 20.03 kB / 0.618 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.1416, allocations: 27.97 kB / 0.618 GB, free: 10.71 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.0001734/0.1418, allocations: 180.5 kB / 0.6182 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.142, allocations: 103.5 kB / 0.6183 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.1429, allocations: 0.6616 MB / 0.6189 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.1429, allocations: 15.92 kB / 0.6189 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.143, allocations: 0 / 0.6189 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.143, allocations: 4 kB / 0.6189 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.1444, allocations: 1.075 MB / 0.62 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.1444, allocations: 8.062 kB / 0.62 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.1447, allocations: 95.88 kB / 0.6201 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.145, allocations: 119.4 kB / 0.6202 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.145, allocations: 19.98 kB / 0.6202 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.1467, allocations: 2.441 MB / 0.6226 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1467, allocations: 3.984 kB / 0.6226 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.148, allocations: 0.7916 MB / 0.6234 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.1482, allocations: 107.5 kB / 0.6235 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.1482, allocations: 16 kB / 0.6235 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1484, allocations: 19.94 kB / 0.6235 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.1485, allocations: 52.39 kB / 0.6236 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.1485, allocations: 19.98 kB / 0.6236 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001785/0.1487, allocations: 282.7 kB / 0.6239 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 4 kB / 0.6239 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006648/0.1494, allocations: 247.5 kB / 0.6241 GB, free: 4.242 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.0003323/0.1497, allocations: 238.6 kB / 0.6243 GB, free: 4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000804/0.1505, allocations: 0.6392 MB / 0.625 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1505, allocations: 0 / 0.625 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.151, allocations: 0.5007 MB / 0.6254 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.1518, allocations: 251 kB / 0.6257 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.1538, allocations: 1.2 MB / 0.6269 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.1539, allocations: 159.7 kB / 0.627 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002959/0.1542, allocations: 100.6 kB / 0.6271 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.1547, allocations: 266 kB / 0.6274 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.1547, allocations: 0 / 0.6274 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of Templates: time 0.01865/0.1733, allocations: 13.37 MB / 0.6404 GB, free: 3.68 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.174585901666433]