Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.001069/0.001074, allocations: 110.7 kB / 17.28 MB, free: 6.176 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.001123/0.001124, allocations: 189.3 kB / 18.2 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 56.14 kB / 280.3 MB, free: 3.367 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.0866, allocations: 46.62 MB / 326.9 MB, free: 4.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3513/0.438, allocations: 173.3 MB / 0.4885 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.442, allocations: 3.829 MB / 0.4922 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.4423, allocations: 4 kB / 0.4922 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.443, allocations: 207 kB / 0.4924 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006668/0.4437, allocations: 338.3 kB / 0.4927 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.4449, allocations: 0.4923 MB / 0.4932 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.446, allocations: 1.107 MB / 0.4943 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.4462, allocations: 107 kB / 0.4944 GB, free: 4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.4487, allocations: 1.231 MB / 0.4956 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.4492, allocations: 374.8 kB / 0.496 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4493, allocations: 44 kB / 0.496 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4504, allocations: 0.7252 MB / 0.4967 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.4506, allocations: 231.5 kB / 0.4969 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.451, allocations: 318.8 kB / 0.4972 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.4522, allocations: 1.165 MB / 0.4984 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4522, allocations: 0 / 0.4984 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4522, allocations: 0 / 0.4984 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.4523, allocations: 0 / 0.4984 GB, free: 15.92 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001426/0.4537, allocations: 0.8115 MB / 0.4992 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4537, allocations: 19.89 kB / 0.4992 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.4539, allocations: 78.53 kB / 0.4993 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.4545, allocations: 119.4 kB / 0.4994 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.455, allocations: 381.1 kB / 0.4997 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.455, allocations: 29 kB / 0.4998 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.4551, allocations: 36 kB / 0.4998 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008441/0.456, allocations: 0.5576 MB / 0.5003 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.456, allocations: 4 kB / 0.5003 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.4561, allocations: 16 kB / 0.5004 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4561, allocations: 19.98 kB / 0.5004 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.4567, allocations: 442.4 kB / 0.5008 GB, free: 13.31 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.4599, allocations: 2.121 MB / 0.5029 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.4602, allocations: 151.9 kB / 0.503 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.4603, allocations: 80.83 kB / 0.5031 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4603, allocations: 8 kB / 0.5031 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4604, allocations: 38.5 kB / 0.5031 GB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.4604, allocations: 0 / 0.5031 GB, free: 10.73 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005969/0.4664, allocations: 1.741 MB / 0.5048 GB, free: 8.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4664, allocations: 59.41 kB / 0.5049 GB, free: 8.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.4669, allocations: 485.6 kB / 0.5054 GB, free: 8.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.467, allocations: 29.7 kB / 0.5054 GB, free: 8.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.4672, allocations: 322.3 kB / 0.5057 GB, free: 7.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.4673, allocations: 86.84 kB / 0.5058 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.4675, allocations: 126.1 kB / 0.5059 GB, free: 7.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4676, allocations: 346.8 kB / 0.5062 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4678, allocations: 141.2 kB / 0.5064 GB, free: 7.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.4683, allocations: 432.5 kB / 0.5068 GB, free: 6.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.4689, allocations: 0.613 MB / 0.5074 GB, free: 5.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4689, allocations: 4.875 kB / 0.5074 GB, free: 5.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008486/0.4698, allocations: 0.6318 MB / 0.508 GB, free: 5.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4698, allocations: 16.19 kB / 0.508 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4698, allocations: 8 kB / 0.508 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.47, allocations: 61.62 kB / 0.5081 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.4705, allocations: 135.8 kB / 0.5082 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.472, allocations: 1.95 MB / 0.5101 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.4723, allocations: 24 kB / 0.5101 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.4724, allocations: 39.98 kB / 0.5102 GB, free: 2.863 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.4726, allocations: 217.5 kB / 0.5104 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.4727, allocations: 55.42 kB / 0.5104 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.4732, allocations: 287.1 kB / 0.5107 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4732, allocations: 4 kB / 0.5107 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4732, allocations: 0 / 0.5107 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004864/0.4737, allocations: 0.5317 MB / 0.5112 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.4746, allocations: 0.7019 MB / 0.5119 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4746, allocations: 0 / 0.5119 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.4749, allocations: 55.91 kB / 0.512 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.875e-05/0.475, allocations: 20.84 kB / 0.512 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.475, allocations: 11.98 kB / 0.512 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008565/0.4759, allocations: 1.375 MB / 0.5133 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4759, allocations: 3.938 kB / 0.5134 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.4765, allocations: 427.6 kB / 0.5138 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.4766, allocations: 112.6 kB / 0.5139 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.4767, allocations: 11.94 kB / 0.5139 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.4769, allocations: 11.98 kB / 0.5139 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.477, allocations: 35.84 kB / 0.5139 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.477, allocations: 8 kB / 0.5139 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.4774, allocations: 331.2 kB / 0.5142 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4774, allocations: 0 / 0.5142 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007566/0.4781, allocations: 215.9 kB / 0.5145 GB, free: 14.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.4803, allocations: 1.315 MB / 0.5157 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.4811, allocations: 484.4 kB / 0.5162 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4811, allocations: 384 / 0.5162 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.4813, allocations: 206.6 kB / 0.5164 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4823, allocations: 213.1 kB / 0.5166 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.4875, allocations: 4.8 MB / 0.5213 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.4879, allocations: 0.831 MB / 0.5221 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004889/0.4884, allocations: 132.6 kB / 0.5222 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4886, allocations: 147.4 kB / 0.5224 GB, free: 5.562 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4886, allocations: 4 kB / 0.5224 GB, free: 5.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.5211, allocations: 16.59 MB / 0.5386 GB, free: 4.926 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/0.5215, allocations: 290.2 kB / 0.5388 GB, free: 4.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.788, allocations: 3.953 kB / 0.5388 GB, free: 4.535 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches