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.0008282/0.000828, allocations: 94.66 kB / 17.3 MB, free: 6.344 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.0007269/0.0007269, allocations: 180.4 kB / 18.21 MB, free: 5.531 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.255/1.255, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004509/0.000451, allocations: 8 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.0842, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.299/0.3833, allocations: 171.3 MB / 0.4887 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.3875, allocations: 3.822 MB / 0.4924 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.3878, allocations: 4 kB / 0.4924 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.3885, allocations: 207 kB / 0.4926 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.3892, allocations: 354.3 kB / 0.4929 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3905, allocations: 0.4914 MB / 0.4934 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.3918, allocations: 1.602 MB / 0.495 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.392, allocations: 74.52 kB / 0.495 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.3941, allocations: 1.18 MB / 0.4962 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.3945, allocations: 362.7 kB / 0.4965 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.3946, allocations: 24 kB / 0.4966 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.3957, allocations: 0.7446 MB / 0.4973 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3959, allocations: 207.4 kB / 0.4975 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.3961, allocations: 308.6 kB / 0.4978 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.3972, allocations: 1.141 MB / 0.4989 GB, free: 3.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3972, allocations: 4 kB / 0.4989 GB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3972, allocations: 0 / 0.4989 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3972, allocations: 0 / 0.4989 GB, free: 3.816 MB / 398.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.0009894/0.3982, allocations: 0.6868 MB / 0.4996 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3983, allocations: 12.03 kB / 0.4996 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.393e-05/0.3984, allocations: 82.52 kB / 0.4997 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.3989, allocations: 127.3 kB / 0.4998 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.3994, allocations: 373.2 kB / 0.5001 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3994, allocations: 29 kB / 0.5002 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.3995, allocations: 36 kB / 0.5002 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.4003, allocations: 0.5693 MB / 0.5008 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4003, allocations: 4 kB / 0.5008 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.4003, allocations: 16 kB / 0.5008 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4004, allocations: 12 kB / 0.5008 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.4009, allocations: 446.3 kB / 0.5012 GB, free: 1.328 MB / 398.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.002683/0.4036, allocations: 2.063 MB / 0.5032 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4039, allocations: 150.6 kB / 0.5034 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.404, allocations: 76.78 kB / 0.5034 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.404, allocations: 16.2 kB / 0.5035 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.404, allocations: 34.56 kB / 0.5035 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.404, allocations: 0 / 0.5035 GB, free: 14.8 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.005086/0.4091, allocations: 1.682 MB / 0.5051 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.4092, allocations: 55.41 kB / 0.5052 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.4097, allocations: 489.6 kB / 0.5056 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.4097, allocations: 29.7 kB / 0.5057 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4099, allocations: 322.3 kB / 0.506 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.4099, allocations: 86.83 kB / 0.5061 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.41, allocations: 53.69 kB / 0.5061 GB, free: 11.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4101, allocations: 350.8 kB / 0.5065 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4103, allocations: 141.2 kB / 0.5066 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.4107, allocations: 440.5 kB / 0.507 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.4113, allocations: 0.6057 MB / 0.5076 GB, free: 10.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4113, allocations: 4 kB / 0.5076 GB, free: 10.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008346/0.4121, allocations: 0.6397 MB / 0.5082 GB, free: 9.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4121, allocations: 8 kB / 0.5082 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.4122, allocations: 12 kB / 0.5082 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.4123, allocations: 57.69 kB / 0.5083 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.4128, allocations: 139.8 kB / 0.5084 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.4139, allocations: 1.848 MB / 0.5102 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.4143, allocations: 36.19 kB / 0.5103 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.4143, allocations: 36 kB / 0.5103 GB, free: 7.156 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.0001919/0.4145, allocations: 217.5 kB / 0.5105 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.4146, allocations: 51.38 kB / 0.5106 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.4151, allocations: 290.9 kB / 0.5108 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4151, allocations: 0 / 0.5108 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4151, allocations: 8 kB / 0.5109 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004077/0.4155, allocations: 0.5161 MB / 0.5114 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.4163, allocations: 0.6942 MB / 0.512 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4163, allocations: 4 kB / 0.512 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.4166, allocations: 51.91 kB / 0.5121 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.307e-05/0.4167, allocations: 24.78 kB / 0.5121 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.4167, allocations: 12 kB / 0.5121 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00071/0.4174, allocations: 1.272 MB / 0.5134 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4174, allocations: 4.062 kB / 0.5134 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.4179, allocations: 436.1 kB / 0.5138 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.418, allocations: 120.6 kB / 0.5139 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.4181, allocations: 0 / 0.5139 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.4183, allocations: 20.05 kB / 0.5139 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4184, allocations: 19.97 kB / 0.5139 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4184, allocations: 12 kB / 0.5139 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.4187, allocations: 331.1 kB / 0.5143 GB, free: 2.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4187, allocations: 0 / 0.5143 GB, free: 2.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006945/0.4194, allocations: 211.9 kB / 0.5145 GB, free: 2.547 MB / 414.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.001875/0.4213, allocations: 1.336 MB / 0.5158 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006355/0.4219, allocations: 467.8 kB / 0.5162 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4219, allocations: 0 / 0.5162 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.4222, allocations: 206.5 kB / 0.5164 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4232, allocations: 222.3 kB / 0.5166 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.428, allocations: 4.869 MB / 0.5214 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4283, allocations: 0.8153 MB / 0.5222 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.4288, allocations: 137.7 kB / 0.5223 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.429, allocations: 147.4 kB / 0.5224 GB, free: 9.914 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.429, allocations: 0 / 0.5224 GB, free: 9.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.612/2.041, allocations: 16.11 MB / 0.5382 GB, free: 164.8 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/2.041, allocations: 287.2 kB / 0.5385 GB, free: 164.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/4.611, allocations: 0 / 0.5385 GB, free: 164.4 MB / 430.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