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.001685/0.001685, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002321/0.002321, allocations: 204.8 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.789 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.8848/0.8848, allocations: 94.63 MB / 407.1 MB, free: 8.918 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.00254/0.00254, allocations: 84.19 kB / 0.5549 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1518, allocations: 73.04 MB / 0.6263 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.6755/0.8273, allocations: 129.1 MB / 0.7524 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.8412, allocations: 11.04 MB / 0.7632 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008324/0.842, allocations: 32.03 kB / 0.7632 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.8431, allocations: 261.7 kB / 0.7634 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.8451, allocations: 0.5579 MB / 0.764 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.8475, allocations: 0.7224 MB / 0.7647 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.8487, allocations: 0.9429 MB / 0.7656 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.849, allocations: 104.8 kB / 0.7657 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006099/0.8496, allocations: 407.7 kB / 0.7661 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.8503, allocations: 458.8 kB / 0.7665 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.8504, allocations: 56.84 kB / 0.7666 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.8527, allocations: 0.907 MB / 0.7675 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.8529, allocations: 149 kB / 0.7676 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004582/0.8534, allocations: 269.3 kB / 0.7679 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.8559, allocations: 1.103 MB / 0.769 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8559, allocations: 0.5 kB / 0.769 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8559, allocations: 1.5 kB / 0.769 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.856, allocations: 0 / 0.769 GB, free: 3.066 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.002655/0.8586, allocations: 1.014 MB / 0.7699 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.8587, allocations: 11.09 kB / 0.77 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.8588, allocations: 90.19 kB / 0.77 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.859, allocations: 90.27 kB / 0.7701 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.8599, allocations: 449.8 kB / 0.7706 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.8601, allocations: 146.4 kB / 0.7707 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.8602, allocations: 53.77 kB / 0.7707 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8614, allocations: 0.7154 MB / 0.7714 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8614, allocations: 0 / 0.7714 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.8615, allocations: 17.91 kB / 0.7715 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.8615, allocations: 22.97 kB / 0.7715 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.8629, allocations: 0.6777 MB / 0.7721 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.8668, allocations: 1.982 MB / 0.7741 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.868, allocations: 0.5883 MB / 0.7747 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.8685, allocations: 327.8 kB / 0.775 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.87, allocations: 314 kB / 0.7753 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.8701, allocations: 43.33 kB / 0.7753 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.036e-06/0.8701, allocations: 0 / 0.7753 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004178/0.8742, allocations: 1.945 MB / 0.7772 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.8743, allocations: 60.47 kB / 0.7773 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.8748, allocations: 437.9 kB / 0.7777 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/0.8748, allocations: 38.61 kB / 0.7777 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.875, allocations: 247.6 kB / 0.778 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.8752, allocations: 232.6 kB / 0.7782 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.8753, allocations: 117.7 kB / 0.7783 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.8755, allocations: 372 kB / 0.7786 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.876, allocations: 258 kB / 0.7789 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.8764, allocations: 335.7 kB / 0.7792 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.8773, allocations: 0.6181 MB / 0.7798 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8773, allocations: 1.156 kB / 0.7798 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001486/0.8788, allocations: 0.8519 MB / 0.7806 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8788, allocations: 4.906 kB / 0.7807 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.8789, allocations: 4.656 kB / 0.7807 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/0.8793, allocations: 133.9 kB / 0.7808 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.8797, allocations: 114.5 kB / 0.7809 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.8825, allocations: 2.339 MB / 0.7832 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.8829, allocations: 20 kB / 0.7832 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.883, allocations: 29.5 kB / 0.7832 GB, free: 14.55 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.0003491/0.8833, allocations: 191.1 kB / 0.7834 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.8836, allocations: 76.41 kB / 0.7835 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.8853, allocations: 1.029 MB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.8853, allocations: 8.188 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8853, allocations: 3.391 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8853, allocations: 6.781 kB / 0.7845 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.8879, allocations: 1.541 MB / 0.786 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.8879, allocations: 10.72 kB / 0.786 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.8883, allocations: 94.3 kB / 0.7861 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/0.8886, allocations: 127.5 kB / 0.7862 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.8887, allocations: 19.7 kB / 0.7862 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.8913, allocations: 2.281 MB / 0.7885 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8913, allocations: 5.281 kB / 0.7885 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.8934, allocations: 1.27 MB / 0.7897 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.8935, allocations: 55.97 kB / 0.7898 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.8936, allocations: 21.59 kB / 0.7898 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.894, allocations: 18.39 kB / 0.7898 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.8941, allocations: 46.44 kB / 0.7899 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.8941, allocations: 22.56 kB / 0.7899 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004102/0.8945, allocations: 337.4 kB / 0.7902 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8945, allocations: 0.9062 kB / 0.7902 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001066/0.8956, allocations: 286 kB / 0.7905 GB, free: 12.2 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.002947/0.8985, allocations: 2.096 MB / 0.7925 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.9003, allocations: 0.86 MB / 0.7934 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9003, allocations: 1.828 kB / 0.7934 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.9012, allocations: 0.568 MB / 0.7939 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.9023, allocations: 203.5 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.009392/0.9117, allocations: 5.95 MB / 0.7999 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.9121, allocations: 305.9 kB / 0.8002 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005404/0.9126, allocations: 141 kB / 0.8003 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.9129, allocations: 234.2 kB / 0.8006 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/0.9129, allocations: 0.9688 kB / 0.8006 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06542/0.9783, allocations: 21.54 MB / 0.8216 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.75, allocations: 18.17 kB / 0.8216 GB, free: 1.566 MB / 0.5919 GB " [Timeout remaining time 644] (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: 19.9805218023248]