Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008425/0.0008426, allocations: 109.6 kB / 296.2 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4177/0.4177, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4497, allocations: 62.94 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.673/2.123, allocations: 0.7941 GB / 1.311 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/2.124, allocations: 99.94 kB / 1.311 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.495/4.619, allocations: 0.7257 GB / 2.036 GB, free: 86.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.465e-06/4.619, allocations: 0 / 2.036 GB, free: 86.74 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.481e-05/4.619, allocations: 22.48 kB / 2.036 GB, free: 86.74 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003801/4.623, allocations: 1.489 MB / 2.038 GB, free: 86.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/4.623, allocations: 9.938 kB / 2.038 GB, free: 86.06 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/4.624, allocations: 272.5 kB / 2.038 GB, free: 86.01 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/4.625, allocations: 0.6832 MB / 2.039 GB, free: 85.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/4.625, allocations: 117.3 kB / 2.039 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/4.626, allocations: 67.08 kB / 2.039 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/4.627, allocations: 1.261 MB / 2.04 GB, free: 85.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/4.627, allocations: 3.375 kB / 2.04 GB, free: 85.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/4.627, allocations: 32.03 kB / 2.04 GB, free: 85.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/4.627, allocations: 63.23 kB / 2.04 GB, free: 85.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/4.629, allocations: 1.042 MB / 2.041 GB, free: 85.46 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.005098/4.634, allocations: 4.849 MB / 2.046 GB, free: 82.68 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/4.634, allocations: 273 kB / 2.046 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/4.635, allocations: 150.6 kB / 2.046 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/4.635, allocations: 269 kB / 2.047 GB, free: 82.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/4.635, allocations: 39.2 kB / 2.047 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/4.635, allocations: 0 / 2.047 GB, free: 82.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.005302/4.64, allocations: 1.717 MB / 2.048 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/4.64, allocations: 137.9 kB / 2.049 GB, free: 81.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/4.641, allocations: 0.9298 MB / 2.049 GB, free: 81.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/4.641, allocations: 30.39 kB / 2.05 GB, free: 81.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/4.641, allocations: 0.5682 MB / 2.05 GB, free: 81.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/4.642, allocations: 139.3 kB / 2.05 GB, free: 81.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/4.642, allocations: 19.41 kB / 2.05 GB, free: 81.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001124/4.642, allocations: 402.8 kB / 2.051 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/4.642, allocations: 271.3 kB / 2.051 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/4.643, allocations: 0.8587 MB / 2.052 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/4.644, allocations: 1.169 MB / 2.053 GB, free: 79.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/4.644, allocations: 7.688 kB / 2.053 GB, free: 79.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001636/4.645, allocations: 1.219 MB / 2.054 GB, free: 78.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/4.645, allocations: 14.19 kB / 2.054 GB, free: 78.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/4.645, allocations: 20.97 kB / 2.054 GB, free: 78.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/4.647, allocations: 290 kB / 2.054 GB, free: 78.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/4.647, allocations: 206 kB / 2.055 GB, free: 78.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008313/4.648, allocations: 0.9185 MB / 2.055 GB, free: 78.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/4.649, allocations: 63.31 kB / 2.055 GB, free: 78.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/4.649, allocations: 64.22 kB / 2.056 GB, free: 78.42 MB / 0.5417 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.0004353/4.649, allocations: 340.9 kB / 2.056 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/4.649, allocations: 101.4 kB / 2.056 GB, free: 78.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/4.65, allocations: 0.5069 MB / 2.056 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/4.65, allocations: 3.938 kB / 2.056 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/4.65, allocations: 0 / 2.056 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/4.65, allocations: 10.83 kB / 2.056 GB, free: 78.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/4.652, allocations: 1.121 MB / 2.058 GB, free: 77.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/4.652, allocations: 0 / 2.058 GB, free: 77.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/4.653, allocations: 183.8 kB / 2.058 GB, free: 77.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.648e-05/4.653, allocations: 27.83 kB / 2.058 GB, free: 77.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/4.653, allocations: 13.28 kB / 2.058 GB, free: 77.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/4.654, allocations: 2.673 MB / 2.06 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/4.654, allocations: 0 / 2.06 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/4.655, allocations: 0.6957 MB / 2.061 GB, free: 75.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/4.655, allocations: 203 kB / 2.061 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/4.655, allocations: 7 kB / 2.061 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/4.656, allocations: 35.75 kB / 2.061 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/4.656, allocations: 24.47 kB / 2.061 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/4.656, allocations: 17.42 kB / 2.061 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006944/4.657, allocations: 0.6202 MB / 2.062 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/4.657, allocations: 2.344 kB / 2.062 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001747/4.659, allocations: 488.3 kB / 2.062 GB, free: 74.73 MB / 0.5417 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.00246/4.661, allocations: 1.281 MB / 2.064 GB, free: 74.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001183/4.662, allocations: 0.6764 MB / 2.064 GB, free: 74.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/4.662, allocations: 0 / 2.064 GB, free: 74.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007679/4.663, allocations: 359.5 kB / 2.065 GB, free: 74.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/4.665, allocations: 409.1 kB / 2.065 GB, free: 74.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/4.667, allocations: 1.943 MB / 2.067 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/4.668, allocations: 1.035 MB / 2.068 GB, free: 72.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/4.668, allocations: 84.11 kB / 2.068 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of SimCode: time 6.12e-07/4.668, allocations: 0 / 2.068 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.03011/4.698, allocations: 26.61 MB / 2.094 GB, free: 71.46 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches