Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_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.001226/0.001226, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 194 kB / 16.13 MB, free: 6.652 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5543/0.5543, allocations: 89.51 MB / 379.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 74.92 kB / 457.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09161, allocations: 67.31 MB / 0.5127 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3081/0.3997, allocations: 147.4 MB / 0.6567 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.4104, allocations: 12.07 MB / 0.6684 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/0.4109, allocations: 19.56 kB / 0.6685 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006652/0.4115, allocations: 257 kB / 0.6687 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009631/0.4125, allocations: 493.2 kB / 0.6692 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4139, allocations: 0.6376 MB / 0.6698 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.4147, allocations: 1.084 MB / 0.6709 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.4149, allocations: 144.6 kB / 0.671 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.4154, allocations: 322.1 kB / 0.6713 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.4159, allocations: 459.3 kB / 0.6717 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.4159, allocations: 35.28 kB / 0.6718 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.4177, allocations: 1.037 MB / 0.6728 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4178, allocations: 131 kB / 0.6729 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.418, allocations: 293.5 kB / 0.6732 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4191, allocations: 1 MB / 0.6742 GB, free: 9.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4191, allocations: 7.984 kB / 0.6742 GB, free: 9.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.4191, allocations: 3.938 kB / 0.6742 GB, free: 9.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.4192, allocations: 0 / 0.6742 GB, free: 9.84 MB / 494.1 MB 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.001767/0.4209, allocations: 0.9956 MB / 0.6752 GB, free: 9.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.421, allocations: 7.75 kB / 0.6752 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.198e-05/0.4211, allocations: 88.05 kB / 0.6752 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.4212, allocations: 62.81 kB / 0.6753 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.4216, allocations: 399.5 kB / 0.6757 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/0.4217, allocations: 89.14 kB / 0.6758 GB, free: 8.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.4218, allocations: 48.91 kB / 0.6758 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009522/0.4227, allocations: 0.6615 MB / 0.6765 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4228, allocations: 0 / 0.6765 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.4228, allocations: 28.72 kB / 0.6765 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.4228, allocations: 19 kB / 0.6765 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.4238, allocations: 0.6644 MB / 0.6772 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.4269, allocations: 2.435 MB / 0.6795 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4279, allocations: 0.6241 MB / 0.6801 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.4285, allocations: 358.6 kB / 0.6805 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.4305, allocations: 2.617 MB / 0.683 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.4306, allocations: 44.12 kB / 0.6831 GB, free: 2.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 1.724e-06/0.4306, allocations: 0 / 0.6831 GB, free: 2.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=64): time 0.003562/0.4342, allocations: 2.134 MB / 0.6852 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.4342, allocations: 59.97 kB / 0.6852 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.4345, allocations: 350.8 kB / 0.6856 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.4345, allocations: 35.55 kB / 0.6856 GB, free: 484 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4347, allocations: 217.9 kB / 0.6858 GB, free: 284 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4348, allocations: 218.3 kB / 0.686 GB, free: 88 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.435, allocations: 115.3 kB / 0.6861 GB, free: 12 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4351, allocations: 361.2 kB / 0.6865 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.4355, allocations: 253.5 kB / 0.6867 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.436, allocations: 331.5 kB / 0.687 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.437, allocations: 0.6054 MB / 0.6876 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.437, allocations: 2 kB / 0.6876 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001362/0.4383, allocations: 0.8235 MB / 0.6884 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4384, allocations: 15.98 kB / 0.6884 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4384, allocations: 4 kB / 0.6884 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.4388, allocations: 124.8 kB / 0.6886 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.4392, allocations: 115.8 kB / 0.6887 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.4415, allocations: 2.247 MB / 0.6909 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.4418, allocations: 20.02 kB / 0.6909 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.4419, allocations: 32.05 kB / 0.6909 GB, free: 11.77 MB / 0.4981 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.0002118/0.4421, allocations: 201.5 kB / 0.6911 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.4422, allocations: 47.44 kB / 0.6912 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.4439, allocations: 1.024 MB / 0.6922 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4439, allocations: 4 kB / 0.6922 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4439, allocations: 4 kB / 0.6922 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4439, allocations: 3.984 kB / 0.6922 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.4462, allocations: 1.627 MB / 0.6938 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4462, allocations: 4 kB / 0.6938 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.4467, allocations: 109.9 kB / 0.6939 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.447, allocations: 132.9 kB / 0.694 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.4471, allocations: 15.98 kB / 0.694 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.4492, allocations: 2.168 MB / 0.6961 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4492, allocations: 3.938 kB / 0.6961 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.451, allocations: 1.245 MB / 0.6973 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.4511, allocations: 116.6 kB / 0.6974 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.4512, allocations: 16.81 kB / 0.6975 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.4515, allocations: 27.89 kB / 0.6975 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.4516, allocations: 48.44 kB / 0.6975 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.4517, allocations: 23.98 kB / 0.6976 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002503/0.4519, allocations: 279.1 kB / 0.6978 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4519, allocations: 0 / 0.6978 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007262/0.4527, allocations: 280 kB / 0.6981 GB, free: 4.148 MB / 0.4981 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.002485/0.4552, allocations: 2.067 MB / 0.7001 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.4566, allocations: 0.892 MB / 0.701 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4566, allocations: 0 / 0.701 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.4574, allocations: 0.5832 MB / 0.7016 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.4583, allocations: 184.8 kB / 0.7017 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007281/0.4656, allocations: 5.87 MB / 0.7075 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.466, allocations: 0.8723 MB / 0.7083 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003654/0.4664, allocations: 136.3 kB / 0.7084 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4666, allocations: 199.3 kB / 0.7086 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.4667, allocations: 0 / 0.7086 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.208/4.674, allocations: 18.33 MB / 0.7265 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/4.675, allocations: 217.4 kB / 0.7267 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/7.25, allocations: 3.75 kB / 0.7267 GB, free: 6.695 MB / 0.5294 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches