Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002852/0.002852, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.665/3.665, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00186/0.00186, allocations: 93.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006165/0.0006166, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5117, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.8053/1.317, allocations: 138.9 MB / 0.5015 GB, free: 1.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006498/1.324, allocations: 2.373 MB / 0.5038 GB, free: 1.887 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/1.324, allocations: 5.406 kB / 0.5038 GB, free: 1.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/1.326, allocations: 172.7 kB / 0.5039 GB, free: 1.883 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/1.327, allocations: 229.9 kB / 0.5042 GB, free: 1.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/1.33, allocations: 415 kB / 0.5046 GB, free: 1.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/1.332, allocations: 0.5885 MB / 0.5051 GB, free: 1.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/1.332, allocations: 70.05 kB / 0.5052 GB, free: 1.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003753/1.336, allocations: 0.7857 MB / 0.506 GB, free: 1.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008424/1.337, allocations: 223.1 kB / 0.5062 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/1.337, allocations: 19.84 kB / 0.5062 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/1.34, allocations: 427.1 kB / 0.5066 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006473/1.34, allocations: 192 kB / 0.5068 GB, free: 1.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/1.341, allocations: 133.5 kB / 0.5069 GB, free: 1.816 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002572/1.343, allocations: 0.8093 MB / 0.5077 GB, free: 1.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.343, allocations: 4 kB / 0.5077 GB, free: 1.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.629e-06/1.343, allocations: 0 / 0.5077 GB, free: 1.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.931e-05/1.344, allocations: 0 / 0.5077 GB, free: 1.773 MB / 378.7 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.002759/1.346, allocations: 0.7009 MB / 0.5084 GB, free: 17.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.934e-05/1.346, allocations: 9.469 kB / 0.5084 GB, free: 17.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/1.348, allocations: 132.5 kB / 0.5085 GB, free: 17.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/1.35, allocations: 360.6 kB / 0.5089 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/1.35, allocations: 27.47 kB / 0.5089 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/1.35, allocations: 37.22 kB / 0.5089 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.353, allocations: 0.5617 MB / 0.5095 GB, free: 16.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/1.353, allocations: 4 kB / 0.5095 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/1.353, allocations: 28.53 kB / 0.5095 GB, free: 16.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/1.353, allocations: 8.438 kB / 0.5095 GB, free: 16.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/1.354, allocations: 446.3 kB / 0.5099 GB, free: 16.93 MB / 394.7 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.007528/1.362, allocations: 2.055 MB / 0.512 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/1.362, allocations: 149.1 kB / 0.5121 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/1.363, allocations: 10.8 kB / 0.5121 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.363, allocations: 43.62 kB / 0.5122 GB, free: 15.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 4.849e-06/1.363, allocations: 0 / 0.5122 GB, free: 15.69 MB / 394.7 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.01448/1.377, allocations: 1.668 MB / 0.5138 GB, free: 14.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/1.377, allocations: 61.28 kB / 0.5138 GB, free: 14.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/1.379, allocations: 474.2 kB / 0.5143 GB, free: 14.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.379, allocations: 30.45 kB / 0.5143 GB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/1.379, allocations: 371.8 kB / 0.5147 GB, free: 14.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/1.379, allocations: 94.52 kB / 0.5148 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/1.379, allocations: 8.969 kB / 0.5148 GB, free: 14.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/1.38, allocations: 339.1 kB / 0.5151 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/1.38, allocations: 132.5 kB / 0.5152 GB, free: 13.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/1.381, allocations: 441.8 kB / 0.5156 GB, free: 13.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/1.382, allocations: 222.7 kB / 0.5159 GB, free: 13.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.382, allocations: 3.188 kB / 0.5159 GB, free: 13.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002465/1.384, allocations: 0.612 MB / 0.5165 GB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/1.385, allocations: 9.562 kB / 0.5165 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.385, allocations: 10.97 kB / 0.5165 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/1.385, allocations: 64.61 kB / 0.5165 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.386, allocations: 145.7 kB / 0.5167 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/1.389, allocations: 1.841 MB / 0.5185 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.391, allocations: 38.31 kB / 0.5185 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.391, allocations: 42.88 kB / 0.5186 GB, free: 11.68 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006286/1.391, allocations: 213 kB / 0.5188 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/1.392, allocations: 42.69 kB / 0.5188 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.393, allocations: 292.5 kB / 0.5191 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.393, allocations: 3.219 kB / 0.5191 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.393, allocations: 1.094 kB / 0.5191 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/1.394, allocations: 0.5208 MB / 0.5196 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.397, allocations: 0.7031 MB / 0.5203 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.397, allocations: 3.094 kB / 0.5203 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/1.398, allocations: 56.12 kB / 0.5203 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/1.398, allocations: 19.83 kB / 0.5203 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/1.398, allocations: 9.797 kB / 0.5204 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.4, allocations: 1.289 MB / 0.5216 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.4, allocations: 1 kB / 0.5216 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.401, allocations: 431.6 kB / 0.522 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/1.402, allocations: 115.7 kB / 0.5221 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/1.402, allocations: 8.672 kB / 0.5221 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/1.403, allocations: 25.06 kB / 0.5222 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/1.403, allocations: 16.66 kB / 0.5222 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.403, allocations: 16.56 kB / 0.5222 GB, free: 9.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008845/1.404, allocations: 327.8 kB / 0.5225 GB, free: 9.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.404, allocations: 0 / 0.5225 GB, free: 9.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002181/1.406, allocations: 211.9 kB / 0.5227 GB, free: 9.027 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003298/1.41, allocations: 392.5 kB / 0.5231 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/1.411, allocations: 460.7 kB / 0.5235 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.411, allocations: 0.8125 kB / 0.5235 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/1.412, allocations: 211.3 kB / 0.5237 GB, free: 8.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.415, allocations: 207.6 kB / 0.5239 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/1.418, allocations: 1.079 MB / 0.525 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/1.419, allocations: 0.8397 MB / 0.5258 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/1.419, allocations: 48.92 kB / 0.5259 GB, free: 7.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/1.419, allocations: 0 / 0.5259 GB, free: 7.34 MB / 394.7 MB Notification: Performance of Templates: time 0.03878/1.458, allocations: 12.06 MB / 0.5376 GB, free: 2.262 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches