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.001006/0.001006, allocations: 181.5 kB / 17.41 MB, free: 4.387 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.53/1.53, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007888/0.0007888, allocations: 94.3 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4447/0.4447, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 8 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.047/2.198, allocations: 0.8264 GB / 1.306 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/2.198, allocations: 101.9 kB / 1.306 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.886/4.084, allocations: 0.7076 GB / 2.014 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/4.084, allocations: 4 kB / 2.014 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.318e-05/4.084, allocations: 24 kB / 2.014 GB, free: 13.2 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.003597/4.088, allocations: 1.637 MB / 2.016 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/4.088, allocations: 11.97 kB / 2.016 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/4.089, allocations: 299.2 kB / 2.016 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/4.091, allocations: 0.8265 MB / 2.017 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/4.091, allocations: 146.9 kB / 2.017 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/4.091, allocations: 108 kB / 2.017 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/4.093, allocations: 1.796 MB / 2.019 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/4.093, allocations: 7.938 kB / 2.019 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/4.093, allocations: 47.98 kB / 2.019 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/4.093, allocations: 77.97 kB / 2.019 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/4.095, allocations: 1.636 MB / 2.02 GB, free: 6.43 MB / 0.5105 GB 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.2331/4.329, allocations: 6.879 MB / 2.027 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/4.33, allocations: 0.7961 MB / 2.028 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007292/4.331, allocations: 436 kB / 2.028 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/4.331, allocations: 261.3 kB / 2.029 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/4.331, allocations: 53.48 kB / 2.029 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.817e-06/4.331, allocations: 0.9062 kB / 2.029 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01064/4.342, allocations: 4.108 MB / 2.033 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/4.342, allocations: 117.1 kB / 2.033 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/4.343, allocations: 1.096 MB / 2.034 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/4.344, allocations: 47.64 kB / 2.034 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/4.344, allocations: 0.5153 MB / 2.034 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/4.344, allocations: 267.7 kB / 2.035 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/4.344, allocations: 21.25 kB / 2.035 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/4.344, allocations: 348.3 kB / 2.035 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007582/4.345, allocations: 0.5699 MB / 2.036 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009151/4.346, allocations: 0.8637 MB / 2.036 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/4.347, allocations: 1.43 MB / 2.038 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/4.347, allocations: 2.812 kB / 2.038 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002876/4.35, allocations: 1.979 MB / 2.04 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/4.35, allocations: 8.906 kB / 2.04 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/4.35, allocations: 8.531 kB / 2.04 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/4.355, allocations: 1.374 MB / 2.041 GB, free: 65.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/4.355, allocations: 141.5 kB / 2.041 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/4.358, allocations: 1.923 MB / 2.043 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/4.359, allocations: 116.9 kB / 2.043 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/4.359, allocations: 68.12 kB / 2.043 GB, free: 64.69 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 () * Number of clocked 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.0007111/4.36, allocations: 393.8 kB / 2.044 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/4.36, allocations: 117.8 kB / 2.044 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/4.362, allocations: 1.385 MB / 2.045 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/4.362, allocations: 8.688 kB / 2.045 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/4.362, allocations: 1.859 kB / 2.045 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/4.362, allocations: 3.281 kB / 2.045 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/4.366, allocations: 2.691 MB / 2.048 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/4.366, allocations: 0 / 2.048 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/4.368, allocations: 333.2 kB / 2.048 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/4.368, allocations: 64.12 kB / 2.048 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/4.368, allocations: 41.14 kB / 2.048 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/4.37, allocations: 2.841 MB / 2.051 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/4.37, allocations: 3.344 kB / 2.051 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/4.372, allocations: 1.877 MB / 2.053 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/4.373, allocations: 346.8 kB / 2.053 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/4.373, allocations: 26.09 kB / 2.053 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/4.374, allocations: 85.62 kB / 2.053 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/4.374, allocations: 61.81 kB / 2.053 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/4.374, allocations: 71.3 kB / 2.053 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009883/4.375, allocations: 0.7854 MB / 2.054 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.243e-06/4.375, allocations: 0 / 2.054 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002095/4.377, allocations: 0.6242 MB / 2.055 GB, free: 61.03 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 () * Number of clocked 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.002983/4.38, allocations: 1.436 MB / 2.056 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002422/4.383, allocations: 1.46 MB / 2.058 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/4.383, allocations: 3.969 kB / 2.058 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/4.384, allocations: 0.8365 MB / 2.058 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/4.387, allocations: 0.7339 MB / 2.059 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/4.392, allocations: 3.431 MB / 2.063 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/4.393, allocations: 1.175 MB / 2.064 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/4.393, allocations: 118.2 kB / 2.064 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of SimCode: time 7.71e-07/4.393, allocations: 2.344 kB / 2.064 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.05032/4.444, allocations: 36.2 MB / 2.099 GB, free: 57.88 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