Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009916, allocations: 94.2 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3995/0.3995, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4503, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.031/2.482, allocations: 0.7922 GB / 1.302 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/2.482, allocations: 100 kB / 1.302 GB, free: 174.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.506/4.988, allocations: 0.7032 GB / 2.005 GB, free: 78.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/4.988, allocations: 3.406 kB / 2.005 GB, free: 78.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.711e-05/4.988, allocations: 33.27 kB / 2.005 GB, free: 78.51 MB / 0.5261 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.006512/4.995, allocations: 1.662 MB / 2.007 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/4.995, allocations: 10.12 kB / 2.007 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/4.997, allocations: 315.9 kB / 2.007 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/5, allocations: 0.8122 MB / 2.008 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/5, allocations: 139.6 kB / 2.008 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000446/5, allocations: 111.7 kB / 2.008 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/5.004, allocations: 1.791 MB / 2.01 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/5.004, allocations: 7.844 kB / 2.01 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/5.004, allocations: 54.16 kB / 2.01 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.592e-05/5.004, allocations: 76.73 kB / 2.01 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/5.007, allocations: 1.634 MB / 2.012 GB, free: 77.05 MB / 0.5261 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.01063/5.018, allocations: 6.836 MB / 2.018 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/5.019, allocations: 0.7994 MB / 2.019 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/5.019, allocations: 276.9 kB / 2.019 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/5.019, allocations: 42.7 kB / 2.019 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 5.31e-06/5.019, allocations: 0 / 2.019 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.01116/5.031, allocations: 4.127 MB / 2.023 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/5.031, allocations: 119.2 kB / 2.023 GB, free: 70.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/5.032, allocations: 0.9885 MB / 2.024 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/5.033, allocations: 45.17 kB / 2.024 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/5.033, allocations: 0.5207 MB / 2.025 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/5.033, allocations: 267.2 kB / 2.025 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/5.033, allocations: 19.97 kB / 2.025 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/5.034, allocations: 341 kB / 2.026 GB, free: 69.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008544/5.034, allocations: 0.5765 MB / 2.026 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/5.035, allocations: 0.8558 MB / 2.027 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/5.036, allocations: 0.6837 MB / 2.028 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/5.036, allocations: 3.969 kB / 2.028 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002934/5.039, allocations: 1.985 MB / 2.03 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/5.039, allocations: 11.31 kB / 2.03 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/5.039, allocations: 4.938 kB / 2.03 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/5.044, allocations: 1.408 MB / 2.031 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/5.044, allocations: 140.1 kB / 2.031 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/5.047, allocations: 1.925 MB / 2.033 GB, free: 66.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/5.048, allocations: 111.8 kB / 2.033 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/5.049, allocations: 68.14 kB / 2.033 GB, free: 66.32 MB / 0.5261 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.001019/5.05, allocations: 397.9 kB / 2.034 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/5.05, allocations: 119.5 kB / 2.034 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/5.053, allocations: 1.486 MB / 2.035 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/5.053, allocations: 11.16 kB / 2.035 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/5.053, allocations: 0 / 2.035 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/5.053, allocations: 7.594 kB / 2.035 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/5.057, allocations: 2.688 MB / 2.038 GB, free: 64.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/5.057, allocations: 0 / 2.038 GB, free: 64.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/5.059, allocations: 334 kB / 2.038 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/5.059, allocations: 63.42 kB / 2.038 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-05/5.059, allocations: 35.69 kB / 2.038 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/5.061, allocations: 2.86 MB / 2.041 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/5.061, allocations: 7.984 kB / 2.041 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/5.064, allocations: 1.879 MB / 2.043 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/5.065, allocations: 349.6 kB / 2.043 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/5.065, allocations: 30.52 kB / 2.043 GB, free: 58.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/5.067, allocations: 93.56 kB / 2.043 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/5.067, allocations: 52.95 kB / 2.043 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/5.067, allocations: 70.89 kB / 2.043 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001278/5.068, allocations: 0.7863 MB / 2.044 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/5.068, allocations: 2.344 kB / 2.044 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002546/5.071, allocations: 0.5724 MB / 2.045 GB, free: 57.36 MB / 0.5261 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.003459/5.075, allocations: 1.303 MB / 2.046 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002582/5.077, allocations: 1.456 MB / 2.047 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/5.077, allocations: 4.188 kB / 2.047 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/5.079, allocations: 0.8418 MB / 2.048 GB, free: 54.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/5.082, allocations: 0.728 MB / 2.049 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/5.088, allocations: 3.364 MB / 2.052 GB, free: 50.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/5.089, allocations: 1.188 MB / 2.053 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001933/5.091, allocations: 486.2 kB / 2.054 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/5.092, allocations: 119.4 kB / 2.054 GB, free: 48.63 MB / 0.5261 GB Notification: Performance of SimCode: time 8.61e-07/5.092, allocations: 4 kB / 2.054 GB, free: 48.63 MB / 0.5261 GB Notification: Performance of Templates: time 0.06185/5.153, allocations: 46.94 MB / 2.1 GB, free: 2.223 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches