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.001313/0.001313, allocations: 77.09 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.001501/0.001501, allocations: 169 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.9246/0.9246, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.6585/0.6585, allocations: 118.7 MB / 379.7 MB, free: 1.367 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.044e-06/2.044e-06, allocations: 0 / 484.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.693e-05, allocations: 6.25 kB / 484.8 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1272/0.1272, allocations: 128.6 MB / 0.5991 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.1301, allocations: 3.133 MB / 0.6021 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1303, allocations: 31.69 kB / 0.6022 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1307, allocations: 138.7 kB / 0.6023 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006408/0.1314, allocations: 460.9 kB / 0.6027 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.1321, allocations: 0.4903 MB / 0.6032 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.1329, allocations: 1.054 MB / 0.6042 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1331, allocations: 106.2 kB / 0.6043 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1342, allocations: 0.5765 MB / 0.6049 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.1348, allocations: 458.8 kB / 0.6053 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.1349, allocations: 56 kB / 0.6054 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.1356, allocations: 399.2 kB / 0.6058 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1357, allocations: 167.3 kB / 0.6059 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.1359, allocations: 235.4 kB / 0.6062 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1371, allocations: 0.8487 MB / 0.607 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1371, allocations: 0 / 0.607 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1371, allocations: 0 / 0.607 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.1371, allocations: 4 kB / 0.607 GB, free: 7.258 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.001345/0.1384, allocations: 1.095 MB / 0.6081 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1385, allocations: 11.97 kB / 0.6081 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.1387, allocations: 152.3 kB / 0.6082 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.1393, allocations: 494 kB / 0.6087 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.1394, allocations: 144.4 kB / 0.6088 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.1395, allocations: 56.3 kB / 0.6089 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.14, allocations: 495.4 kB / 0.6094 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1401, allocations: 0 / 0.6094 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.1401, allocations: 19.98 kB / 0.6094 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.1401, allocations: 17 kB / 0.6094 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.1405, allocations: 242.7 kB / 0.6096 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.1429, allocations: 1.76 MB / 0.6113 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.1435, allocations: 407 kB / 0.6117 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1437, allocations: 166.3 kB / 0.6119 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/0.1445, allocations: 308.2 kB / 0.6122 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1445, allocations: 37.89 kB / 0.6122 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 2.866e-06/0.1445, allocations: 4 kB / 0.6122 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.001897/0.1464, allocations: 1.129 MB / 0.6133 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1465, allocations: 63.91 kB / 0.6134 GB, free: 484 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1467, allocations: 426.5 kB / 0.6138 GB, free: 44 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.1468, allocations: 37.7 kB / 0.6138 GB, free: 0 / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1469, allocations: 316.1 kB / 0.6141 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1471, allocations: 233.9 kB / 0.6143 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1472, allocations: 127.8 kB / 0.6145 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1473, allocations: 0.5506 MB / 0.615 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1475, allocations: 85.23 kB / 0.6151 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1476, allocations: 192.9 kB / 0.6153 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.148, allocations: 310.1 kB / 0.6156 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.148, allocations: 4 kB / 0.6156 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007017/0.1487, allocations: 0.5314 MB / 0.6161 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1487, allocations: 10.81 kB / 0.6161 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.1487, allocations: 4 kB / 0.6161 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.149, allocations: 99.69 kB / 0.6162 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1492, allocations: 111.8 kB / 0.6163 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.1509, allocations: 2.484 MB / 0.6187 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1511, allocations: 16 kB / 0.6187 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.1512, allocations: 19.98 kB / 0.6188 GB, free: 10.73 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.000176/0.1513, allocations: 192.4 kB / 0.619 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1515, allocations: 95.5 kB / 0.619 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008227/0.1523, allocations: 0.6656 MB / 0.6197 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1523, allocations: 11.92 kB / 0.6197 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1523, allocations: 4 kB / 0.6197 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1523, allocations: 3.984 kB / 0.6197 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.1536, allocations: 1.079 MB / 0.6208 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.1536, allocations: 4 kB / 0.6208 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.1538, allocations: 91.88 kB / 0.6209 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.1541, allocations: 111.7 kB / 0.621 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.1541, allocations: 23.97 kB / 0.621 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.1556, allocations: 2.431 MB / 0.6234 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1556, allocations: 7.922 kB / 0.6234 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.1565, allocations: 0.7955 MB / 0.6241 GB, free: 5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1566, allocations: 115.5 kB / 0.6243 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.1567, allocations: 12 kB / 0.6243 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1568, allocations: 12 kB / 0.6243 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.1569, allocations: 56.39 kB / 0.6243 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.1569, allocations: 19.98 kB / 0.6244 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001467/0.1571, allocations: 282.7 kB / 0.6246 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1571, allocations: 0 / 0.6246 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006006/0.1577, allocations: 251.5 kB / 0.6249 GB, free: 4.266 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.0003177/0.158, allocations: 242.6 kB / 0.6251 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007346/0.1587, allocations: 0.6393 MB / 0.6257 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1587, allocations: 0 / 0.6257 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.1592, allocations: 0.4932 MB / 0.6262 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.1598, allocations: 256.7 kB / 0.6264 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1615, allocations: 1.21 MB / 0.6276 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.1616, allocations: 155.7 kB / 0.6278 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.1619, allocations: 104.6 kB / 0.6279 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.1622, allocations: 262 kB / 0.6281 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of SimCode: time 1.242e-06/0.1622, allocations: 0 / 0.6281 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of Templates: time 0.01673/0.179, allocations: 13.58 MB / 0.6414 GB, free: 3.496 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.187554542906582]