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.001866/0.001866, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002403/0.002403, allocations: 219.4 kB / 23.05 MB, free: 5.074 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.7978/0.7978, allocations: 94.56 MB / 407.8 MB, free: 9.148 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="cs",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.002563/0.002563, allocations: 80.69 kB / 0.5557 GB, free: 38.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1226, allocations: 73.07 MB / 0.6271 GB, free: 440 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4888/0.6113, allocations: 150.1 MB / 0.7737 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.625, allocations: 12.2 MB / 0.7856 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009914/0.6259, allocations: 32.53 kB / 0.7856 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.6271, allocations: 291.5 kB / 0.7859 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.629, allocations: 0.5728 MB / 0.7865 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.6316, allocations: 0.7268 MB / 0.7872 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.6332, allocations: 0.9463 MB / 0.7881 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.6335, allocations: 101.2 kB / 0.7882 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009051/0.6344, allocations: 412.6 kB / 0.7886 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.6352, allocations: 495.7 kB / 0.7891 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.6353, allocations: 54.31 kB / 0.7891 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.6382, allocations: 1.063 MB / 0.7901 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.6384, allocations: 156.2 kB / 0.7903 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005039/0.6389, allocations: 332.8 kB / 0.7906 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.6413, allocations: 1.119 MB / 0.7917 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6413, allocations: 0 / 0.7917 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6413, allocations: 0 / 0.7917 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.6413, allocations: 0 / 0.7917 GB, free: 1.559 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.002128/0.6434, allocations: 1.018 MB / 0.7927 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6434, allocations: 10.66 kB / 0.7927 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.427e-05/0.6435, allocations: 12.5 kB / 0.7927 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.388e-05/0.6436, allocations: 88.42 kB / 0.7928 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.6437, allocations: 75.94 kB / 0.7929 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/0.6445, allocations: 454.8 kB / 0.7933 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.6447, allocations: 155.5 kB / 0.7935 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.6448, allocations: 52.22 kB / 0.7935 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.6458, allocations: 0.655 MB / 0.7942 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.6458, allocations: 6.344 kB / 0.7942 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.6459, allocations: 18.81 kB / 0.7942 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.6459, allocations: 21.11 kB / 0.7942 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.647, allocations: 0.6812 MB / 0.7949 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.6506, allocations: 2.404 MB / 0.7972 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.6517, allocations: 0.5942 MB / 0.7978 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.6523, allocations: 337.1 kB / 0.7981 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.6537, allocations: 308.7 kB / 0.7984 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.6537, allocations: 39.97 kB / 0.7984 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.517e-06/0.6537, allocations: 3.984 kB / 0.7984 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003887/0.6576, allocations: 1.93 MB / 0.8003 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.6577, allocations: 64.5 kB / 0.8004 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6581, allocations: 430.9 kB / 0.8008 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-05/0.6582, allocations: 35.39 kB / 0.8008 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.6584, allocations: 260.6 kB / 0.8011 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6585, allocations: 225.9 kB / 0.8013 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.6587, allocations: 115.5 kB / 0.8014 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6589, allocations: 367.7 kB / 0.8018 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.6594, allocations: 259.9 kB / 0.802 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.6599, allocations: 332.5 kB / 0.8023 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.6608, allocations: 0.6189 MB / 0.8029 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6608, allocations: 0 / 0.8029 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001513/0.6623, allocations: 0.8466 MB / 0.8038 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6624, allocations: 5.438 kB / 0.8038 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.6624, allocations: 7.422 kB / 0.8038 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.6628, allocations: 132.8 kB / 0.8039 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.6633, allocations: 113.4 kB / 0.804 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.6663, allocations: 2.359 MB / 0.8063 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.6668, allocations: 22.91 kB / 0.8063 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/0.6669, allocations: 29.22 kB / 0.8064 GB, free: 12.64 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.0003618/0.6672, allocations: 190.8 kB / 0.8065 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6674, allocations: 64.73 kB / 0.8066 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.6693, allocations: 1.03 MB / 0.8076 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6693, allocations: 5.906 kB / 0.8076 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6693, allocations: 3.594 kB / 0.8076 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.6693, allocations: 12.06 kB / 0.8076 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.6722, allocations: 1.623 MB / 0.8092 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.6722, allocations: 8.125 kB / 0.8092 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.6727, allocations: 97.05 kB / 0.8093 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.6731, allocations: 131.4 kB / 0.8094 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.6731, allocations: 23.88 kB / 0.8095 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.6759, allocations: 2.302 MB / 0.8117 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6759, allocations: 0 / 0.8117 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.6783, allocations: 1.263 MB / 0.8129 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.6784, allocations: 55.91 kB / 0.813 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6786, allocations: 16.7 kB / 0.813 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.6789, allocations: 17.34 kB / 0.813 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.679, allocations: 47.12 kB / 0.8131 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.6791, allocations: 21.97 kB / 0.8131 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004203/0.6795, allocations: 333.5 kB / 0.8134 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6795, allocations: 0 / 0.8134 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00109/0.6806, allocations: 287.3 kB / 0.8137 GB, free: 8.961 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.003227/0.6838, allocations: 2.083 MB / 0.8157 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.6857, allocations: 0.856 MB / 0.8166 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6857, allocations: 0 / 0.8166 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6868, allocations: 0.569 MB / 0.8171 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.688, allocations: 212.6 kB / 0.8173 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.6986, allocations: 5.94 MB / 0.8231 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.6992, allocations: 0.9093 MB / 0.824 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006005/0.6998, allocations: 134.1 kB / 0.8241 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.7002, allocations: 239.6 kB / 0.8244 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of SimCode: time 1.343e-06/0.7002, allocations: 0 / 0.8244 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06254/0.7627, allocations: 20.63 MB / 0.8445 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.95, allocations: 7.922 kB / 0.8445 GB, free: 1.184 MB / 0.6075 GB " [Timeout remaining time 646] (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: 17.756797195994295]