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.001758/0.001758, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002332/0.002332, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7381/0.7381, allocations: 94.62 MB / 407.1 MB, free: 8.879 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 89.94 kB / 0.5549 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1242, allocations: 73.06 MB / 0.6263 GB, free: 192 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.49/0.6142, allocations: 129.1 MB / 0.7524 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.6265, allocations: 11.04 MB / 0.7632 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007084/0.6272, allocations: 32.78 kB / 0.7632 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.6282, allocations: 257.9 kB / 0.7634 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.63, allocations: 0.5565 MB / 0.764 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.6324, allocations: 0.7255 MB / 0.7647 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.6337, allocations: 0.9382 MB / 0.7656 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.6339, allocations: 102.2 kB / 0.7657 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/0.6346, allocations: 411.6 kB / 0.7661 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.6352, allocations: 459.8 kB / 0.7665 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/0.6353, allocations: 56.16 kB / 0.7666 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.6374, allocations: 0.9007 MB / 0.7675 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.6375, allocations: 161.7 kB / 0.7676 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.6379, allocations: 262.1 kB / 0.7679 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.64, allocations: 1.102 MB / 0.7689 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.64, allocations: 1.703 kB / 0.769 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.64, allocations: 0.5312 kB / 0.769 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.64, allocations: 0.9062 kB / 0.769 GB, free: 3.074 MB / 0.5762 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.002448/0.6425, allocations: 1.018 MB / 0.7699 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6425, allocations: 10.47 kB / 0.77 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.413e-05/0.6426, allocations: 85.7 kB / 0.77 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.6428, allocations: 94.77 kB / 0.7701 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.6437, allocations: 453.2 kB / 0.7706 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.6438, allocations: 147.1 kB / 0.7707 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.6439, allocations: 51.55 kB / 0.7707 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.645, allocations: 0.7101 MB / 0.7714 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.645, allocations: 1 kB / 0.7714 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.6451, allocations: 21.73 kB / 0.7715 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.6451, allocations: 18.84 kB / 0.7715 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6463, allocations: 0.6826 MB / 0.7721 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.6496, allocations: 1.977 MB / 0.7741 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.6508, allocations: 0.5898 MB / 0.7747 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.6513, allocations: 330.2 kB / 0.775 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.6528, allocations: 316.9 kB / 0.7753 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.6528, allocations: 39.53 kB / 0.7753 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.755e-06/0.6528, allocations: 2.875 kB / 0.7753 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003886/0.6567, allocations: 1.945 MB / 0.7772 GB, free: 17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.6568, allocations: 64.14 kB / 0.7773 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.6572, allocations: 435.1 kB / 0.7777 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.6572, allocations: 39.39 kB / 0.7777 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.6574, allocations: 254.2 kB / 0.778 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.6575, allocations: 227.8 kB / 0.7782 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6576, allocations: 121 kB / 0.7783 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6578, allocations: 365.4 kB / 0.7786 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.6582, allocations: 257.1 kB / 0.7789 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.6587, allocations: 334.4 kB / 0.7792 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.6596, allocations: 0.6147 MB / 0.7798 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6596, allocations: 1.031 kB / 0.7798 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001409/0.661, allocations: 0.8544 MB / 0.7806 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.661, allocations: 9.656 kB / 0.7807 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.661, allocations: 6.156 kB / 0.7807 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.6614, allocations: 133.3 kB / 0.7808 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.6618, allocations: 112.7 kB / 0.7809 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.6644, allocations: 2.339 MB / 0.7832 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.6648, allocations: 17.73 kB / 0.7832 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.6649, allocations: 30.23 kB / 0.7832 GB, free: 14.56 MB / 0.5919 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.0002763/0.6651, allocations: 191.2 kB / 0.7834 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.6653, allocations: 74.08 kB / 0.7835 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.667, allocations: 1.033 MB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.667, allocations: 7.031 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.667, allocations: 3.438 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.667, allocations: 4.078 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.6693, allocations: 1.547 MB / 0.786 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.6694, allocations: 9.141 kB / 0.786 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.6698, allocations: 94.94 kB / 0.7861 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.6701, allocations: 127.5 kB / 0.7862 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.6701, allocations: 23.97 kB / 0.7863 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.6725, allocations: 2.278 MB / 0.7885 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6725, allocations: 1.094 kB / 0.7885 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.6744, allocations: 1.268 MB / 0.7897 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6745, allocations: 59.84 kB / 0.7898 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.6746, allocations: 13.78 kB / 0.7898 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.6749, allocations: 21.42 kB / 0.7898 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.675, allocations: 51.8 kB / 0.7899 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.6751, allocations: 20.17 kB / 0.7899 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003267/0.6754, allocations: 338 kB / 0.7902 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6754, allocations: 0 / 0.7902 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000971/0.6764, allocations: 289.8 kB / 0.7905 GB, free: 12.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (50): * Single equations (assignments): 47 * 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.002711/0.6791, allocations: 2.09 MB / 0.7925 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.6806, allocations: 0.8583 MB / 0.7934 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6806, allocations: 3.562 kB / 0.7934 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.6815, allocations: 0.5674 MB / 0.7939 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6826, allocations: 208.6 kB / 0.7941 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/0.6908, allocations: 5.946 MB / 0.7999 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.691, allocations: 301.4 kB / 0.8002 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004561/0.6915, allocations: 141.9 kB / 0.8003 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.6918, allocations: 236.5 kB / 0.8006 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.6918, allocations: 0 / 0.8006 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/0.7471, allocations: 21.55 MB / 0.8216 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.67, allocations: 0 / 0.8216 GB, free: 1.586 MB / 0.5919 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.22909888671711]