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.001718/0.001718, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002355/0.002355, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.8192/0.8192, allocations: 100.3 MB / 413.5 MB, free: 3.406 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_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.002412/0.002412, allocations: 87.67 kB / 0.564 GB, free: 35.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1256, allocations: 74.47 MB / 0.6367 GB, free: 7.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5264/0.652, allocations: 129 MB / 0.7627 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.6659, allocations: 11.03 MB / 0.7735 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.6669, allocations: 31.44 kB / 0.7735 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.6681, allocations: 263.7 kB / 0.7738 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.6704, allocations: 0.5606 MB / 0.7743 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.6735, allocations: 0.7117 MB / 0.775 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.6754, allocations: 0.9498 MB / 0.7759 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.6758, allocations: 104.3 kB / 0.776 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6769, allocations: 409.2 kB / 0.7764 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.6779, allocations: 490.5 kB / 0.7769 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.6781, allocations: 53.97 kB / 0.7769 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.6807, allocations: 0.917 MB / 0.7778 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.681, allocations: 155.3 kB / 0.778 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.6815, allocations: 269.2 kB / 0.7782 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.6843, allocations: 1.105 MB / 0.7793 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6843, allocations: 0 / 0.7793 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6843, allocations: 2.094 kB / 0.7793 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.6844, allocations: 1.203 kB / 0.7793 GB, free: 2.879 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.00258/0.6869, allocations: 1.019 MB / 0.7803 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.687, allocations: 11.61 kB / 0.7803 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.062e-05/0.687, allocations: 11.84 kB / 0.7803 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.6871, allocations: 83.38 kB / 0.7804 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.6874, allocations: 91.19 kB / 0.7805 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.6882, allocations: 455 kB / 0.7809 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.6884, allocations: 149.3 kB / 0.7811 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.6885, allocations: 50.67 kB / 0.7811 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6897, allocations: 0.7087 MB / 0.7818 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.6897, allocations: 3.188 kB / 0.7818 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.6898, allocations: 19.95 kB / 0.7818 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.6898, allocations: 25.83 kB / 0.7819 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.6911, allocations: 0.681 MB / 0.7825 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.6946, allocations: 1.983 MB / 0.7845 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6958, allocations: 0.5944 MB / 0.7851 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.6964, allocations: 330 kB / 0.7854 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.6979, allocations: 307.3 kB / 0.7857 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6979, allocations: 43.05 kB / 0.7857 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.606e-06/0.6979, allocations: 0.625 kB / 0.7857 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004159/0.7021, allocations: 1.946 MB / 0.7876 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7022, allocations: 59.91 kB / 0.7877 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.7027, allocations: 433.3 kB / 0.7881 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.7027, allocations: 42.27 kB / 0.7881 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.7029, allocations: 252.4 kB / 0.7884 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.703, allocations: 232.1 kB / 0.7886 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.7032, allocations: 109.2 kB / 0.7887 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.7034, allocations: 376.8 kB / 0.789 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.7038, allocations: 252.3 kB / 0.7893 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.7043, allocations: 332.2 kB / 0.7896 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.7052, allocations: 0.6149 MB / 0.7902 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7052, allocations: 6.562 kB / 0.7902 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00153/0.7067, allocations: 0.856 MB / 0.791 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7067, allocations: 5.469 kB / 0.791 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.7068, allocations: 5.844 kB / 0.7911 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.7072, allocations: 137.2 kB / 0.7912 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.7077, allocations: 112.6 kB / 0.7913 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.7104, allocations: 2.335 MB / 0.7936 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.7109, allocations: 20.92 kB / 0.7936 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.711, allocations: 28.14 kB / 0.7936 GB, free: 14.35 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.00032/0.7113, allocations: 191 kB / 0.7938 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.7115, allocations: 71.45 kB / 0.7939 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.7134, allocations: 1.036 MB / 0.7949 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.7134, allocations: 5.906 kB / 0.7949 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7134, allocations: 3.625 kB / 0.7949 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.7134, allocations: 3.359 kB / 0.7949 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.7159, allocations: 1.545 MB / 0.7964 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.7159, allocations: 3.281 kB / 0.7964 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.7164, allocations: 94.09 kB / 0.7965 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/0.7167, allocations: 141.7 kB / 0.7966 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.7168, allocations: 19.83 kB / 0.7966 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.7194, allocations: 2.274 MB / 0.7989 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7194, allocations: 2.953 kB / 0.7989 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.7216, allocations: 1.269 MB / 0.8001 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.7218, allocations: 55.94 kB / 0.8002 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.752e-05/0.7219, allocations: 18.06 kB / 0.8002 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.7223, allocations: 24.73 kB / 0.8002 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7224, allocations: 51.95 kB / 0.8003 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.7224, allocations: 18.36 kB / 0.8003 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003828/0.7228, allocations: 338.6 kB / 0.8006 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7228, allocations: 1.062 kB / 0.8006 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001041/0.7239, allocations: 286.1 kB / 0.8009 GB, free: 11.89 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.003114/0.727, allocations: 2.099 MB / 0.8029 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.7288, allocations: 0.8638 MB / 0.8038 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7288, allocations: 0.875 kB / 0.8038 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.7298, allocations: 0.5663 MB / 0.8043 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.731, allocations: 206.5 kB / 0.8045 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009577/0.7406, allocations: 5.943 MB / 0.8103 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.7408, allocations: 305.5 kB / 0.8106 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005195/0.7414, allocations: 143.2 kB / 0.8107 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.7417, allocations: 233.1 kB / 0.811 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.7417, allocations: 0 / 0.811 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/0.7961, allocations: 21.29 MB / 0.8318 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.61, allocations: 7.688 kB / 0.8318 GB, free: 13.29 MB / 0.6075 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.407177933026105]