Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001842/0.001842, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002521/0.002521, allocations: 216.2 kB / 22.24 MB, free: 5.094 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8022/0.8022, allocations: 100.9 MB / 413.3 MB, free: 2.902 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_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.002559/0.002559, allocations: 96.27 kB / 0.5641 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1458, allocations: 74.61 MB / 0.6369 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5541/0.6999, allocations: 129.1 MB / 0.763 GB, free: 3.16 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.7142, allocations: 11.04 MB / 0.7738 GB, free: 3.023 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.7155, allocations: 31.88 kB / 0.7738 GB, free: 3.023 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.7167, allocations: 264 kB / 0.7741 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.7188, allocations: 0.5542 MB / 0.7746 GB, free: 3 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.7215, allocations: 0.7206 MB / 0.7753 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.723, allocations: 0.9461 MB / 0.7763 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.7233, allocations: 101.8 kB / 0.7764 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.7241, allocations: 406.2 kB / 0.7768 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006969/0.7248, allocations: 463 kB / 0.7772 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.795e-05/0.7249, allocations: 55.38 kB / 0.7772 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.7273, allocations: 0.9054 MB / 0.7781 GB, free: 2.938 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.7274, allocations: 154.7 kB / 0.7783 GB, free: 2.938 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.7278, allocations: 266.2 kB / 0.7785 GB, free: 2.938 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.7297, allocations: 1.102 MB / 0.7796 GB, free: 2.855 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7298, allocations: 0 / 0.7796 GB, free: 2.855 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7298, allocations: 0.9062 kB / 0.7796 GB, free: 2.855 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.7298, allocations: 0 / 0.7796 GB, free: 2.855 MB / 0.5763 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.002093/0.7319, allocations: 1.019 MB / 0.7806 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7319, allocations: 11.94 kB / 0.7806 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.732, allocations: 88.84 kB / 0.7807 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.7322, allocations: 87.8 kB / 0.7808 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.733, allocations: 452.3 kB / 0.7812 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.7331, allocations: 151 kB / 0.7814 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.7332, allocations: 49.3 kB / 0.7814 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.7343, allocations: 0.7104 MB / 0.7821 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.7343, allocations: 0 / 0.7821 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.7344, allocations: 19.06 kB / 0.7821 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.7344, allocations: 27.28 kB / 0.7821 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.7355, allocations: 0.6794 MB / 0.7828 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.7387, allocations: 1.978 MB / 0.7847 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.7398, allocations: 0.595 MB / 0.7853 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.7403, allocations: 328.3 kB / 0.7856 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.7417, allocations: 312.6 kB / 0.7859 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.7418, allocations: 39.16 kB / 0.786 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.935e-06/0.7418, allocations: 1.203 kB / 0.786 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003893/0.7457, allocations: 1.95 MB / 0.7879 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.7457, allocations: 61.41 kB / 0.7879 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.7462, allocations: 433.1 kB / 0.7883 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.7462, allocations: 39.17 kB / 0.7884 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.7464, allocations: 252.1 kB / 0.7886 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.7465, allocations: 228.8 kB / 0.7888 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.7466, allocations: 110.7 kB / 0.7889 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.7468, allocations: 372 kB / 0.7893 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.7472, allocations: 256.3 kB / 0.7895 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.7477, allocations: 329.6 kB / 0.7899 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.7487, allocations: 0.6234 MB / 0.7905 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7487, allocations: 3.719 kB / 0.7905 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001451/0.7501, allocations: 0.8533 MB / 0.7913 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7501, allocations: 7.438 kB / 0.7913 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.7501, allocations: 5.344 kB / 0.7913 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.7505, allocations: 141.3 kB / 0.7915 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.751, allocations: 110.5 kB / 0.7916 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.7536, allocations: 2.33 MB / 0.7938 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.754, allocations: 25.27 kB / 0.7939 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.754, allocations: 22.7 kB / 0.7939 GB, free: 14.34 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.000294/0.7543, allocations: 191.1 kB / 0.7941 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7545, allocations: 77.88 kB / 0.7941 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.7562, allocations: 1.037 MB / 0.7951 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7562, allocations: 7.562 kB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7562, allocations: 4.094 kB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.7562, allocations: 4.156 kB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.7586, allocations: 1.544 MB / 0.7967 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.7586, allocations: 6.812 kB / 0.7967 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/0.759, allocations: 92.09 kB / 0.7968 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/0.7594, allocations: 144.5 kB / 0.7969 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.7594, allocations: 19.81 kB / 0.7969 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.7619, allocations: 2.277 MB / 0.7991 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7619, allocations: 1 kB / 0.7991 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.7639, allocations: 1.269 MB / 0.8004 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.764, allocations: 59.7 kB / 0.8004 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.7641, allocations: 10.72 kB / 0.8005 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.7644, allocations: 19.64 kB / 0.8005 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.7645, allocations: 48.72 kB / 0.8005 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.7645, allocations: 25.12 kB / 0.8005 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003328/0.7649, allocations: 338.4 kB / 0.8009 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7649, allocations: 0 / 0.8009 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009089/0.7658, allocations: 289.5 kB / 0.8011 GB, free: 11.59 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.002936/0.7687, allocations: 2.101 MB / 0.8032 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.7704, allocations: 0.859 MB / 0.804 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7704, allocations: 0 / 0.804 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/0.7713, allocations: 0.5656 MB / 0.8046 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.7724, allocations: 207.1 kB / 0.8048 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/0.7812, allocations: 5.943 MB / 0.8106 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.7815, allocations: 305.8 kB / 0.8109 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000504/0.782, allocations: 146.5 kB / 0.811 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.7823, allocations: 234.8 kB / 0.8112 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/0.7823, allocations: 0 / 0.8112 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.8415, allocations: 21.56 MB / 0.8323 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.34, allocations: 10.23 kB / 0.8323 GB, free: 12.42 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.Processes.Tests.Turbine_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.205011261627078]