Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) 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.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="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.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="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002313/0.002313, allocations: 181.3 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.06/2.06, 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.001082/0.001081, allocations: 94.62 kB / 267.5 MB, free: 14.1 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.2777/0.2777, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.452e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.41/2.531, allocations: 0.8261 GB / 1.299 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/2.532, allocations: 91.88 kB / 1.299 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.051/6.583, allocations: 0.7125 GB / 2.011 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.234e-06/6.583, allocations: 0 / 2.011 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.529e-05/6.583, allocations: 26.16 kB / 2.011 GB, free: 84.81 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006553/6.59, allocations: 1.564 MB / 2.013 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/6.59, allocations: 7.312 kB / 2.013 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/6.592, allocations: 304.3 kB / 2.013 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/6.596, allocations: 0.812 MB / 2.014 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/6.596, allocations: 139.6 kB / 2.014 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/6.596, allocations: 106.9 kB / 2.014 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/6.601, allocations: 1.767 MB / 2.016 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/6.601, allocations: 7.406 kB / 2.016 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/6.601, allocations: 50.39 kB / 2.016 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/6.601, allocations: 73.77 kB / 2.016 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/6.605, allocations: 1.604 MB / 2.018 GB, free: 83.32 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.01521/6.621, allocations: 6.857 MB / 2.024 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/6.623, allocations: 0.7929 MB / 2.025 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/6.624, allocations: 433.6 kB / 2.026 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003763/6.624, allocations: 250.5 kB / 2.026 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/6.624, allocations: 47.27 kB / 2.026 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 4.068e-06/6.624, allocations: 1.531 kB / 2.026 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01631/6.64, allocations: 3.751 MB / 2.03 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/6.641, allocations: 113.7 kB / 2.03 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/6.642, allocations: 0.9796 MB / 2.031 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002358/6.643, allocations: 41.45 kB / 2.031 GB, free: 76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/6.643, allocations: 0.5194 MB / 2.031 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/6.643, allocations: 264.4 kB / 2.031 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/6.643, allocations: 19.5 kB / 2.031 GB, free: 75.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001006/6.644, allocations: 357.8 kB / 2.032 GB, free: 75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/6.645, allocations: 0.5697 MB / 2.032 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/6.646, allocations: 0.8461 MB / 2.033 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/6.648, allocations: 0.6771 MB / 2.034 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/6.648, allocations: 5.344 kB / 2.034 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004412/6.652, allocations: 1.881 MB / 2.036 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/6.652, allocations: 8 kB / 2.036 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/6.652, allocations: 8 kB / 2.036 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007909/6.66, allocations: 1.365 MB / 2.037 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/6.661, allocations: 138.9 kB / 2.037 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/6.665, allocations: 1.906 MB / 2.039 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/6.668, allocations: 110.5 kB / 2.039 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/6.668, allocations: 67.73 kB / 2.039 GB, free: 68.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0003993/6.668, allocations: 168.8 kB / 2.039 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/6.669, allocations: 109.8 kB / 2.039 GB, free: 68.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/6.672, allocations: 1.362 MB / 2.041 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/6.672, allocations: 11.95 kB / 2.041 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/6.672, allocations: 0 / 2.041 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/6.672, allocations: 5.484 kB / 2.041 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/6.679, allocations: 2.676 MB / 2.043 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/6.679, allocations: 0 / 2.043 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/6.682, allocations: 333.9 kB / 2.044 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/6.683, allocations: 67.27 kB / 2.044 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/6.683, allocations: 35.97 kB / 2.044 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/6.685, allocations: 2.84 MB / 2.047 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/6.685, allocations: 2.25 kB / 2.047 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/6.689, allocations: 1.869 MB / 2.048 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/6.691, allocations: 339.6 kB / 2.049 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/6.691, allocations: 31.98 kB / 2.049 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/6.693, allocations: 86.16 kB / 2.049 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/6.693, allocations: 60.64 kB / 2.049 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/6.693, allocations: 63.95 kB / 2.049 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001468/6.695, allocations: 0.7817 MB / 2.05 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/6.695, allocations: 0 / 2.05 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002929/6.698, allocations: 0.617 MB / 2.05 GB, free: 57.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (78): * 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): 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.004737/6.702, allocations: 1.441 MB / 2.052 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003909/6.706, allocations: 1.43 MB / 2.053 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/6.706, allocations: 7.812 kB / 2.053 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/6.709, allocations: 0.8187 MB / 2.054 GB, free: 53.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005934/6.715, allocations: 0.7222 MB / 2.055 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/6.722, allocations: 2.48 MB / 2.057 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/6.723, allocations: 1.188 MB / 2.058 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/6.724, allocations: 115.4 kB / 2.058 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/6.724, allocations: 0 / 2.058 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.06619/6.79, allocations: 36.15 MB / 2.094 GB, free: 13.75 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches