Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002242/0.002242, allocations: 186.3 kB / 16.4 MB, free: 5.746 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.953/1.953, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001213/0.001205, allocations: 88.88 kB / 270.9 MB, free: 8.375 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.5177/0.5177, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004695, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.877/3.004, allocations: 0.827 GB / 1.306 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/3.005, allocations: 97.88 kB / 1.306 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.973/6.978, allocations: 0.7367 GB / 2.043 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/6.978, allocations: 2.438 kB / 2.043 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.519e-05/6.978, allocations: 24.91 kB / 2.043 GB, free: 65.39 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006261/6.984, allocations: 1.464 MB / 2.044 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/6.984, allocations: 9.031 kB / 2.044 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/6.987, allocations: 288.9 kB / 2.044 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/6.99, allocations: 0.6623 MB / 2.045 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/6.99, allocations: 120.7 kB / 2.045 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/6.99, allocations: 64.25 kB / 2.045 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/6.995, allocations: 1.244 MB / 2.046 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/6.995, allocations: 1 kB / 2.046 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/6.995, allocations: 39.72 kB / 2.046 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/6.995, allocations: 64.78 kB / 2.046 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/6.998, allocations: 1.034 MB / 2.047 GB, free: 64.34 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.01047/7.009, allocations: 4.837 MB / 2.052 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/7.01, allocations: 266.1 kB / 2.052 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003746/7.01, allocations: 250.9 kB / 2.053 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/7.01, allocations: 40.83 kB / 2.053 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.017e-06/7.01, allocations: 3.938 kB / 2.053 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.01008/7.02, allocations: 1.725 MB / 2.054 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/7.02, allocations: 139.4 kB / 2.054 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/7.022, allocations: 0.8232 MB / 2.055 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/7.022, allocations: 33.83 kB / 2.055 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/7.023, allocations: 0.5821 MB / 2.056 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/7.023, allocations: 133.6 kB / 2.056 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/7.023, allocations: 19.09 kB / 2.056 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001034/7.023, allocations: 357.6 kB / 2.056 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/7.024, allocations: 266.9 kB / 2.057 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/7.025, allocations: 0.8586 MB / 2.057 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/7.026, allocations: 450.9 kB / 2.058 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/7.026, allocations: 4.844 kB / 2.058 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00344/7.03, allocations: 1.174 MB / 2.059 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/7.03, allocations: 16.09 kB / 2.059 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/7.03, allocations: 20.06 kB / 2.059 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/7.032, allocations: 290.2 kB / 2.059 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/7.034, allocations: 203.6 kB / 2.06 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/7.035, allocations: 0.9055 MB / 2.06 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/7.037, allocations: 64.45 kB / 2.061 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/7.037, allocations: 67.31 kB / 2.061 GB, free: 58.32 MB / 0.5105 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.0008183/7.038, allocations: 352.9 kB / 2.061 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/7.038, allocations: 95.91 kB / 2.061 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/7.04, allocations: 478.6 kB / 2.061 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/7.04, allocations: 3.594 kB / 2.061 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/7.04, allocations: 0 / 2.061 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/7.04, allocations: 0.8438 kB / 2.061 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/7.043, allocations: 1.117 MB / 2.063 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/7.043, allocations: 1 kB / 2.063 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/7.045, allocations: 184.6 kB / 2.063 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/7.046, allocations: 28.78 kB / 2.063 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/7.046, allocations: 7.156 kB / 2.063 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/7.048, allocations: 2.692 MB / 2.065 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/7.048, allocations: 3.062 kB / 2.065 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/7.05, allocations: 0.7053 MB / 2.066 GB, free: 54.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/7.051, allocations: 204.7 kB / 2.066 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/7.051, allocations: 14.5 kB / 2.066 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/7.052, allocations: 25.59 kB / 2.066 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/7.052, allocations: 21.94 kB / 2.066 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/7.052, allocations: 21.81 kB / 2.066 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001383/7.053, allocations: 0.6164 MB / 2.067 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/7.053, allocations: 0 / 2.067 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003208/7.057, allocations: 0.5258 MB / 2.067 GB, free: 54.68 MB / 0.5105 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.005285/7.062, allocations: 1.4 MB / 2.069 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002363/7.064, allocations: 0.6672 MB / 2.069 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/7.064, allocations: 1.422 kB / 2.069 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/7.066, allocations: 352.8 kB / 2.07 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/7.07, allocations: 405.7 kB / 2.07 GB, free: 54.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/7.074, allocations: 1.948 MB / 2.072 GB, free: 53.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/7.075, allocations: 1.039 MB / 2.073 GB, free: 52.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/7.075, allocations: 88.45 kB / 2.073 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/7.075, allocations: 0 / 2.073 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.05476/7.13, allocations: 27.42 MB / 2.1 GB, free: 52.04 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches