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.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002167/0.002173, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.19/2.19, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.074e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3566, allocations: 47.56 MB / 362.4 MB, free: 45.88 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.07/2.426, allocations: 0.7109 GB / 1.065 GB, free: 82.5 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/2.427, allocations: 95.31 kB / 1.065 GB, free: 82.45 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.643/5.069, allocations: 0.5432 GB / 1.608 GB, free: 34.1 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.523e-06/5.069, allocations: 0 / 1.608 GB, free: 34.1 MB / 427.1 MB Notification: Performance of Transformations before backend: time 3.413e-05/5.069, allocations: 16 kB / 1.608 GB, free: 34.08 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002573/5.072, allocations: 0.963 MB / 1.609 GB, free: 33.07 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/5.072, allocations: 12.03 kB / 1.609 GB, free: 33.06 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/5.073, allocations: 143.1 kB / 1.609 GB, free: 32.92 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/5.074, allocations: 477 kB / 1.61 GB, free: 32.41 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/5.074, allocations: 28 kB / 1.61 GB, free: 32.38 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/5.074, allocations: 44 kB / 1.61 GB, free: 32.34 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/5.076, allocations: 0.7927 MB / 1.611 GB, free: 31.55 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/5.078, allocations: 0.8039 MB / 1.611 GB, free: 30.74 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/5.078, allocations: 11.8 kB / 1.611 GB, free: 30.73 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/5.078, allocations: 4 kB / 1.611 GB, free: 30.72 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/5.078, allocations: 16 kB / 1.611 GB, free: 30.71 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or 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.007304/5.085, allocations: 3.224 MB / 1.614 GB, free: 27.22 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/5.086, allocations: 0.6017 MB / 1.615 GB, free: 26.61 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/5.087, allocations: 330.5 kB / 1.615 GB, free: 26.28 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/5.087, allocations: 20.53 kB / 1.615 GB, free: 26.26 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/5.087, allocations: 51.06 kB / 1.615 GB, free: 26.2 MB / 427.1 MB Notification: Performance of pre-optimization done (n=59): time 3.898e-06/5.087, allocations: 0 / 1.615 GB, free: 26.2 MB / 427.1 MB Notification: Performance of matching and sorting (n=71): time 0.01315/5.1, allocations: 3.116 MB / 1.619 GB, free: 22.98 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/5.1, allocations: 60.19 kB / 1.619 GB, free: 22.91 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/5.101, allocations: 306.3 kB / 1.619 GB, free: 22.6 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/5.101, allocations: 25.7 kB / 1.619 GB, free: 22.57 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/5.101, allocations: 350.4 kB / 1.619 GB, free: 22.22 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/5.102, allocations: 244.3 kB / 1.619 GB, free: 21.98 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/5.102, allocations: 0 / 1.619 GB, free: 21.98 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 8.469e-05/5.102, allocations: 346.7 kB / 1.62 GB, free: 21.63 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/5.102, allocations: 417.4 kB / 1.62 GB, free: 21.22 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/5.103, allocations: 492 kB / 1.621 GB, free: 20.73 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/5.104, allocations: 492.2 kB / 1.621 GB, free: 20.25 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/5.104, allocations: 0 / 1.621 GB, free: 20.25 MB / 427.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002879/5.107, allocations: 1.252 MB / 1.622 GB, free: 18.96 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/5.107, allocations: 8 kB / 1.622 GB, free: 18.95 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/5.107, allocations: 0 / 1.622 GB, free: 18.95 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/5.108, allocations: 318.6 kB / 1.623 GB, free: 18.62 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/5.11, allocations: 179.8 kB / 1.623 GB, free: 18.44 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007594/5.118, allocations: 9.843 MB / 1.632 GB, free: 7.773 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/5.119, allocations: 63.88 kB / 1.632 GB, free: 7.711 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/5.119, allocations: 43.98 kB / 1.633 GB, free: 7.668 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004215/5.12, allocations: 142.9 kB / 1.633 GB, free: 7.523 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/5.12, allocations: 55.42 kB / 1.633 GB, free: 7.469 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/5.123, allocations: 1.23 MB / 1.634 GB, free: 6.207 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/5.123, allocations: 8 kB / 1.634 GB, free: 6.199 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/5.123, allocations: 0 / 1.634 GB, free: 6.199 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/5.125, allocations: 1.543 MB / 1.635 GB, free: 4.492 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/5.129, allocations: 2.109 MB / 1.638 GB, free: 2.328 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/5.129, allocations: 0 / 1.638 GB, free: 2.328 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/5.131, allocations: 227.8 kB / 1.638 GB, free: 2.105 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/5.132, allocations: 68.8 kB / 1.638 GB, free: 2.035 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.781e-05/5.132, allocations: 35.91 kB / 1.638 GB, free: 2 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/5.133, allocations: 1.416 MB / 1.639 GB, free: 480 kB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/5.133, allocations: 11.92 kB / 1.639 GB, free: 468 kB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3384/5.471, allocations: 1.538 MB / 1.641 GB, free: 68.98 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/5.472, allocations: 128.4 kB / 1.641 GB, free: 68.89 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/5.472, allocations: 19.75 kB / 1.641 GB, free: 68.89 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/5.473, allocations: 56.7 kB / 1.641 GB, free: 68.89 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/5.473, allocations: 57.97 kB / 1.641 GB, free: 68.89 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/5.474, allocations: 63.31 kB / 1.641 GB, free: 68.89 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003542/5.474, allocations: 243.8 kB / 1.641 GB, free: 68.8 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.81e-07/5.474, allocations: 5.875 kB / 1.641 GB, free: 68.8 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.002278/5.476, allocations: 379.7 kB / 1.642 GB, free: 68.8 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.003616/5.48, allocations: 1.296 MB / 1.643 GB, free: 68.65 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.002966/5.483, allocations: 1.739 MB / 1.645 GB, free: 67.95 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/5.483, allocations: 3.969 kB / 1.645 GB, free: 67.95 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/5.484, allocations: 0.6543 MB / 1.645 GB, free: 67.84 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/5.487, allocations: 300.6 kB / 1.646 GB, free: 67.83 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/5.493, allocations: 1.884 MB / 1.647 GB, free: 67.46 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/5.493, allocations: 0.9936 MB / 1.648 GB, free: 66.76 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/5.494, allocations: 85.89 kB / 1.648 GB, free: 66.75 MB / 427.1 MB Notification: Performance of SimCode: time 9.42e-07/5.494, allocations: 4.297 kB / 1.648 GB, free: 66.75 MB / 427.1 MB Notification: Performance of Templates: time 0.05868/5.553, allocations: 27.83 MB / 1.676 GB, free: 66.27 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_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/SimpleNaturalGas/SimpleNaturalGas.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches