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.001883/0.001883, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002424/0.002424, allocations: 212 kB / 22.24 MB, free: 4.855 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.805 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.8307/0.8307, allocations: 100.9 MB / 413.3 MB, free: 2.871 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.002582/0.002582, allocations: 84.73 kB / 0.5641 GB, free: 35.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1659, allocations: 74.63 MB / 0.6369 GB, free: 6.477 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5563/0.7222, allocations: 129.1 MB / 0.763 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.7357, allocations: 11.05 MB / 0.7738 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.7366, allocations: 29.69 kB / 0.7738 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.7375, allocations: 267.8 kB / 0.7741 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.7395, allocations: 0.5512 MB / 0.7746 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.742, allocations: 0.7217 MB / 0.7753 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.7433, allocations: 0.9437 MB / 0.7763 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.7436, allocations: 102 kB / 0.7764 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.7443, allocations: 409 kB / 0.7768 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.7451, allocations: 464.9 kB / 0.7772 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.7452, allocations: 54.5 kB / 0.7772 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.7482, allocations: 0.9089 MB / 0.7781 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.7484, allocations: 151.3 kB / 0.7783 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.749, allocations: 265.8 kB / 0.7785 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.7514, allocations: 1.101 MB / 0.7796 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7514, allocations: 0 / 0.7796 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7514, allocations: 0.875 kB / 0.7796 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.7515, allocations: 5.031 kB / 0.7796 GB, free: 2.848 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.002663/0.7541, allocations: 1.02 MB / 0.7806 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/0.7542, allocations: 10.53 kB / 0.7806 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.7543, allocations: 87 kB / 0.7807 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.7547, allocations: 87.17 kB / 0.7808 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.7558, allocations: 455.2 kB / 0.7812 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.756, allocations: 151.6 kB / 0.7814 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.7561, allocations: 48.89 kB / 0.7814 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.7576, allocations: 0.7115 MB / 0.7821 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.7577, allocations: 2.188 kB / 0.7821 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.7577, allocations: 18.09 kB / 0.7821 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-05/0.7578, allocations: 25.98 kB / 0.7822 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.7589, allocations: 0.6777 MB / 0.7828 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.7625, allocations: 1.977 MB / 0.7847 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.7637, allocations: 0.5941 MB / 0.7853 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/0.7643, allocations: 325.1 kB / 0.7856 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.7658, allocations: 310.8 kB / 0.7859 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.7658, allocations: 40.28 kB / 0.786 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.7658, allocations: 1 kB / 0.786 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004176/0.77, allocations: 1.948 MB / 0.7879 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.7701, allocations: 61.06 kB / 0.7879 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.7705, allocations: 432.4 kB / 0.7883 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.7706, allocations: 40.69 kB / 0.7884 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.7708, allocations: 252.6 kB / 0.7886 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.7709, allocations: 230.6 kB / 0.7888 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.7711, allocations: 113.5 kB / 0.789 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.7713, allocations: 372.2 kB / 0.7893 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.7718, allocations: 256 kB / 0.7895 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.7723, allocations: 327.8 kB / 0.7899 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.7732, allocations: 0.6224 MB / 0.7905 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7732, allocations: 0.8125 kB / 0.7905 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001551/0.7747, allocations: 0.8526 MB / 0.7913 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.7748, allocations: 8.281 kB / 0.7913 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7748, allocations: 4.672 kB / 0.7913 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.7752, allocations: 144.9 kB / 0.7915 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.7756, allocations: 105.4 kB / 0.7916 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.7785, allocations: 2.338 MB / 0.7938 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.7789, allocations: 31.12 kB / 0.7939 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.779, allocations: 27.81 kB / 0.7939 GB, free: 14.33 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.0003289/0.7793, allocations: 190.3 kB / 0.7941 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.7795, allocations: 77.8 kB / 0.7941 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.7813, allocations: 1.027 MB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7813, allocations: 9.094 kB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7813, allocations: 2.281 kB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.7813, allocations: 3.516 kB / 0.7952 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.7837, allocations: 1.547 MB / 0.7967 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.7838, allocations: 7.719 kB / 0.7967 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.7842, allocations: 93.66 kB / 0.7968 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/0.7845, allocations: 135 kB / 0.7969 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.7845, allocations: 15.42 kB / 0.7969 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.7871, allocations: 2.291 MB / 0.7992 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7871, allocations: 0 / 0.7992 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.789, allocations: 1.269 MB / 0.8004 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.7891, allocations: 58.45 kB / 0.8005 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.7892, allocations: 10.19 kB / 0.8005 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.7895, allocations: 24.77 kB / 0.8005 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.7896, allocations: 46.94 kB / 0.8005 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.7896, allocations: 18.81 kB / 0.8005 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003215/0.79, allocations: 337.4 kB / 0.8009 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.79, allocations: 0.9062 kB / 0.8009 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008674/0.7908, allocations: 289.1 kB / 0.8011 GB, free: 11.58 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.002895/0.7937, allocations: 2.104 MB / 0.8032 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.7953, allocations: 0.8568 MB / 0.804 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7953, allocations: 0 / 0.804 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008813/0.7962, allocations: 0.5623 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.001052/0.7973, allocations: 211.2 kB / 0.8048 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/0.806, allocations: 5.941 MB / 0.8106 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.8062, allocations: 301.1 kB / 0.8109 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004878/0.8067, allocations: 140.8 kB / 0.811 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.8071, allocations: 238.1 kB / 0.8112 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.8071, allocations: 0 / 0.8112 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.8643, allocations: 21.56 MB / 0.8323 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.51, allocations: 6.359 kB / 0.8323 GB, free: 12.44 MB / 0.6075 GB " [Timeout remaining time 646] (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: 17.17313513578847]