Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 182.8 kB / 18.09 MB, free: 3.727 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.439/1.439, allocations: 223.3 MB / 242.1 MB, free: 9.938 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.0009096/0.0009095, allocations: 103.4 kB / 293.3 MB, free: 10.54 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.3708/0.3708, allocations: 44.14 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 15.98 kB / 461.1 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.36, allocations: 61.88 MB / 0.5107 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.285, allocations: 0.7932 GB / 1.304 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/2.285, allocations: 105.6 kB / 1.304 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.207/4.492, allocations: 0.7229 GB / 2.027 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/4.492, allocations: 0 / 2.027 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.1e-05/4.492, allocations: 26.06 kB / 2.027 GB, free: 79.18 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004622/4.497, allocations: 1.473 MB / 2.028 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/4.497, allocations: 13.12 kB / 2.028 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/4.499, allocations: 271.9 kB / 2.029 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/4.5, allocations: 0.6833 MB / 2.029 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/4.5, allocations: 119.8 kB / 2.03 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/4.5, allocations: 64.75 kB / 2.03 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/4.502, allocations: 1.253 MB / 2.031 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/4.502, allocations: 3.938 kB / 2.031 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/4.503, allocations: 43.02 kB / 2.031 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/4.503, allocations: 62.91 kB / 2.031 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/4.504, allocations: 1.041 MB / 2.032 GB, free: 76 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.005256/4.509, allocations: 4.833 MB / 2.037 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/4.51, allocations: 277.7 kB / 2.037 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/4.51, allocations: 141.3 kB / 2.037 GB, free: 70.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/4.51, allocations: 269.3 kB / 2.037 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/4.51, allocations: 36.3 kB / 2.037 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.205e-06/4.51, allocations: 3.938 kB / 2.037 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005128/4.515, allocations: 1.726 MB / 2.039 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/4.515, allocations: 133.5 kB / 2.039 GB, free: 68.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/4.516, allocations: 0.9232 MB / 2.04 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/4.516, allocations: 39.58 kB / 2.04 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/4.517, allocations: 0.5618 MB / 2.041 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/4.517, allocations: 128.7 kB / 2.041 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/4.517, allocations: 20 kB / 2.041 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001083/4.517, allocations: 404.7 kB / 2.041 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/4.517, allocations: 270.5 kB / 2.041 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/4.518, allocations: 0.8605 MB / 2.042 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/4.519, allocations: 1.176 MB / 2.043 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/4.519, allocations: 4 kB / 2.043 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001701/4.521, allocations: 1.224 MB / 2.045 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/4.521, allocations: 12 kB / 2.045 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/4.521, allocations: 20 kB / 2.045 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/4.522, allocations: 287.8 kB / 2.045 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/4.523, allocations: 207.6 kB / 2.045 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008848/4.524, allocations: 0.9074 MB / 2.046 GB, free: 60.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/4.525, allocations: 63.81 kB / 2.046 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/4.525, allocations: 71.84 kB / 2.046 GB, free: 60.72 MB / 0.5261 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.0006099/4.526, allocations: 348.7 kB / 2.046 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/4.526, allocations: 94.91 kB / 2.047 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/4.527, allocations: 0.5132 MB / 2.047 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/4.527, allocations: 4 kB / 2.047 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/4.527, allocations: 0 / 2.047 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/4.527, allocations: 3.984 kB / 2.047 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/4.529, allocations: 1.121 MB / 2.048 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/4.529, allocations: 3.984 kB / 2.048 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/4.531, allocations: 183.8 kB / 2.048 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/4.531, allocations: 20.84 kB / 2.048 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/4.531, allocations: 20.02 kB / 2.048 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/4.533, allocations: 2.677 MB / 2.051 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/4.533, allocations: 32 / 2.051 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/4.534, allocations: 0.6913 MB / 2.052 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/4.535, allocations: 204 kB / 2.052 GB, free: 54.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/4.535, allocations: 8 kB / 2.052 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/4.536, allocations: 32.03 kB / 2.052 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/4.536, allocations: 19.97 kB / 2.052 GB, free: 54.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/4.536, allocations: 23.98 kB / 2.052 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001093/4.537, allocations: 0.6164 MB / 2.053 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/4.537, allocations: 0 / 2.053 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002761/4.54, allocations: 484.9 kB / 2.053 GB, free: 53.29 MB / 0.5261 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.004351/4.544, allocations: 1.276 MB / 2.054 GB, free: 52.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001704/4.546, allocations: 0.67 MB / 2.055 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/4.546, allocations: 7.281 kB / 2.055 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/4.547, allocations: 374.5 kB / 2.055 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/4.55, allocations: 410.7 kB / 2.056 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/4.554, allocations: 1.877 MB / 2.057 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/4.555, allocations: 1.031 MB / 2.059 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00186/4.557, allocations: 381.5 kB / 2.059 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/4.557, allocations: 79.42 kB / 2.059 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/4.557, allocations: 0 / 2.059 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.05182/4.609, allocations: 31.76 MB / 2.09 GB, free: 15.78 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches