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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 183.2 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7484/0.7484, allocations: 93.69 MB / 384.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 83.88 kB / 0.5199 GB, free: 6.355 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1275, allocations: 68.26 MB / 0.5866 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4164/0.5439, allocations: 149.4 MB / 0.7324 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.5597, allocations: 12.04 MB / 0.7442 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/0.5605, allocations: 19.88 kB / 0.7442 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5616, allocations: 290.1 kB / 0.7445 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.5635, allocations: 0.5593 MB / 0.745 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.5658, allocations: 0.7121 MB / 0.7457 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5674, allocations: 0.9414 MB / 0.7467 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.5678, allocations: 173.7 kB / 0.7468 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008586/0.5686, allocations: 386.4 kB / 0.7472 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000879/0.5695, allocations: 474.2 kB / 0.7476 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.5697, allocations: 52 kB / 0.7477 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.5722, allocations: 1.053 MB / 0.7487 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.5725, allocations: 151.4 kB / 0.7489 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.573, allocations: 334.3 kB / 0.7492 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.5755, allocations: 1.109 MB / 0.7503 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5755, allocations: 0 / 0.7503 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5755, allocations: 3.938 kB / 0.7503 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.547e-05/0.5755, allocations: 0 / 0.7503 GB, free: 11.14 MB / 0.5919 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.002552/0.5781, allocations: 1.097 MB / 0.7513 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5781, allocations: 12.03 kB / 0.7514 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.5783, allocations: 90.7 kB / 0.7514 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.5785, allocations: 72.52 kB / 0.7515 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.5793, allocations: 0.5136 MB / 0.752 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.5794, allocations: 96.33 kB / 0.7521 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-05/0.5795, allocations: 44 kB / 0.7521 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.5808, allocations: 0.6653 MB / 0.7528 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5808, allocations: 0 / 0.7528 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.5809, allocations: 23.98 kB / 0.7528 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.5809, allocations: 24.98 kB / 0.7528 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.5822, allocations: 0.6643 MB / 0.7535 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.5862, allocations: 2.456 MB / 0.7559 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.5876, allocations: 0.6191 MB / 0.7565 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.5883, allocations: 366.2 kB / 0.7568 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.5911, allocations: 2.612 MB / 0.7594 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.5911, allocations: 40 kB / 0.7594 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.675e-06/0.5912, allocations: 0 / 0.7594 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004695/0.5959, allocations: 2.168 MB / 0.7615 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.596, allocations: 111.4 kB / 0.7617 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.5965, allocations: 434 kB / 0.7621 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.5966, allocations: 37.7 kB / 0.7621 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.5968, allocations: 261.6 kB / 0.7624 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.597, allocations: 222 kB / 0.7626 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.5973, allocations: 114.1 kB / 0.7627 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5974, allocations: 374.8 kB / 0.763 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.598, allocations: 253.1 kB / 0.7633 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.5986, allocations: 342.3 kB / 0.7636 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.5998, allocations: 0.6142 MB / 0.7642 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5998, allocations: 3.25 kB / 0.7642 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001756/0.6016, allocations: 0.8427 MB / 0.765 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6016, allocations: 4.188 kB / 0.765 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.6017, allocations: 15.88 kB / 0.765 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.6021, allocations: 129.5 kB / 0.7652 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.6027, allocations: 107.9 kB / 0.7653 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.6058, allocations: 2.471 MB / 0.7677 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.6062, allocations: 19.98 kB / 0.7677 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.6063, allocations: 32.05 kB / 0.7677 GB, free: 8.035 MB / 0.6075 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.0003078/0.6066, allocations: 197.6 kB / 0.7679 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6068, allocations: 59.62 kB / 0.768 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.6089, allocations: 1.031 MB / 0.769 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.6089, allocations: 15.98 kB / 0.769 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6089, allocations: 0 / 0.769 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.609, allocations: 7.922 kB / 0.769 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.6119, allocations: 1.647 MB / 0.7706 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.612, allocations: 4 kB / 0.7706 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.6125, allocations: 95.86 kB / 0.7707 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.6129, allocations: 136.7 kB / 0.7708 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.613, allocations: 16.67 kB / 0.7709 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.6159, allocations: 2.411 MB / 0.7732 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6159, allocations: 0 / 0.7732 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.6183, allocations: 1.254 MB / 0.7744 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.6185, allocations: 132.7 kB / 0.7746 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6186, allocations: 12 kB / 0.7746 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.6189, allocations: 15.98 kB / 0.7746 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6191, allocations: 48.5 kB / 0.7746 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.6191, allocations: 19.98 kB / 0.7747 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004236/0.6195, allocations: 338.8 kB / 0.775 GB, free: 368 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6196, allocations: 4 kB / 0.775 GB, free: 364 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009646/0.6205, allocations: 291.3 kB / 0.7753 GB, free: 72 kB / 0.6075 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.003324/0.6239, allocations: 2.082 MB / 0.7773 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.6258, allocations: 0.8843 MB / 0.7782 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6258, allocations: 8.062 kB / 0.7782 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6269, allocations: 0.5907 MB / 0.7787 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.6281, allocations: 204.4 kB / 0.7789 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.6379, allocations: 5.927 MB / 0.7847 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.6385, allocations: 0.9035 MB / 0.7856 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000469/0.639, allocations: 145.9 kB / 0.7857 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.6394, allocations: 231.3 kB / 0.786 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.6394, allocations: 0 / 0.786 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06057/0.7, allocations: 20.11 MB / 0.8056 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.95, allocations: 7.938 kB / 0.8056 GB, free: 0.9336 MB / 0.6387 GB (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) 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) Reference file matches