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.001196/0.001196, allocations: 102 kB / 17.16 MB, free: 6.32 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.001186/0.001186, allocations: 190 kB / 18.07 MB, free: 5.414 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.329/1.329, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001103/0.001103, allocations: 47.94 kB / 280.1 MB, free: 3.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08138, allocations: 46.62 MB / 326.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3094/0.3908, allocations: 173.6 MB / 0.4886 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.3949, allocations: 3.88 MB / 0.4924 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3951, allocations: 4 kB / 0.4924 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006603/0.3958, allocations: 203 kB / 0.4926 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.3964, allocations: 354.3 kB / 0.4929 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.3977, allocations: 0.4891 MB / 0.4934 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3989, allocations: 1.602 MB / 0.4949 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3991, allocations: 78.52 kB / 0.495 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.4015, allocations: 1.184 MB / 0.4962 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.4019, allocations: 374.7 kB / 0.4965 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.4019, allocations: 20 kB / 0.4965 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.4031, allocations: 0.7524 MB / 0.4973 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.4033, allocations: 203.5 kB / 0.4975 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.4036, allocations: 294.8 kB / 0.4978 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4047, allocations: 1.149 MB / 0.4989 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4047, allocations: 0 / 0.4989 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4047, allocations: 7.875 kB / 0.4989 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.4048, allocations: 0 / 0.4989 GB, free: 15.33 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.001154/0.4059, allocations: 0.8038 MB / 0.4997 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.406, allocations: 8.031 kB / 0.4997 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.065e-05/0.4061, allocations: 78.53 kB / 0.4998 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/0.4066, allocations: 127.3 kB / 0.4999 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.4071, allocations: 373.1 kB / 0.5002 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4071, allocations: 28.94 kB / 0.5003 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.4071, allocations: 40 kB / 0.5003 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.4079, allocations: 0.5653 MB / 0.5008 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.408, allocations: 3.984 kB / 0.5009 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.408, allocations: 20 kB / 0.5009 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.408, allocations: 8 kB / 0.5009 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.4086, allocations: 442.4 kB / 0.5013 GB, free: 12.74 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.002922/0.4115, allocations: 2.12 MB / 0.5034 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.4118, allocations: 151.8 kB / 0.5035 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4119, allocations: 80.83 kB / 0.5036 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.4119, allocations: 7.938 kB / 0.5036 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4119, allocations: 42.55 kB / 0.5036 GB, free: 10.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.4119, allocations: 0 / 0.5036 GB, free: 10.15 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.005532/0.4175, allocations: 1.742 MB / 0.5053 GB, free: 8.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.4175, allocations: 59.34 kB / 0.5054 GB, free: 8.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.4179, allocations: 485.6 kB / 0.5059 GB, free: 7.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.418, allocations: 33.7 kB / 0.5059 GB, free: 7.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.4182, allocations: 322.3 kB / 0.5062 GB, free: 7.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.4182, allocations: 90.83 kB / 0.5063 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.4183, allocations: 118.2 kB / 0.5064 GB, free: 7.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4185, allocations: 350.8 kB / 0.5067 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.4187, allocations: 137.2 kB / 0.5069 GB, free: 6.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.419, allocations: 444.5 kB / 0.5073 GB, free: 6.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.4196, allocations: 0.6057 MB / 0.5079 GB, free: 5.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4196, allocations: 0 / 0.5079 GB, free: 5.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008335/0.4204, allocations: 0.6396 MB / 0.5085 GB, free: 4.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4204, allocations: 11.12 kB / 0.5085 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4205, allocations: 12 kB / 0.5085 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.4206, allocations: 57.69 kB / 0.5086 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.4211, allocations: 139.8 kB / 0.5087 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4222, allocations: 1.84 MB / 0.5105 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.4226, allocations: 28.25 kB / 0.5105 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.4226, allocations: 51.88 kB / 0.5106 GB, free: 2.375 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.0001852/0.4228, allocations: 209.5 kB / 0.5108 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.4229, allocations: 51.38 kB / 0.5108 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.4234, allocations: 286.9 kB / 0.5111 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4234, allocations: 4 kB / 0.5111 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4234, allocations: 4 kB / 0.5111 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004373/0.4238, allocations: 0.5242 MB / 0.5116 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00084/0.4247, allocations: 0.7059 MB / 0.5123 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4247, allocations: 0 / 0.5123 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.425, allocations: 47.97 kB / 0.5124 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.236e-05/0.425, allocations: 32.72 kB / 0.5124 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4251, allocations: 12 kB / 0.5124 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/0.4259, allocations: 1.28 MB / 0.5137 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4259, allocations: 0 / 0.5137 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.4264, allocations: 431.5 kB / 0.5141 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.4265, allocations: 116.6 kB / 0.5142 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.4266, allocations: 8 kB / 0.5142 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.4269, allocations: 16.11 kB / 0.5142 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.4269, allocations: 11.98 kB / 0.5142 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.4269, allocations: 19.98 kB / 0.5142 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.4273, allocations: 323.1 kB / 0.5145 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4273, allocations: 0 / 0.5145 GB, free: 13.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007456/0.428, allocations: 219.9 kB / 0.5148 GB, free: 13.76 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.00197/0.43, allocations: 1.318 MB / 0.516 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.4307, allocations: 464 kB / 0.5165 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4307, allocations: 0 / 0.5165 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.431, allocations: 206.5 kB / 0.5167 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.432, allocations: 212.8 kB / 0.5169 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.4372, allocations: 4.808 MB / 0.5216 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.4375, allocations: 0.8192 MB / 0.5224 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005037/0.438, allocations: 144.6 kB / 0.5225 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.4382, allocations: 147.4 kB / 0.5227 GB, free: 5.207 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4382, allocations: 0 / 0.5227 GB, free: 5.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.467, allocations: 16.24 MB / 0.5385 GB, free: 4.898 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/0.4673, allocations: 285.9 kB / 0.5388 GB, free: 4.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.798, allocations: 0 / 0.5388 GB, free: 4.516 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