Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.687/1.687, allocations: 226.5 MB / 245.4 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00094/0.0009401, allocations: 97.97 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4811/0.4811, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003404, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.444, allocations: 62.96 MB / 0.5184 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.085/2.529, allocations: 0.7933 GB / 1.312 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/2.529, allocations: 99.92 kB / 1.312 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.852/5.382, allocations: 0.7024 GB / 2.014 GB, free: 82.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/5.382, allocations: 4.031 kB / 2.014 GB, free: 82.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001581/5.382, allocations: 27.16 kB / 2.014 GB, free: 82.93 MB / 0.5417 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.007966/5.39, allocations: 1.664 MB / 2.016 GB, free: 82.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/5.39, allocations: 9.25 kB / 2.016 GB, free: 82.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/5.393, allocations: 297.9 kB / 2.016 GB, free: 82.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/5.396, allocations: 0.8262 MB / 2.017 GB, free: 82.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/5.396, allocations: 143.1 kB / 2.017 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006618/5.397, allocations: 103 kB / 2.017 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004812/5.401, allocations: 1.805 MB / 2.019 GB, free: 81.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-05/5.401, allocations: 13.8 kB / 2.019 GB, free: 81.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/5.402, allocations: 52.45 kB / 2.019 GB, free: 81.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/5.402, allocations: 71.33 kB / 2.019 GB, free: 81.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/5.405, allocations: 1.636 MB / 2.021 GB, free: 81.75 MB / 0.5417 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.01086/5.416, allocations: 6.883 MB / 2.027 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/5.417, allocations: 0.7979 MB / 2.028 GB, free: 78.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/5.418, allocations: 444.7 kB / 2.029 GB, free: 78.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/5.418, allocations: 273.8 kB / 2.029 GB, free: 77.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/5.418, allocations: 49.98 kB / 2.029 GB, free: 77.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 4.178e-06/5.418, allocations: 0 / 2.029 GB, free: 77.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.011/5.429, allocations: 4.111 MB / 2.033 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/5.429, allocations: 113.2 kB / 2.033 GB, free: 77.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/5.431, allocations: 1.096 MB / 2.034 GB, free: 76.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/5.431, allocations: 44.55 kB / 2.034 GB, free: 76.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/5.432, allocations: 0.5192 MB / 2.035 GB, free: 76.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/5.432, allocations: 263.3 kB / 2.035 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/5.432, allocations: 22.12 kB / 2.035 GB, free: 76.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001275/5.432, allocations: 349.2 kB / 2.035 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/5.433, allocations: 0.5713 MB / 2.036 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/5.434, allocations: 0.8683 MB / 2.037 GB, free: 75.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/5.436, allocations: 1.423 MB / 2.038 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/5.436, allocations: 5.719 kB / 2.038 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00336/5.44, allocations: 1.99 MB / 2.04 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/5.44, allocations: 14.64 kB / 2.04 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/5.44, allocations: 6.531 kB / 2.04 GB, free: 75.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004536/5.444, allocations: 1.402 MB / 2.041 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/5.445, allocations: 140.3 kB / 2.042 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/5.448, allocations: 1.927 MB / 2.043 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/5.449, allocations: 111.3 kB / 2.044 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/5.45, allocations: 67.91 kB / 2.044 GB, free: 74.95 MB / 0.5417 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.0009618/5.451, allocations: 406.9 kB / 2.044 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/5.451, allocations: 107.5 kB / 2.044 GB, free: 74.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/5.454, allocations: 1.488 MB / 2.046 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/5.454, allocations: 14.45 kB / 2.046 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/5.454, allocations: 7.781 kB / 2.046 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/5.454, allocations: 3.844 kB / 2.046 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/5.459, allocations: 2.693 MB / 2.048 GB, free: 74.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/5.459, allocations: 0 / 2.048 GB, free: 74.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/5.461, allocations: 331.7 kB / 2.049 GB, free: 74.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/5.461, allocations: 69.12 kB / 2.049 GB, free: 74.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/5.461, allocations: 38.16 kB / 2.049 GB, free: 74.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/5.463, allocations: 2.836 MB / 2.051 GB, free: 71.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/5.463, allocations: 3.031 kB / 2.051 GB, free: 71.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/5.466, allocations: 1.873 MB / 2.053 GB, free: 71.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/5.467, allocations: 351.2 kB / 2.054 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/5.468, allocations: 29.25 kB / 2.054 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/5.469, allocations: 87.45 kB / 2.054 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/5.469, allocations: 53.58 kB / 2.054 GB, free: 71.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/5.47, allocations: 74.14 kB / 2.054 GB, free: 71.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001383/5.471, allocations: 0.7846 MB / 2.055 GB, free: 71.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/5.471, allocations: 0 / 2.055 GB, free: 71.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002878/5.474, allocations: 0.5771 MB / 2.055 GB, free: 71.22 MB / 0.5417 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.003837/5.478, allocations: 1.32 MB / 2.056 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002986/5.481, allocations: 1.462 MB / 2.058 GB, free: 70.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/5.481, allocations: 3.438 kB / 2.058 GB, free: 70.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/5.483, allocations: 0.8517 MB / 2.059 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/5.487, allocations: 0.7332 MB / 2.059 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/5.494, allocations: 3.356 MB / 2.063 GB, free: 69.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/5.495, allocations: 1.176 MB / 2.064 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002337/5.497, allocations: 483.5 kB / 2.064 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/5.498, allocations: 118.2 kB / 2.064 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.993e-06/5.498, allocations: 0 / 2.064 GB, free: 69.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.07831/5.576, allocations: 48.01 MB / 2.111 GB, free: 58.26 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches