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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 112.1 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 186.7 kB / 20.71 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5818/0.5818, allocations: 94.6 MB / 399 MB, free: 15.77 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 87.86 kB / 0.5442 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3807, allocations: 71.83 MB / 0.6144 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1705/0.5512, allocations: 150.1 MB / 0.7609 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.5646, allocations: 12.19 MB / 0.7728 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.5651, allocations: 19.88 kB / 0.7728 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.566, allocations: 298.1 kB / 0.7731 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.5673, allocations: 0.5632 MB / 0.7737 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.5691, allocations: 0.7159 MB / 0.7744 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.5701, allocations: 0.9415 MB / 0.7753 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.5703, allocations: 105.7 kB / 0.7754 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.5709, allocations: 398.4 kB / 0.7758 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000689/0.5716, allocations: 490.2 kB / 0.7762 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.76e-05/0.5717, allocations: 60 kB / 0.7763 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.5736, allocations: 1.064 MB / 0.7773 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.5738, allocations: 147.4 kB / 0.7775 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.5741, allocations: 322.3 kB / 0.7778 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.5757, allocations: 1.117 MB / 0.7789 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5757, allocations: 0 / 0.7789 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5757, allocations: 3.938 kB / 0.7789 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.5757, allocations: 0 / 0.7789 GB, free: 12.04 MB / 0.6075 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.002066/0.5778, allocations: 1.09 MB / 0.7799 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5778, allocations: 15.97 kB / 0.78 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.5779, allocations: 90.64 kB / 0.78 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.5781, allocations: 68.52 kB / 0.7801 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.5788, allocations: 0.5175 MB / 0.7806 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5789, allocations: 104.3 kB / 0.7807 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.579, allocations: 44 kB / 0.7808 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.58, allocations: 0.6559 MB / 0.7814 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5801, allocations: 0 / 0.7814 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.5801, allocations: 16 kB / 0.7814 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.5801, allocations: 24.98 kB / 0.7814 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5813, allocations: 0.6636 MB / 0.7821 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.5847, allocations: 2.459 MB / 0.7845 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.5859, allocations: 0.5801 MB / 0.7851 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.5865, allocations: 334.2 kB / 0.7854 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/0.5892, allocations: 2.62 MB / 0.7879 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.5892, allocations: 43.12 kB / 0.788 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.524e-06/0.5892, allocations: 0 / 0.788 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.004171/0.5934, allocations: 2.156 MB / 0.7901 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5934, allocations: 55.97 kB / 0.7901 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.5939, allocations: 442 kB / 0.7906 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.594, allocations: 37.7 kB / 0.7906 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.5942, allocations: 253.7 kB / 0.7908 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5944, allocations: 226 kB / 0.791 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.5945, allocations: 110.2 kB / 0.7912 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5947, allocations: 370.8 kB / 0.7915 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.5952, allocations: 257.1 kB / 0.7917 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.5957, allocations: 328.6 kB / 0.7921 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5968, allocations: 0.6142 MB / 0.7927 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5968, allocations: 0 / 0.7927 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00153/0.5983, allocations: 0.8349 MB / 0.7935 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5983, allocations: 4 kB / 0.7935 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.5984, allocations: 7.938 kB / 0.7935 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004237/0.5988, allocations: 138.3 kB / 0.7936 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.5992, allocations: 107.9 kB / 0.7937 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.602, allocations: 2.47 MB / 0.7961 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.6023, allocations: 24.02 kB / 0.7962 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.6024, allocations: 31.97 kB / 0.7962 GB, free: 9.109 MB / 0.6231 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.0002656/0.6026, allocations: 211.6 kB / 0.7964 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6027, allocations: 59.62 kB / 0.7964 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.6046, allocations: 1.017 MB / 0.7974 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6046, allocations: 4 kB / 0.7974 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.6046, allocations: 8 kB / 0.7975 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6046, allocations: 7.922 kB / 0.7975 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.6072, allocations: 1.65 MB / 0.7991 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.6072, allocations: 4 kB / 0.7991 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.6076, allocations: 99.81 kB / 0.7992 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003524/0.608, allocations: 124.7 kB / 0.7993 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.608, allocations: 27.98 kB / 0.7993 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.6107, allocations: 2.408 MB / 0.8017 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6107, allocations: 64 / 0.8017 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.6127, allocations: 1.25 MB / 0.8029 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6129, allocations: 132.7 kB / 0.803 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.6129, allocations: 8 kB / 0.803 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.6132, allocations: 23.98 kB / 0.803 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.6133, allocations: 44.44 kB / 0.8031 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.6134, allocations: 27.97 kB / 0.8031 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003739/0.6137, allocations: 334.9 kB / 0.8034 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6137, allocations: 0 / 0.8034 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007921/0.6145, allocations: 287.4 kB / 0.8037 GB, free: 1.145 MB / 0.6231 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.002874/0.6174, allocations: 2.078 MB / 0.8057 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.619, allocations: 0.8566 MB / 0.8066 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.619, allocations: 384 / 0.8066 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000904/0.6199, allocations: 0.5634 MB / 0.8071 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.6208, allocations: 206.8 kB / 0.8073 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/0.6294, allocations: 5.921 MB / 0.8131 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.6299, allocations: 0.9034 MB / 0.814 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003649/0.6303, allocations: 148.7 kB / 0.8141 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.6306, allocations: 235.3 kB / 0.8144 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.6306, allocations: 0 / 0.8144 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/0.6823, allocations: 20.2 MB / 0.8341 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.95, allocations: 6.406 kB / 0.8341 GB, free: 1.953 MB / 0.6544 GB " [Timeout remaining time 649] (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 --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: 14.053614343996742]