Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00135/0.00135, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 86.36 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.584e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 47.58 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.819/1.92, allocations: 0.7112 GB / 1.066 GB, free: 119.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/1.92, allocations: 99.27 kB / 1.066 GB, free: 119.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.83/3.75, allocations: 0.5432 GB / 1.609 GB, free: 65.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/3.75, allocations: 3.312 kB / 1.609 GB, free: 65.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.044e-05/3.75, allocations: 12 kB / 1.609 GB, free: 65.28 MB / 426.7 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.003499/3.754, allocations: 0.9548 MB / 1.61 GB, free: 64.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/3.754, allocations: 8.031 kB / 1.61 GB, free: 64.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/3.755, allocations: 151.1 kB / 1.61 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/3.756, allocations: 480.5 kB / 1.611 GB, free: 63.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/3.756, allocations: 27.95 kB / 1.611 GB, free: 63.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/3.756, allocations: 44 kB / 1.611 GB, free: 63.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/3.758, allocations: 0.7953 MB / 1.611 GB, free: 62.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/3.76, allocations: 0.8039 MB / 1.612 GB, free: 61.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/3.76, allocations: 0 / 1.612 GB, free: 61.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/3.76, allocations: 0 / 1.612 GB, free: 61.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/3.76, allocations: 20 kB / 1.612 GB, free: 61.93 MB / 426.7 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.005996/3.766, allocations: 3.246 MB / 1.615 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/3.767, allocations: 0.59 MB / 1.616 GB, free: 57.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/3.767, allocations: 335 kB / 1.616 GB, free: 57.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/3.767, allocations: 22.58 kB / 1.616 GB, free: 57.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/3.767, allocations: 43.12 kB / 1.616 GB, free: 57.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.597e-06/3.767, allocations: 0 / 1.616 GB, free: 57.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.008424/3.776, allocations: 3.124 MB / 1.619 GB, free: 54.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/3.776, allocations: 60.19 kB / 1.62 GB, free: 54.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/3.776, allocations: 317.9 kB / 1.62 GB, free: 53.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/3.776, allocations: 29.7 kB / 1.62 GB, free: 53.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/3.776, allocations: 292 kB / 1.62 GB, free: 53.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/3.777, allocations: 236.4 kB / 1.62 GB, free: 53.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/3.777, allocations: 0 / 1.62 GB, free: 53.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/3.777, allocations: 358.8 kB / 1.621 GB, free: 52.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/3.777, allocations: 417.4 kB / 1.621 GB, free: 52.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/3.778, allocations: 495.9 kB / 1.622 GB, free: 52.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/3.778, allocations: 488.2 kB / 1.622 GB, free: 51.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/3.778, allocations: 4 kB / 1.622 GB, free: 51.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001714/3.78, allocations: 1.271 MB / 1.623 GB, free: 50.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/3.78, allocations: 8 kB / 1.623 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/3.78, allocations: 0 / 1.623 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005641/3.781, allocations: 314.8 kB / 1.624 GB, free: 49.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/3.782, allocations: 179.8 kB / 1.624 GB, free: 49.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/3.787, allocations: 9.844 MB / 1.633 GB, free: 39.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/3.788, allocations: 67.88 kB / 1.633 GB, free: 39.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/3.788, allocations: 51.92 kB / 1.633 GB, free: 38.99 MB / 426.7 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.0004115/3.789, allocations: 148.4 kB / 1.634 GB, free: 38.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/3.789, allocations: 47.53 kB / 1.634 GB, free: 38.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/3.791, allocations: 1.222 MB / 1.635 GB, free: 37.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/3.791, allocations: 8 kB / 1.635 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/3.791, allocations: 3.953 kB / 1.635 GB, free: 37.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/3.792, allocations: 1.547 MB / 1.636 GB, free: 35.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/3.795, allocations: 2.108 MB / 1.638 GB, free: 33.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/3.795, allocations: 96 / 1.638 GB, free: 33.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/3.796, allocations: 231.6 kB / 1.639 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/3.796, allocations: 64.8 kB / 1.639 GB, free: 33.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/3.796, allocations: 31.97 kB / 1.639 GB, free: 33.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009792/3.797, allocations: 1.428 MB / 1.64 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/3.797, allocations: 4.031 kB / 1.64 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/3.799, allocations: 1.536 MB / 1.642 GB, free: 30.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/3.8, allocations: 136.4 kB / 1.642 GB, free: 30.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/3.8, allocations: 15.98 kB / 1.642 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/3.801, allocations: 59.78 kB / 1.642 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/3.801, allocations: 56.66 kB / 1.642 GB, free: 29.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/3.801, allocations: 59.95 kB / 1.642 GB, free: 29.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002553/3.801, allocations: 250 kB / 1.642 GB, free: 29.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.801, allocations: 0 / 1.642 GB, free: 29.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002047/3.803, allocations: 379.9 kB / 1.643 GB, free: 29.26 MB / 426.7 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.003038/3.806, allocations: 1.284 MB / 1.644 GB, free: 28.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002239/3.809, allocations: 1.743 MB / 1.646 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/3.809, allocations: 4 kB / 1.646 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/3.81, allocations: 0.6489 MB / 1.646 GB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/3.811, allocations: 313.8 kB / 1.646 GB, free: 25.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/3.815, allocations: 1.823 MB / 1.648 GB, free: 23.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/3.815, allocations: 0.9902 MB / 1.649 GB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001048/3.816, allocations: 243 kB / 1.649 GB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/3.817, allocations: 83.34 kB / 1.65 GB, free: 22.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/3.817, allocations: 0 / 1.65 GB, free: 22.2 MB / 426.7 MB Notification: Performance of Templates: time 0.3155/4.132, allocations: 24.2 MB / 1.673 GB, free: 72.45 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches