Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008736/0.0008737, allocations: 175.8 kB / 15.45 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205 MB / 221.2 MB, free: 1.832 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006722/0.0006722, allocations: 90.25 kB / 269.2 MB, free: 1.773 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4657/0.4657, allocations: 90.53 MB / 407.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002493, allocations: 11.98 kB / 484.3 MB, free: 3.469 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08931, allocations: 65.81 MB / 0.5372 GB, free: 1.586 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2909/0.3802, allocations: 145.7 MB / 0.6795 GB, free: 6.383 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3909, allocations: 11.89 MB / 0.6911 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.3912, allocations: 7.938 kB / 0.6911 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.3919, allocations: 254.7 kB / 0.6914 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.3928, allocations: 0.4935 MB / 0.6918 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.3941, allocations: 0.6228 MB / 0.6925 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008308/0.3949, allocations: 1.109 MB / 0.6935 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3951, allocations: 143.7 kB / 0.6937 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.3955, allocations: 310.8 kB / 0.694 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.3959, allocations: 450.4 kB / 0.6944 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.396, allocations: 24 kB / 0.6944 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.3975, allocations: 1.064 MB / 0.6955 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3976, allocations: 111.5 kB / 0.6956 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3978, allocations: 278.5 kB / 0.6958 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3988, allocations: 1.02 MB / 0.6968 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3989, allocations: 0 / 0.6968 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3989, allocations: 0 / 0.6968 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3989, allocations: 0 / 0.6968 GB, free: 4.586 MB / 0.4948 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.001451/0.4003, allocations: 0.9127 MB / 0.6977 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.4004, allocations: 11.97 kB / 0.6977 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.458e-05/0.4005, allocations: 90.08 kB / 0.6978 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4006, allocations: 64.19 kB / 0.6979 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.401, allocations: 399.6 kB / 0.6983 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/0.4011, allocations: 88.95 kB / 0.6983 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.4012, allocations: 44.38 kB / 0.6984 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000923/0.4021, allocations: 0.6589 MB / 0.699 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4021, allocations: 0 / 0.699 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.4022, allocations: 19.98 kB / 0.6991 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.4022, allocations: 24.98 kB / 0.6991 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4032, allocations: 0.6831 MB / 0.6997 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.4063, allocations: 2.748 MB / 0.7024 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.4075, allocations: 0.7191 MB / 0.7031 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.4081, allocations: 414.2 kB / 0.7035 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/0.4101, allocations: 2.624 MB / 0.7061 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4101, allocations: 43.12 kB / 0.7061 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 1.864e-06/0.4101, allocations: 4 kB / 0.7061 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66): time 0.003691/0.4138, allocations: 2.339 MB / 0.7084 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.4139, allocations: 67.89 kB / 0.7085 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4141, allocations: 313.7 kB / 0.7088 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.4142, allocations: 33.7 kB / 0.7088 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4143, allocations: 221.2 kB / 0.709 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.4144, allocations: 220.8 kB / 0.7092 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.4145, allocations: 12 kB / 0.7092 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4146, allocations: 354.8 kB / 0.7096 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.4151, allocations: 297 kB / 0.7099 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.4156, allocations: 362.8 kB / 0.7102 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.4166, allocations: 0.6867 MB / 0.7109 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4166, allocations: 0 / 0.7109 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001423/0.418, allocations: 0.9011 MB / 0.7118 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.418, allocations: 8 kB / 0.7118 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.418, allocations: 4 kB / 0.7118 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.4184, allocations: 128.8 kB / 0.7119 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.4188, allocations: 115.8 kB / 0.712 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.421, allocations: 2.25 MB / 0.7142 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.4213, allocations: 27.92 kB / 0.7142 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.4214, allocations: 23.98 kB / 0.7143 GB, free: 1.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001986/0.4216, allocations: 201.6 kB / 0.7144 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.4217, allocations: 47.44 kB / 0.7145 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.4234, allocations: 1.063 MB / 0.7155 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4234, allocations: 8 kB / 0.7155 GB, free: 168 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4234, allocations: 3.984 kB / 0.7155 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4234, allocations: 0 / 0.7155 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.4259, allocations: 1.864 MB / 0.7174 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.426, allocations: 4 kB / 0.7174 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.4264, allocations: 115.8 kB / 0.7175 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003196/0.4267, allocations: 140.5 kB / 0.7176 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.4268, allocations: 19.98 kB / 0.7176 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.4288, allocations: 2.179 MB / 0.7198 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4288, allocations: 0 / 0.7198 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.4308, allocations: 1.474 MB / 0.7212 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.4309, allocations: 124.4 kB / 0.7213 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.431, allocations: 16 kB / 0.7213 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.4313, allocations: 31.98 kB / 0.7214 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.4314, allocations: 52.67 kB / 0.7214 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.4314, allocations: 28.84 kB / 0.7214 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001744/0.4316, allocations: 219.2 kB / 0.7216 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4316, allocations: 0 / 0.7216 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006792/0.4323, allocations: 288 kB / 0.7219 GB, free: 9.387 MB / 0.5261 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00266/0.435, allocations: 2.297 MB / 0.7242 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.4365, allocations: 1.024 MB / 0.7252 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4365, allocations: 0 / 0.7252 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.4374, allocations: 0.6984 MB / 0.7258 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.4381, allocations: 149.8 kB / 0.726 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.4449, allocations: 5.802 MB / 0.7317 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.4453, allocations: 0.8877 MB / 0.7325 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003679/0.4457, allocations: 132.2 kB / 0.7326 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.446, allocations: 211.3 kB / 0.7328 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.446, allocations: 0 / 0.7328 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7411/1.187, allocations: 17.74 MB / 0.7502 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.187, allocations: 229.3 kB / 0.7504 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.517, allocations: 3.938 kB / 0.7504 GB, free: 12.09 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches