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.001277/0.001277, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001201/0.0012, allocations: 191 kB / 16.25 MB, free: 6.637 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6235/0.6235, allocations: 91.19 MB / 381.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 77.48 kB / 459.9 MB, free: 23.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1195, allocations: 67.69 MB / 0.5152 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3954/0.5149, allocations: 147.7 MB / 0.6595 GB, free: 4.004 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.5271, allocations: 12 MB / 0.6712 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.5278, allocations: 24.84 kB / 0.6712 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.5287, allocations: 260.8 kB / 0.6715 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.5301, allocations: 0.503 MB / 0.672 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.5319, allocations: 0.6656 MB / 0.6726 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.533, allocations: 0.9082 MB / 0.6735 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.5333, allocations: 172.2 kB / 0.6737 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.5339, allocations: 381.8 kB / 0.6741 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.5346, allocations: 483.1 kB / 0.6745 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.5347, allocations: 58.92 kB / 0.6746 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.5365, allocations: 1.062 MB / 0.6756 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.5367, allocations: 151.1 kB / 0.6758 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.537, allocations: 326 kB / 0.6761 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.5388, allocations: 1.087 MB / 0.6771 GB, free: 6.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5388, allocations: 0 / 0.6771 GB, free: 6.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5388, allocations: 0 / 0.6771 GB, free: 6.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.5388, allocations: 0 / 0.6771 GB, free: 6.578 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.002217/0.541, allocations: 1.058 MB / 0.6782 GB, free: 5.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.5411, allocations: 10.19 kB / 0.6782 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.5412, allocations: 85.7 kB / 0.6782 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.5414, allocations: 71.38 kB / 0.6783 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.5421, allocations: 487.8 kB / 0.6788 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.276e-05/0.5422, allocations: 96.39 kB / 0.6789 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.5423, allocations: 46.31 kB / 0.6789 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5435, allocations: 0.6535 MB / 0.6796 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5435, allocations: 1.812 kB / 0.6796 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.5436, allocations: 15.28 kB / 0.6796 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.5436, allocations: 28.73 kB / 0.6796 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.5448, allocations: 0.6662 MB / 0.6803 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.5483, allocations: 2.458 MB / 0.6827 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5495, allocations: 0.6248 MB / 0.6833 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.5501, allocations: 358.1 kB / 0.6836 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002571/0.5527, allocations: 2.616 MB / 0.6862 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.5527, allocations: 43.91 kB / 0.6862 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.925e-06/0.5527, allocations: 4 kB / 0.6862 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.004178/0.5569, allocations: 2.146 MB / 0.6883 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.557, allocations: 66.78 kB / 0.6884 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.5574, allocations: 423.4 kB / 0.6888 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.5575, allocations: 39.73 kB / 0.6888 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.5577, allocations: 250.6 kB / 0.689 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.5578, allocations: 213.8 kB / 0.6892 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.558, allocations: 111.4 kB / 0.6894 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5582, allocations: 370 kB / 0.6897 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.5587, allocations: 253 kB / 0.6899 GB, free: 12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.5593, allocations: 336.5 kB / 0.6903 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5603, allocations: 0.6104 MB / 0.6909 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5603, allocations: 0 / 0.6909 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00161/0.562, allocations: 0.8346 MB / 0.6917 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.562, allocations: 8 kB / 0.6917 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.562, allocations: 7.984 kB / 0.6917 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004229/0.5624, allocations: 133.2 kB / 0.6918 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.563, allocations: 119.8 kB / 0.6919 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.5657, allocations: 2.464 MB / 0.6943 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.5661, allocations: 31.89 kB / 0.6944 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.5662, allocations: 27.98 kB / 0.6944 GB, free: 7.246 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.0002935/0.5665, allocations: 193.8 kB / 0.6946 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5666, allocations: 59.25 kB / 0.6946 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.5686, allocations: 1.024 MB / 0.6956 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5686, allocations: 11.98 kB / 0.6957 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5686, allocations: 0 / 0.6957 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5686, allocations: 4 kB / 0.6957 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.5713, allocations: 1.651 MB / 0.6973 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.5713, allocations: 4 kB / 0.6973 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.5718, allocations: 96.69 kB / 0.6974 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.5722, allocations: 136.9 kB / 0.6975 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.5722, allocations: 19.97 kB / 0.6975 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.5747, allocations: 2.416 MB / 0.6999 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5747, allocations: 3.984 kB / 0.6999 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.5768, allocations: 1.249 MB / 0.7011 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.577, allocations: 128.4 kB / 0.7012 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.485e-05/0.5771, allocations: 11.94 kB / 0.7012 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.5774, allocations: 27.84 kB / 0.7013 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.5775, allocations: 48.48 kB / 0.7013 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.5776, allocations: 23.98 kB / 0.7013 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003542/0.5779, allocations: 326.9 kB / 0.7016 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.578, allocations: 4 kB / 0.7016 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008651/0.5788, allocations: 283.9 kB / 0.7019 GB, free: 15.29 MB / 0.5137 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.002824/0.5817, allocations: 2.071 MB / 0.7039 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.5835, allocations: 0.97 MB / 0.7049 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5835, allocations: 0 / 0.7049 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.5844, allocations: 0.5909 MB / 0.7055 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5854, allocations: 213 kB / 0.7057 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.5938, allocations: 6.207 MB / 0.7117 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.5942, allocations: 0.9034 MB / 0.7126 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004228/0.5946, allocations: 136.7 kB / 0.7127 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.595, allocations: 231.3 kB / 0.713 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.595, allocations: 0 / 0.713 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9424/1.537, allocations: 19.62 MB / 0.7321 GB, free: 308 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.538, allocations: 213.5 kB / 0.7323 GB, free: 44 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.098/5.635, allocations: 12 kB / 0.7323 GB, free: 32 kB / 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