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.00148/0.00148, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001118/0.001118, allocations: 92.42 kB / 270.9 MB, free: 8.359 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.5178/0.5178, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006827/0.0006827, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1505, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.754/2.905, allocations: 0.8262 GB / 1.305 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/2.905, allocations: 98.05 kB / 1.305 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.803/6.708, allocations: 0.7121 GB / 2.017 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.564e-06/6.708, allocations: 0 / 2.017 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001084/6.708, allocations: 32.28 kB / 2.017 GB, free: 67.51 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.007051/6.715, allocations: 1.643 MB / 2.019 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/6.715, allocations: 10.22 kB / 2.019 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/6.717, allocations: 314.5 kB / 2.019 GB, free: 67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/6.72, allocations: 0.8089 MB / 2.02 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/6.72, allocations: 133.7 kB / 2.02 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/6.721, allocations: 109.3 kB / 2.02 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004457/6.725, allocations: 1.791 MB / 2.022 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.556e-05/6.725, allocations: 3 kB / 2.022 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002566/6.725, allocations: 50.64 kB / 2.022 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/6.726, allocations: 79.78 kB / 2.022 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/6.73, allocations: 1.63 MB / 2.023 GB, free: 66.47 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.0141/6.744, allocations: 6.867 MB / 2.03 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/6.746, allocations: 0.7987 MB / 2.031 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/6.747, allocations: 250.1 kB / 2.031 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/6.747, allocations: 46.39 kB / 2.031 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.327e-06/6.747, allocations: 0 / 2.031 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.0182/6.765, allocations: 4.121 MB / 2.035 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/6.765, allocations: 111.5 kB / 2.035 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/6.767, allocations: 0.9931 MB / 2.036 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000323/6.767, allocations: 44.86 kB / 2.036 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/6.768, allocations: 0.5184 MB / 2.037 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/6.768, allocations: 263.3 kB / 2.037 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/6.768, allocations: 18.25 kB / 2.037 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001009/6.768, allocations: 353.5 kB / 2.038 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/6.77, allocations: 0.5697 MB / 2.038 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/6.772, allocations: 0.8609 MB / 2.039 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/6.773, allocations: 0.6861 MB / 2.04 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/6.773, allocations: 6.672 kB / 2.04 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005472/6.779, allocations: 1.918 MB / 2.041 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/6.779, allocations: 8.875 kB / 2.041 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/6.779, allocations: 12 kB / 2.041 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008753/6.788, allocations: 1.375 MB / 2.043 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/6.789, allocations: 144.7 kB / 2.043 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/6.794, allocations: 1.913 MB / 2.045 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/6.796, allocations: 111.3 kB / 2.045 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/6.797, allocations: 74.12 kB / 2.045 GB, free: 60.13 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.001197/6.798, allocations: 391.4 kB / 2.045 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/6.798, allocations: 115.2 kB / 2.045 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/6.803, allocations: 1.383 MB / 2.047 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/6.803, allocations: 11.31 kB / 2.047 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/6.803, allocations: 3.844 kB / 2.047 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/6.803, allocations: 10.56 kB / 2.047 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/6.81, allocations: 2.678 MB / 2.049 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/6.81, allocations: 0 / 2.049 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/6.813, allocations: 330.4 kB / 2.05 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/6.814, allocations: 70.53 kB / 2.05 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/6.814, allocations: 44.27 kB / 2.05 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/6.817, allocations: 2.844 MB / 2.053 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/6.817, allocations: 1.5 kB / 2.053 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/6.822, allocations: 1.892 MB / 2.055 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/6.823, allocations: 348.5 kB / 2.055 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/6.824, allocations: 23.59 kB / 2.055 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/6.826, allocations: 90.55 kB / 2.055 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/6.826, allocations: 51.14 kB / 2.055 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/6.827, allocations: 70.98 kB / 2.055 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001953/6.829, allocations: 0.7838 MB / 2.056 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.52e-07/6.829, allocations: 0 / 2.056 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003693/6.832, allocations: 0.6241 MB / 2.056 GB, free: 56.44 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.005784/6.838, allocations: 1.434 MB / 2.058 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004971/6.843, allocations: 1.459 MB / 2.059 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/6.843, allocations: 3.125 kB / 2.059 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/6.846, allocations: 0.8354 MB / 2.06 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/6.853, allocations: 0.7228 MB / 2.061 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/6.862, allocations: 3.44 MB / 2.064 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/6.863, allocations: 1.198 MB / 2.065 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008468/6.864, allocations: 120.5 kB / 2.065 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/6.864, allocations: 0 / 2.065 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.06849/6.933, allocations: 36.22 MB / 2.101 GB, free: 53.09 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