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.001392/0.001392, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001479/0.001479, allocations: 217.5 kB / 22.26 MB, free: 5.082 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.996 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.7426/0.7426, allocations: 94.56 MB / 407 MB, free: 9.215 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.002529/0.002529, allocations: 87.81 kB / 0.5549 GB, free: 38.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1163, allocations: 73.06 MB / 0.6263 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4804/0.5967, allocations: 150.1 MB / 0.7729 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.6088, allocations: 12.2 MB / 0.7848 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007352/0.6096, allocations: 32.16 kB / 0.7849 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008684/0.6104, allocations: 293.9 kB / 0.7851 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.612, allocations: 0.5656 MB / 0.7857 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.6141, allocations: 0.7334 MB / 0.7864 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.6154, allocations: 0.9501 MB / 0.7873 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.6156, allocations: 105.7 kB / 0.7874 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.6163, allocations: 410.4 kB / 0.7878 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.6169, allocations: 485.4 kB / 0.7883 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/0.617, allocations: 53.69 kB / 0.7883 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.6192, allocations: 1.077 MB / 0.7894 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.6194, allocations: 154.7 kB / 0.7895 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.6197, allocations: 325.3 kB / 0.7898 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.6214, allocations: 1.122 MB / 0.7909 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6214, allocations: 2.344 kB / 0.7909 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6214, allocations: 1.094 kB / 0.7909 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6214, allocations: 0 / 0.7909 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.001914/0.6233, allocations: 1.016 MB / 0.7919 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6233, allocations: 10.62 kB / 0.7919 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.827e-05/0.6234, allocations: 91.36 kB / 0.792 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6235, allocations: 74.88 kB / 0.7921 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.6242, allocations: 444.2 kB / 0.7925 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.6244, allocations: 154.4 kB / 0.7927 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.6244, allocations: 55.5 kB / 0.7927 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.6254, allocations: 0.6581 MB / 0.7934 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.6254, allocations: 0 / 0.7934 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.6254, allocations: 18.56 kB / 0.7934 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.6254, allocations: 23.17 kB / 0.7934 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009671/0.6264, allocations: 0.6844 MB / 0.7941 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.6296, allocations: 2.398 MB / 0.7964 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6306, allocations: 0.5912 MB / 0.797 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.6312, allocations: 334.3 kB / 0.7973 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.6326, allocations: 320.2 kB / 0.7976 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.6326, allocations: 38 kB / 0.7977 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.6326, allocations: 4 kB / 0.7977 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003551/0.6362, allocations: 1.933 MB / 0.7996 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6362, allocations: 56.97 kB / 0.7996 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.6366, allocations: 432.6 kB / 0.8 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.6367, allocations: 43.83 kB / 0.8001 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6368, allocations: 255.9 kB / 0.8003 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.6369, allocations: 230.6 kB / 0.8005 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.6371, allocations: 109.3 kB / 0.8006 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6372, allocations: 372.3 kB / 0.801 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.6376, allocations: 253.6 kB / 0.8012 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.6381, allocations: 335.6 kB / 0.8015 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.639, allocations: 0.6169 MB / 0.8021 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.639, allocations: 0 / 0.8021 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001409/0.6404, allocations: 0.8488 MB / 0.803 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6404, allocations: 7.844 kB / 0.803 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.6404, allocations: 5.094 kB / 0.803 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/0.6408, allocations: 136.4 kB / 0.8031 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6413, allocations: 109.6 kB / 0.8032 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.6441, allocations: 2.362 MB / 0.8055 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.6445, allocations: 24.34 kB / 0.8056 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.6445, allocations: 26.67 kB / 0.8056 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.0003276/0.6449, allocations: 189.2 kB / 0.8058 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.645, allocations: 62.67 kB / 0.8058 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.6467, allocations: 1.036 MB / 0.8068 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6467, allocations: 5.562 kB / 0.8068 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6467, allocations: 2.812 kB / 0.8068 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6467, allocations: 5.109 kB / 0.8068 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.6494, allocations: 1.632 MB / 0.8084 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.6494, allocations: 2.219 kB / 0.8084 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.6499, allocations: 95.55 kB / 0.8085 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.6502, allocations: 135.9 kB / 0.8087 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.6503, allocations: 18.44 kB / 0.8087 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.6529, allocations: 2.305 MB / 0.8109 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6529, allocations: 0 / 0.8109 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.6551, allocations: 1.259 MB / 0.8122 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.6552, allocations: 56.31 kB / 0.8122 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.6553, allocations: 16.52 kB / 0.8122 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.6557, allocations: 22.23 kB / 0.8122 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.6557, allocations: 45.78 kB / 0.8123 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.6558, allocations: 21.89 kB / 0.8123 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003714/0.6562, allocations: 335.7 kB / 0.8126 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6562, allocations: 2.25 kB / 0.8126 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009089/0.6571, allocations: 290.9 kB / 0.8129 GB, free: 8.965 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.002881/0.6599, allocations: 2.075 MB / 0.8149 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.6616, allocations: 0.8647 MB / 0.8158 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6616, allocations: 0 / 0.8158 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.6625, allocations: 0.5641 MB / 0.8163 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6635, allocations: 207.2 kB / 0.8165 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.6721, allocations: 5.936 MB / 0.8223 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.6726, allocations: 0.9095 MB / 0.8232 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004377/0.6731, allocations: 142.5 kB / 0.8234 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.6734, allocations: 235.1 kB / 0.8236 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.6734, allocations: 2.344 kB / 0.8236 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05767/0.7311, allocations: 20.6 MB / 0.8437 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.62, allocations: 64 / 0.8437 GB, free: 1.234 MB / 0.6075 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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv --start-time 0 --stop-time 30 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv","/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] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.182004672999028]