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.001121/0.001121, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001069/0.001069, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9578/0.9578, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7178/0.7178, allocations: 118.6 MB / 379.7 MB, free: 1.332 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 4.31e-05/4.31e-05, allocations: 3.938 kB / 484.8 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/5.577e-05, allocations: 6.312 kB / 484.8 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1118/0.1118, allocations: 128.6 MB / 0.5991 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1149, allocations: 3.117 MB / 0.6021 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.1152, allocations: 31.69 kB / 0.6022 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.1156, allocations: 146.7 kB / 0.6023 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.1162, allocations: 456.9 kB / 0.6027 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.1171, allocations: 0.4981 MB / 0.6032 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007764/0.1179, allocations: 1.054 MB / 0.6042 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.1181, allocations: 102.3 kB / 0.6043 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.1186, allocations: 0.5843 MB / 0.6049 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.1193, allocations: 454.8 kB / 0.6054 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.1194, allocations: 52 kB / 0.6054 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.1198, allocations: 403.2 kB / 0.6058 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.12, allocations: 167.3 kB / 0.6059 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1201, allocations: 243.4 kB / 0.6062 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.1209, allocations: 0.8448 MB / 0.607 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1209, allocations: 0 / 0.607 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1209, allocations: 0 / 0.607 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1209, allocations: 0 / 0.607 GB, free: 7.215 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.001116/0.122, allocations: 1.098 MB / 0.6081 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1221, allocations: 8.031 kB / 0.6081 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.1222, allocations: 140.4 kB / 0.6082 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.1227, allocations: 0.498 MB / 0.6087 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/0.1228, allocations: 144.4 kB / 0.6088 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.1229, allocations: 48.38 kB / 0.6089 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.1233, allocations: 487.4 kB / 0.6094 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1234, allocations: 0 / 0.6094 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.1234, allocations: 19.98 kB / 0.6094 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.1234, allocations: 28.92 kB / 0.6094 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1237, allocations: 238.8 kB / 0.6096 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1254, allocations: 1.763 MB / 0.6113 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.1259, allocations: 395.1 kB / 0.6117 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.1261, allocations: 162.4 kB / 0.6119 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/0.127, allocations: 312.2 kB / 0.6122 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1271, allocations: 45.83 kB / 0.6122 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 1.703e-06/0.1271, allocations: 0 / 0.6122 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.001535/0.1286, allocations: 1.129 MB / 0.6133 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.1286, allocations: 59.91 kB / 0.6134 GB, free: 448 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1288, allocations: 426.5 kB / 0.6138 GB, free: 8 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.1289, allocations: 33.7 kB / 0.6138 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.129, allocations: 312.1 kB / 0.6141 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.1291, allocations: 245.8 kB / 0.6144 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1292, allocations: 123.9 kB / 0.6145 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1294, allocations: 0.5468 MB / 0.615 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1295, allocations: 93.23 kB / 0.6151 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1297, allocations: 188.9 kB / 0.6153 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.13, allocations: 314.1 kB / 0.6156 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.13, allocations: 0 / 0.6156 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006155/0.1306, allocations: 0.5274 MB / 0.6161 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1306, allocations: 14.84 kB / 0.6161 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1306, allocations: 4 kB / 0.6161 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.1308, allocations: 106.7 kB / 0.6162 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1311, allocations: 107.8 kB / 0.6163 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.1325, allocations: 2.47 MB / 0.6187 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1326, allocations: 16 kB / 0.6187 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.1326, allocations: 23.92 kB / 0.6188 GB, free: 10.7 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.0001384/0.1328, allocations: 184.5 kB / 0.6189 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.1329, allocations: 103.5 kB / 0.619 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1339, allocations: 0.6655 MB / 0.6197 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1339, allocations: 7.938 kB / 0.6197 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1339, allocations: 4 kB / 0.6197 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1339, allocations: 3.984 kB / 0.6197 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.135, allocations: 1.079 MB / 0.6208 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.135, allocations: 4 kB / 0.6208 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.1352, allocations: 91.88 kB / 0.6208 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.1354, allocations: 115.2 kB / 0.621 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.1355, allocations: 19.98 kB / 0.621 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.1367, allocations: 2.45 MB / 0.6234 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1367, allocations: 3.984 kB / 0.6234 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.1375, allocations: 0.7916 MB / 0.6241 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1376, allocations: 107.5 kB / 0.6242 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.1377, allocations: 15.98 kB / 0.6243 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1378, allocations: 12 kB / 0.6243 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1379, allocations: 52.41 kB / 0.6243 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.1379, allocations: 19.98 kB / 0.6243 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001326/0.138, allocations: 290.7 kB / 0.6246 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.138, allocations: 0 / 0.6246 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004408/0.1385, allocations: 251.5 kB / 0.6249 GB, free: 4.227 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.0002589/0.1387, allocations: 234.5 kB / 0.6251 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.1393, allocations: 0.6391 MB / 0.6257 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1393, allocations: 0 / 0.6257 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.14, allocations: 0.5012 MB / 0.6262 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.1406, allocations: 251.1 kB / 0.6264 GB, free: 2.547 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1421, allocations: 1.208 MB / 0.6276 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.915e-05/0.1422, allocations: 151.7 kB / 0.6278 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.1424, allocations: 108.6 kB / 0.6279 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.1427, allocations: 262 kB / 0.6281 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of SimCode: time 8.31e-07/0.1427, allocations: 0 / 0.6281 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of Templates: time 0.0145/0.1572, allocations: 13.58 MB / 0.6414 GB, free: 3.48 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.3172160452231765]