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.001255/0.001255, allocations: 182.7 kB / 18.09 MB, free: 3.602 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.417/1.417, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0009418/0.0009418, allocations: 95 kB / 293.3 MB, free: 10.8 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.3869/0.3869, allocations: 44.14 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004184, allocations: 19.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3928, allocations: 61.87 MB / 0.5107 GB, free: 38.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.844/2.237, allocations: 0.7924 GB / 1.303 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/2.237, allocations: 98.56 kB / 1.303 GB, free: 175.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.287/4.524, allocations: 0.6997 GB / 2.003 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/4.524, allocations: 0 / 2.003 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.48e-05/4.524, allocations: 32.72 kB / 2.003 GB, free: 78.73 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.005542/4.53, allocations: 1.652 MB / 2.005 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/4.53, allocations: 17.12 kB / 2.005 GB, free: 78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/4.532, allocations: 295.2 kB / 2.005 GB, free: 77.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/4.535, allocations: 0.8281 MB / 2.006 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/4.535, allocations: 140.2 kB / 2.006 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/4.535, allocations: 114.4 kB / 2.006 GB, free: 77.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/4.538, allocations: 1.799 MB / 2.008 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/4.538, allocations: 7.875 kB / 2.008 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/4.539, allocations: 55.86 kB / 2.008 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.792e-05/4.539, allocations: 75.28 kB / 2.008 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/4.541, allocations: 1.634 MB / 2.009 GB, free: 77.29 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.008106/4.549, allocations: 6.856 MB / 2.016 GB, free: 73.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/4.55, allocations: 0.7953 MB / 2.017 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/4.551, allocations: 437.8 kB / 2.017 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/4.551, allocations: 275.2 kB / 2.018 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/4.551, allocations: 46.52 kB / 2.018 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 3.437e-06/4.551, allocations: 3.062 kB / 2.018 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.009124/4.56, allocations: 4.119 MB / 2.022 GB, free: 71.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/4.56, allocations: 119.7 kB / 2.022 GB, free: 71.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/4.562, allocations: 1.097 MB / 2.023 GB, free: 70.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/4.562, allocations: 48.08 kB / 2.023 GB, free: 70.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/4.562, allocations: 0.5193 MB / 2.023 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/4.562, allocations: 263.1 kB / 2.024 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/4.562, allocations: 19.88 kB / 2.024 GB, free: 70.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/4.562, allocations: 343.8 kB / 2.024 GB, free: 69.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/4.563, allocations: 0.5756 MB / 2.024 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/4.564, allocations: 0.864 MB / 2.025 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/4.566, allocations: 1.421 MB / 2.027 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/4.566, allocations: 6.281 kB / 2.027 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002661/4.568, allocations: 1.987 MB / 2.029 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/4.569, allocations: 9.438 kB / 2.029 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/4.569, allocations: 9.469 kB / 2.029 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004245/4.573, allocations: 1.41 MB / 2.03 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/4.573, allocations: 138.3 kB / 2.03 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/4.576, allocations: 1.916 MB / 2.032 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/4.577, allocations: 116.9 kB / 2.032 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/4.577, allocations: 65.38 kB / 2.032 GB, free: 66.23 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.0007714/4.578, allocations: 409.6 kB / 2.033 GB, free: 66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/4.578, allocations: 114.3 kB / 2.033 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/4.58, allocations: 1.479 MB / 2.034 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/4.58, allocations: 11.22 kB / 2.034 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/4.58, allocations: 3.938 kB / 2.034 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/4.58, allocations: 3.609 kB / 2.034 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/4.584, allocations: 2.697 MB / 2.037 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/4.584, allocations: 4 kB / 2.037 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/4.586, allocations: 327 kB / 2.037 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/4.586, allocations: 65.94 kB / 2.037 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/4.586, allocations: 41.95 kB / 2.037 GB, free: 64.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/4.588, allocations: 2.831 MB / 2.04 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/4.588, allocations: 0 / 2.04 GB, free: 61.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/4.59, allocations: 1.881 MB / 2.042 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/4.591, allocations: 353.2 kB / 2.042 GB, free: 59.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/4.591, allocations: 23.94 kB / 2.042 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/4.592, allocations: 85.56 kB / 2.042 GB, free: 59.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/4.592, allocations: 55.88 kB / 2.042 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/4.592, allocations: 67.17 kB / 2.042 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009942/4.593, allocations: 0.7841 MB / 2.043 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/4.593, allocations: 2.625 kB / 2.043 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00196/4.595, allocations: 0.5781 MB / 2.044 GB, free: 57.93 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.002802/4.598, allocations: 1.319 MB / 2.045 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002255/4.6, allocations: 1.458 MB / 2.046 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/4.6, allocations: 4.125 kB / 2.046 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/4.602, allocations: 0.8539 MB / 2.047 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/4.605, allocations: 0.722 MB / 2.048 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/4.61, allocations: 3.361 MB / 2.051 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/4.611, allocations: 1.176 MB / 2.052 GB, free: 50.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001521/4.612, allocations: 484.8 kB / 2.053 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/4.613, allocations: 119.4 kB / 2.053 GB, free: 49.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/4.613, allocations: 4 kB / 2.053 GB, free: 49.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.05402/4.667, allocations: 48.02 MB / 2.1 GB, free: 2.434 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/jenkins1/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