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.001736/0.001736, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.619/1.619, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.001031/0.001031, allocations: 84.97 kB / 271.3 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.4065/0.4065, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 8 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.16/2.293, allocations: 0.8264 GB / 1.306 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/2.294, allocations: 93.62 kB / 1.306 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.234/4.527, allocations: 0.7076 GB / 2.014 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/4.527, allocations: 0 / 2.014 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001085/4.527, allocations: 26.88 kB / 2.014 GB, free: 69.09 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.006194/4.534, allocations: 1.64 MB / 2.016 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/4.534, allocations: 9.594 kB / 2.016 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/4.536, allocations: 295.3 kB / 2.016 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/4.538, allocations: 0.8312 MB / 2.017 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/4.538, allocations: 140.4 kB / 2.017 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004241/4.539, allocations: 106.5 kB / 2.017 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/4.542, allocations: 1.793 MB / 2.019 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/4.542, allocations: 15.89 kB / 2.019 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/4.542, allocations: 39.97 kB / 2.019 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/4.543, allocations: 81.97 kB / 2.019 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/4.545, allocations: 1.628 MB / 2.021 GB, free: 64.18 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.009338/4.555, allocations: 6.901 MB / 2.027 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/4.556, allocations: 0.8133 MB / 2.028 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/4.556, allocations: 430.3 kB / 2.028 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/4.557, allocations: 266.2 kB / 2.029 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/4.557, allocations: 45.7 kB / 2.029 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/4.557, allocations: 0 / 2.029 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01006/4.567, allocations: 4.118 MB / 2.033 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/4.567, allocations: 115.2 kB / 2.033 GB, free: 50.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/4.568, allocations: 1.101 MB / 2.034 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/4.569, allocations: 45.69 kB / 2.034 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/4.569, allocations: 0.5179 MB / 2.035 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/4.569, allocations: 264.1 kB / 2.035 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/4.569, allocations: 16 kB / 2.035 GB, free: 49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001187/4.569, allocations: 345.9 kB / 2.035 GB, free: 48.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/4.57, allocations: 0.5719 MB / 2.036 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/4.571, allocations: 0.8642 MB / 2.036 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/4.573, allocations: 1.431 MB / 2.038 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/4.573, allocations: 0 / 2.038 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002911/4.576, allocations: 1.993 MB / 2.04 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/4.576, allocations: 8 kB / 2.04 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/4.576, allocations: 8 kB / 2.04 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/4.58, allocations: 1.37 MB / 2.041 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/4.581, allocations: 139.8 kB / 2.041 GB, free: 42.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/4.583, allocations: 1.921 MB / 2.043 GB, free: 40.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/4.584, allocations: 111.8 kB / 2.043 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/4.584, allocations: 75.97 kB / 2.043 GB, free: 39.9 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.0008421/4.585, allocations: 397.5 kB / 2.044 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/4.586, allocations: 106.8 kB / 2.044 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/4.588, allocations: 1.391 MB / 2.045 GB, free: 38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/4.588, allocations: 8 kB / 2.045 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/4.588, allocations: 3.938 kB / 2.045 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/4.588, allocations: 3.984 kB / 2.045 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/4.592, allocations: 2.679 MB / 2.048 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/4.592, allocations: 4 kB / 2.048 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/4.594, allocations: 327.6 kB / 2.048 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/4.594, allocations: 64.83 kB / 2.048 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.762e-05/4.594, allocations: 43.95 kB / 2.048 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/4.596, allocations: 2.846 MB / 2.051 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/4.596, allocations: 0 / 2.051 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/4.599, allocations: 1.868 MB / 2.053 GB, free: 29.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/4.6, allocations: 359.7 kB / 2.053 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/4.6, allocations: 27.98 kB / 2.053 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/4.602, allocations: 79.92 kB / 2.053 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/4.602, allocations: 59.05 kB / 2.053 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/4.602, allocations: 71.81 kB / 2.053 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001348/4.603, allocations: 0.7852 MB / 2.054 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/4.603, allocations: 0 / 2.054 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002702/4.606, allocations: 0.6286 MB / 2.055 GB, free: 27.8 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.003764/4.61, allocations: 1.436 MB / 2.056 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002512/4.612, allocations: 1.458 MB / 2.058 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/4.613, allocations: 0.6562 kB / 2.058 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/4.614, allocations: 0.8497 MB / 2.058 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/4.618, allocations: 0.7294 MB / 2.059 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/4.623, allocations: 3.354 MB / 2.062 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/4.624, allocations: 1.184 MB / 2.064 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001662/4.625, allocations: 404.2 kB / 2.064 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/4.626, allocations: 115.4 kB / 2.064 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of SimCode: time 6.22e-07/4.626, allocations: 0 / 2.064 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.3345/4.96, allocations: 49.1 MB / 2.112 GB, free: 74.86 MB / 0.5105 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/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches