Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002145/0.002145, allocations: 179.1 kB / 13.66 MB, free: 1.66 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.067/2.067, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001071/0.001071, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2805/0.2805, allocations: 43.5 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.129e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.468/2.592, allocations: 0.8269 GB / 1.3 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/2.592, allocations: 100.5 kB / 1.3 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.923/6.515, allocations: 0.7371 GB / 2.037 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/6.515, allocations: 0 / 2.037 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.286e-05/6.516, allocations: 26.11 kB / 2.037 GB, free: 76.28 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005334/6.521, allocations: 1.381 MB / 2.038 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/6.521, allocations: 8.031 kB / 2.038 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/6.523, allocations: 286.5 kB / 2.039 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/6.526, allocations: 0.654 MB / 2.039 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/6.526, allocations: 116.4 kB / 2.039 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/6.526, allocations: 71.05 kB / 2.039 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/6.529, allocations: 1.229 MB / 2.041 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/6.529, allocations: 3.938 kB / 2.041 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/6.53, allocations: 34.73 kB / 2.041 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/6.53, allocations: 69.23 kB / 2.041 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/6.532, allocations: 1.02 MB / 2.042 GB, free: 71.3 MB / 0.5105 GB 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.009626/6.542, allocations: 4.844 MB / 2.046 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/6.543, allocations: 269.1 kB / 2.047 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/6.543, allocations: 137.3 kB / 2.047 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/6.543, allocations: 240 kB / 2.047 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/6.543, allocations: 42.48 kB / 2.047 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.845e-06/6.543, allocations: 0 / 2.047 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.009899/6.553, allocations: 1.613 MB / 2.049 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/6.553, allocations: 132.5 kB / 2.049 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/6.555, allocations: 0.821 MB / 2.05 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/6.555, allocations: 37.7 kB / 2.05 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/6.556, allocations: 0.5837 MB / 2.05 GB, free: 62.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/6.556, allocations: 128.6 kB / 2.05 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/6.556, allocations: 20 kB / 2.05 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001085/6.556, allocations: 350.8 kB / 2.051 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/6.557, allocations: 266.5 kB / 2.051 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/6.558, allocations: 0.8365 MB / 2.052 GB, free: 60.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/6.559, allocations: 458.2 kB / 2.052 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/6.559, allocations: 4 kB / 2.052 GB, free: 59.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002619/6.561, allocations: 1.162 MB / 2.053 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/6.561, allocations: 12 kB / 2.053 GB, free: 58.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/6.561, allocations: 23.95 kB / 2.053 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/6.563, allocations: 277.3 kB / 2.054 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/6.564, allocations: 203.6 kB / 2.054 GB, free: 58.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/6.566, allocations: 0.8943 MB / 2.055 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/6.567, allocations: 75.89 kB / 2.055 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/6.568, allocations: 67.98 kB / 2.055 GB, free: 57.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002592/6.568, allocations: 180.4 kB / 2.055 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/6.568, allocations: 97.88 kB / 2.055 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/6.569, allocations: 473.7 kB / 2.055 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/6.569, allocations: 4 kB / 2.055 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/6.569, allocations: 3.953 kB / 2.056 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/6.569, allocations: 0 / 2.056 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/6.572, allocations: 1.114 MB / 2.057 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/6.572, allocations: 0 / 2.057 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/6.574, allocations: 183.8 kB / 2.057 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/6.574, allocations: 24.84 kB / 2.057 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/6.574, allocations: 8 kB / 2.057 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/6.576, allocations: 2.676 MB / 2.059 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/6.576, allocations: 0 / 2.059 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/6.577, allocations: 0.6931 MB / 2.06 GB, free: 51.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/6.578, allocations: 207.9 kB / 2.06 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/6.578, allocations: 7.719 kB / 2.06 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/6.579, allocations: 32.05 kB / 2.06 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/6.579, allocations: 27.86 kB / 2.06 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/6.579, allocations: 19.98 kB / 2.06 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001136/6.58, allocations: 0.605 MB / 2.061 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/6.58, allocations: 0 / 2.061 GB, free: 50.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002611/6.583, allocations: 0.5302 MB / 2.061 GB, free: 49.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004346/6.587, allocations: 1.4 MB / 2.063 GB, free: 48.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002008/6.59, allocations: 0.6554 MB / 2.063 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/6.59, allocations: 0 / 2.063 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/6.591, allocations: 342.5 kB / 2.064 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/6.594, allocations: 413.6 kB / 2.064 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/6.597, allocations: 1.224 MB / 2.065 GB, free: 45.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/6.598, allocations: 1.036 MB / 2.066 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/6.598, allocations: 91.03 kB / 2.066 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/6.598, allocations: 0 / 2.066 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.05018/6.648, allocations: 27.37 MB / 2.093 GB, free: 17.45 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches