Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.912/1.912, 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.001109/0.001108, allocations: 98.83 kB / 270.2 MB, free: 13.37 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.2412/0.2412, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.042/2.194, allocations: 0.827 GB / 1.306 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/2.195, allocations: 97.12 kB / 1.306 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.572/4.766, allocations: 0.7367 GB / 2.043 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.285e-06/4.766, allocations: 0 / 2.043 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.587e-05/4.767, allocations: 24.34 kB / 2.043 GB, free: 79.32 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005092/4.772, allocations: 1.469 MB / 2.044 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/4.772, allocations: 10.89 kB / 2.044 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/4.773, allocations: 282.9 kB / 2.044 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/4.775, allocations: 0.6566 MB / 2.045 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/4.776, allocations: 122.4 kB / 2.045 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/4.776, allocations: 69.91 kB / 2.045 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/4.778, allocations: 1.246 MB / 2.046 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/4.778, allocations: 3.938 kB / 2.046 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/4.779, allocations: 39.91 kB / 2.046 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.751e-05/4.779, allocations: 61.28 kB / 2.046 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/4.78, allocations: 1.036 MB / 2.047 GB, free: 75.3 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.005913/4.786, allocations: 4.839 MB / 2.052 GB, free: 70.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/4.786, allocations: 270.9 kB / 2.052 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/4.787, allocations: 249.6 kB / 2.053 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/4.787, allocations: 34.75 kB / 2.053 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/4.787, allocations: 0 / 2.053 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005724/4.792, allocations: 1.736 MB / 2.054 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/4.793, allocations: 136.2 kB / 2.055 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/4.794, allocations: 0.8248 MB / 2.055 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/4.794, allocations: 29.7 kB / 2.055 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/4.794, allocations: 0.5742 MB / 2.056 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.485e-05/4.794, allocations: 130.3 kB / 2.056 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/4.794, allocations: 20 kB / 2.056 GB, free: 66.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001536/4.794, allocations: 398.7 kB / 2.056 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/4.795, allocations: 266.1 kB / 2.057 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/4.796, allocations: 0.854 MB / 2.058 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/4.796, allocations: 455.4 kB / 2.058 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/4.796, allocations: 8 kB / 2.058 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001634/4.798, allocations: 1.218 MB / 2.059 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/4.798, allocations: 12 kB / 2.059 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/4.798, allocations: 20 kB / 2.059 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/4.799, allocations: 283.2 kB / 2.059 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/4.8, allocations: 207.6 kB / 2.06 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008846/4.801, allocations: 0.911 MB / 2.061 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/4.801, allocations: 68.03 kB / 2.061 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/4.802, allocations: 71.94 kB / 2.061 GB, free: 61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004654/4.802, allocations: 341.1 kB / 2.061 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/4.802, allocations: 94.88 kB / 2.061 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/4.803, allocations: 477.6 kB / 2.062 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/4.803, allocations: 0 / 2.062 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/4.803, allocations: 4 kB / 2.062 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/4.803, allocations: 0 / 2.062 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/4.805, allocations: 1.121 MB / 2.063 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/4.805, allocations: 0 / 2.063 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/4.805, allocations: 191 kB / 2.063 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.478e-05/4.806, allocations: 20.84 kB / 2.063 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/4.806, allocations: 11.98 kB / 2.063 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/4.807, allocations: 2.691 MB / 2.065 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/4.807, allocations: 3.953 kB / 2.065 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/4.808, allocations: 0.6971 MB / 2.066 GB, free: 55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/4.808, allocations: 204 kB / 2.066 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/4.808, allocations: 15.95 kB / 2.066 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/4.809, allocations: 31.8 kB / 2.066 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/4.809, allocations: 23.97 kB / 2.066 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/4.809, allocations: 22.33 kB / 2.066 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007261/4.81, allocations: 0.6165 MB / 2.067 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/4.81, allocations: 0 / 2.067 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002387/4.812, allocations: 0.5309 MB / 2.068 GB, free: 53.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (33): * Single equations (assignments): 31 * 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.00392/4.816, allocations: 1.385 MB / 2.069 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001452/4.818, allocations: 0.6623 MB / 2.07 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/4.818, allocations: 4 kB / 2.07 GB, free: 51.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008563/4.819, allocations: 359.1 kB / 2.07 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/4.821, allocations: 408 kB / 2.07 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/4.824, allocations: 1.886 MB / 2.072 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/4.824, allocations: 1.044 MB / 2.073 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001148/4.825, allocations: 311.5 kB / 2.073 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/4.826, allocations: 71.44 kB / 2.074 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of SimCode: time 2.766e-06/4.826, allocations: 0 / 2.074 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.04632/4.872, allocations: 32.02 MB / 2.105 GB, free: 15.82 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches