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.002225/0.002224, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001094/0.001094, allocations: 82.69 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.08e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.367/2.472, allocations: 0.7116 GB / 1.072 GB, free: 107.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/2.472, allocations: 100.2 kB / 1.072 GB, free: 107.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925/5.397, allocations: 0.551 GB / 1.623 GB, free: 35.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.885e-06/5.397, allocations: 0 / 1.623 GB, free: 35.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.289e-05/5.397, allocations: 20 kB / 1.623 GB, free: 35.77 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.004003/5.401, allocations: 0.9518 MB / 1.624 GB, free: 34.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/5.401, allocations: 8.031 kB / 1.624 GB, free: 34.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/5.403, allocations: 147.1 kB / 1.624 GB, free: 34.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/5.405, allocations: 484.8 kB / 1.625 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/5.405, allocations: 61.95 kB / 1.625 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/5.405, allocations: 72 kB / 1.625 GB, free: 33.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/5.408, allocations: 0.9054 MB / 1.626 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/5.409, allocations: 0 / 1.626 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/5.409, allocations: 39.98 kB / 1.626 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/5.409, allocations: 16 kB / 1.626 GB, free: 33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/5.412, allocations: 0.8278 MB / 1.627 GB, free: 32.17 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.0117/5.424, allocations: 3.428 MB / 1.63 GB, free: 28.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/5.425, allocations: 0.6236 MB / 1.631 GB, free: 27.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/5.427, allocations: 351.4 kB / 1.631 GB, free: 27.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/5.427, allocations: 24.53 kB / 1.631 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/5.427, allocations: 51.06 kB / 1.631 GB, free: 27.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 5.15e-06/5.427, allocations: 0 / 1.631 GB, free: 27.4 MB / 426.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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.03141/5.458, allocations: 4.349 MB / 1.635 GB, free: 22.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/5.458, allocations: 60.19 kB / 1.635 GB, free: 22.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/5.46, allocations: 0.4912 MB / 1.636 GB, free: 22.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/5.46, allocations: 49.64 kB / 1.636 GB, free: 22.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/5.46, allocations: 311.1 kB / 1.636 GB, free: 22.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/5.461, allocations: 256.3 kB / 1.636 GB, free: 21.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/5.461, allocations: 12 kB / 1.636 GB, free: 21.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/5.461, allocations: 346.8 kB / 1.637 GB, free: 21.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/5.462, allocations: 429.4 kB / 1.637 GB, free: 20.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/5.464, allocations: 0.5054 MB / 1.638 GB, free: 20.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/5.466, allocations: 497.9 kB / 1.638 GB, free: 19.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/5.466, allocations: 0 / 1.638 GB, free: 19.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004938/5.471, allocations: 1.315 MB / 1.639 GB, free: 18.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/5.471, allocations: 8 kB / 1.639 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/5.471, allocations: 0 / 1.639 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/5.473, allocations: 350.6 kB / 1.64 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/5.475, allocations: 171.8 kB / 1.64 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/5.487, allocations: 10.2 MB / 1.65 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/5.489, allocations: 83.78 kB / 1.65 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/5.489, allocations: 43.98 kB / 1.65 GB, free: 6.801 MB / 426.7 MB 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.0004203/5.49, allocations: 148.8 kB / 1.65 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/5.49, allocations: 63.34 kB / 1.65 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/5.495, allocations: 1.298 MB / 1.651 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/5.495, allocations: 8 kB / 1.651 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/5.495, allocations: 3.953 kB / 1.651 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003703/5.499, allocations: 1.597 MB / 1.653 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/5.507, allocations: 2.248 MB / 1.655 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/5.507, allocations: 3.953 kB / 1.655 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/5.511, allocations: 227.8 kB / 1.655 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/5.511, allocations: 68.78 kB / 1.655 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/5.511, allocations: 35.97 kB / 1.655 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/5.514, allocations: 1.436 MB / 1.657 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/5.514, allocations: 3.984 kB / 1.657 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00627/5.52, allocations: 1.602 MB / 1.658 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/5.521, allocations: 156.3 kB / 1.659 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/5.521, allocations: 31.92 kB / 1.659 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/5.523, allocations: 83.73 kB / 1.659 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/5.524, allocations: 56.7 kB / 1.659 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002994/5.524, allocations: 59.95 kB / 1.659 GB, free: 13.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001217/5.525, allocations: 393.1 kB / 1.659 GB, free: 12.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.021e-06/5.525, allocations: 3.938 kB / 1.659 GB, free: 12.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00329/5.528, allocations: 423.9 kB / 1.66 GB, free: 12.41 MB / 442.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.005777/5.534, allocations: 1.143 MB / 1.661 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006135/5.541, allocations: 1.834 MB / 1.662 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/5.541, allocations: 4 kB / 1.662 GB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/5.543, allocations: 0.6708 MB / 1.663 GB, free: 8.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/5.55, allocations: 490.7 kB / 1.664 GB, free: 8.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009399/5.56, allocations: 1.957 MB / 1.666 GB, free: 6.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/5.561, allocations: 0.9945 MB / 1.666 GB, free: 5.145 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/5.562, allocations: 91.41 kB / 1.667 GB, free: 5.055 MB / 442.7 MB Notification: Performance of SimCode: time 2.104e-06/5.562, allocations: 0 / 1.667 GB, free: 5.055 MB / 442.7 MB Notification: Performance of Templates: time 0.3678/5.93, allocations: 30.09 MB / 1.696 GB, free: 76.2 MB / 442.7 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