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.0009447/0.0009448, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0008076/0.0008076, allocations: 88.75 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2827, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.42/1.703, allocations: 0.7118 GB / 1.079 GB, free: 61.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.703, allocations: 103 kB / 1.079 GB, free: 61.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625/3.328, allocations: 0.548 GB / 1.627 GB, free: 4.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/3.328, allocations: 0 / 1.627 GB, free: 4.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/3.328, allocations: 16 kB / 1.627 GB, free: 4.059 MB / 442.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.002674/3.331, allocations: 0.9991 MB / 1.628 GB, free: 3.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/3.331, allocations: 8.031 kB / 1.628 GB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/3.332, allocations: 148 kB / 1.628 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/3.333, allocations: 478.2 kB / 1.628 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/3.333, allocations: 58.38 kB / 1.628 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/3.333, allocations: 76.28 kB / 1.629 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/3.335, allocations: 0.9215 MB / 1.629 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/3.335, allocations: 16.17 kB / 1.629 GB, free: 1.273 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/3.335, allocations: 39.94 kB / 1.629 GB, free: 1.234 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/3.335, allocations: 16 kB / 1.629 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/3.336, allocations: 0.8471 MB / 1.63 GB, free: 376 kB / 442.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.198/3.534, allocations: 3.435 MB / 1.634 GB, free: 80.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/3.535, allocations: 0.6307 MB / 1.634 GB, free: 80.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/3.535, allocations: 364.5 kB / 1.635 GB, free: 80.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/3.536, allocations: 24.89 kB / 1.635 GB, free: 80.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/3.536, allocations: 44.91 kB / 1.635 GB, free: 80.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 4.188e-06/3.536, allocations: 0 / 1.635 GB, free: 80.36 MB / 442.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.01234/3.548, allocations: 6.19 MB / 1.641 GB, free: 78.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/3.548, allocations: 59.84 kB / 1.641 GB, free: 78.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/3.549, allocations: 0.5377 MB / 1.641 GB, free: 78.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/3.549, allocations: 44.98 kB / 1.641 GB, free: 78.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/3.549, allocations: 277.9 kB / 1.642 GB, free: 77.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/3.549, allocations: 252.9 kB / 1.642 GB, free: 77.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/3.549, allocations: 14.47 kB / 1.642 GB, free: 77.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/3.549, allocations: 379.6 kB / 1.642 GB, free: 77.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/3.55, allocations: 434.5 kB / 1.643 GB, free: 77.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/3.55, allocations: 0.5091 MB / 1.643 GB, free: 77.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/3.551, allocations: 0.969 MB / 1.644 GB, free: 77.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/3.551, allocations: 3.625 kB / 1.644 GB, free: 77.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001685/3.553, allocations: 1.33 MB / 1.645 GB, free: 77.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/3.553, allocations: 3.844 kB / 1.645 GB, free: 77.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/3.553, allocations: 0 / 1.645 GB, free: 77.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/3.554, allocations: 335.2 kB / 1.646 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/3.554, allocations: 182.1 kB / 1.646 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/3.56, allocations: 10.22 MB / 1.656 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/3.56, allocations: 80.73 kB / 1.656 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/3.56, allocations: 43.12 kB / 1.656 GB, free: 67.89 MB / 442.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 () * Number of clocked 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.0004845/3.561, allocations: 273.8 kB / 1.656 GB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/3.561, allocations: 67.28 kB / 1.656 GB, free: 67.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/3.563, allocations: 1.271 MB / 1.658 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/3.563, allocations: 6.719 kB / 1.658 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/3.563, allocations: 3.844 kB / 1.658 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/3.564, allocations: 1.606 MB / 1.659 GB, free: 66.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/3.567, allocations: 2.272 MB / 1.661 GB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/3.567, allocations: 0 / 1.661 GB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/3.568, allocations: 220 kB / 1.662 GB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/3.569, allocations: 69.03 kB / 1.662 GB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/3.569, allocations: 41.2 kB / 1.662 GB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008414/3.57, allocations: 1.44 MB / 1.663 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.57, allocations: 8.672 kB / 1.663 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/3.572, allocations: 1.592 MB / 1.665 GB, free: 64.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/3.572, allocations: 152 kB / 1.665 GB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/3.572, allocations: 27.22 kB / 1.665 GB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/3.573, allocations: 75.47 kB / 1.665 GB, free: 64.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/3.573, allocations: 54.38 kB / 1.665 GB, free: 64.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/3.573, allocations: 65.34 kB / 1.665 GB, free: 64.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004597/3.573, allocations: 400.7 kB / 1.665 GB, free: 64.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/3.573, allocations: 1.75 kB / 1.665 GB, free: 64.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001488/3.575, allocations: 422 kB / 1.666 GB, free: 64.72 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 () * Number of clocked 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.002348/3.577, allocations: 1.143 MB / 1.667 GB, free: 64.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002328/3.58, allocations: 1.858 MB / 1.669 GB, free: 63.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/3.58, allocations: 4.844 kB / 1.669 GB, free: 63.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009075/3.581, allocations: 0.6766 MB / 1.669 GB, free: 63.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/3.583, allocations: 0.4923 MB / 1.67 GB, free: 63.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/3.587, allocations: 2.622 MB / 1.672 GB, free: 62.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/3.587, allocations: 0.9729 MB / 1.673 GB, free: 62.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/3.587, allocations: 91.11 kB / 1.673 GB, free: 62.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/3.587, allocations: 0 / 1.673 GB, free: 62.13 MB / 442.7 MB Notification: Performance of Templates: time 0.03099/3.618, allocations: 30.6 MB / 1.703 GB, free: 61.23 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