Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001125/0.001125, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.76/1.76, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001038/0.001038, allocations: 90.8 kB / 270.2 MB, free: 13.36 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.2457/0.2457, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003818, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.106/2.276, allocations: 0.8262 GB / 1.305 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.277, allocations: 100.7 kB / 1.305 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.579/4.856, allocations: 0.7121 GB / 2.017 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.113e-06/4.856, allocations: 0 / 2.017 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.389e-05/4.856, allocations: 31.95 kB / 2.017 GB, free: 85.61 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.00489/4.861, allocations: 1.649 MB / 2.019 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/4.861, allocations: 9 kB / 2.019 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/4.863, allocations: 311.2 kB / 2.019 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/4.865, allocations: 0.8018 MB / 2.02 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/4.865, allocations: 142 kB / 2.02 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/4.865, allocations: 113.7 kB / 2.02 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/4.867, allocations: 1.783 MB / 2.022 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/4.867, allocations: 6.719 kB / 2.022 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/4.868, allocations: 51.33 kB / 2.022 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-05/4.868, allocations: 80.05 kB / 2.022 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/4.87, allocations: 1.637 MB / 2.024 GB, free: 83.03 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.008733/4.879, allocations: 6.857 MB / 2.03 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/4.88, allocations: 0.8135 MB / 2.031 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/4.88, allocations: 247.6 kB / 2.031 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/4.88, allocations: 46.08 kB / 2.031 GB, free: 77.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.995e-06/4.88, allocations: 2.469 kB / 2.031 GB, free: 77.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01189/4.892, allocations: 4.113 MB / 2.035 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/4.892, allocations: 111.5 kB / 2.035 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/4.893, allocations: 0.9944 MB / 2.036 GB, free: 72.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/4.894, allocations: 41.7 kB / 2.036 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/4.894, allocations: 0.5203 MB / 2.037 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/4.894, allocations: 264.2 kB / 2.037 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/4.894, allocations: 20 kB / 2.037 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001281/4.894, allocations: 356.2 kB / 2.038 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/4.895, allocations: 0.568 MB / 2.038 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009698/4.896, allocations: 0.862 MB / 2.039 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/4.897, allocations: 0.6914 MB / 2.04 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/4.897, allocations: 4 kB / 2.04 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002869/4.9, allocations: 1.978 MB / 2.042 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/4.9, allocations: 14.97 kB / 2.042 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/4.9, allocations: 11.98 kB / 2.042 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004454/4.905, allocations: 1.371 MB / 2.043 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/4.905, allocations: 139.8 kB / 2.043 GB, free: 65.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/4.908, allocations: 1.917 MB / 2.045 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/4.909, allocations: 121 kB / 2.045 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/4.909, allocations: 67.98 kB / 2.045 GB, free: 63.41 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.0007545/4.91, allocations: 393.5 kB / 2.045 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/4.91, allocations: 106.8 kB / 2.046 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/4.912, allocations: 1.396 MB / 2.047 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/4.912, allocations: 11.95 kB / 2.047 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/4.912, allocations: 0 / 2.047 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/4.912, allocations: 6.062 kB / 2.047 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/4.916, allocations: 2.679 MB / 2.05 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/4.916, allocations: 7.172 kB / 2.05 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/4.918, allocations: 322.1 kB / 2.05 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/4.918, allocations: 76.11 kB / 2.05 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/4.918, allocations: 39.97 kB / 2.05 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/4.92, allocations: 2.85 MB / 2.053 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/4.92, allocations: 0 / 2.053 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/4.922, allocations: 1.889 MB / 2.055 GB, free: 53.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008861/4.923, allocations: 347.7 kB / 2.055 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/4.923, allocations: 27.98 kB / 2.055 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/4.924, allocations: 91.23 kB / 2.055 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/4.924, allocations: 52.58 kB / 2.055 GB, free: 52.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/4.925, allocations: 63.94 kB / 2.055 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009281/4.926, allocations: 0.7852 MB / 2.056 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/4.926, allocations: 0 / 2.056 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002123/4.928, allocations: 0.6274 MB / 2.057 GB, free: 51.33 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.003106/4.931, allocations: 1.445 MB / 2.058 GB, free: 50.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002333/4.933, allocations: 1.454 MB / 2.059 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/4.933, allocations: 8.656 kB / 2.059 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/4.935, allocations: 0.839 MB / 2.06 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/4.938, allocations: 0.7094 MB / 2.061 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/4.942, allocations: 3.362 MB / 2.064 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/4.943, allocations: 1.199 MB / 2.065 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001502/4.944, allocations: 413.6 kB / 2.066 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/4.945, allocations: 111.4 kB / 2.066 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/4.945, allocations: 0 / 2.066 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.05777/5.002, allocations: 48 MB / 2.113 GB, free: 10.34 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches