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.001338/0.001338, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009939, allocations: 89.73 kB / 281.6 MB, free: 5.312 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.2179/0.2179, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.784e-05, allocations: 4 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1705, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.616/2.787, allocations: 0.7923 GB / 1.287 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/2.787, allocations: 97.95 kB / 1.287 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.935/5.722, allocations: 0.7173 GB / 2.004 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.472e-06/5.722, allocations: 0 / 2.004 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.764e-05/5.722, allocations: 23.44 kB / 2.004 GB, free: 85.57 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.00427/5.726, allocations: 1.391 MB / 2.006 GB, free: 84.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/5.726, allocations: 9.312 kB / 2.006 GB, free: 84.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/5.728, allocations: 281.7 kB / 2.006 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/5.729, allocations: 0.6708 MB / 2.007 GB, free: 84.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/5.729, allocations: 95.16 kB / 2.007 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/5.729, allocations: 38.5 kB / 2.007 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/5.73, allocations: 0.8646 MB / 2.008 GB, free: 83.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/5.732, allocations: 1.125 MB / 2.009 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/5.732, allocations: 3.938 kB / 2.009 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/5.732, allocations: 3.938 kB / 2.009 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/5.732, allocations: 74.83 kB / 2.009 GB, free: 83.35 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005686/5.738, allocations: 4.716 MB / 2.013 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/5.738, allocations: 254 kB / 2.014 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/5.738, allocations: 129.2 kB / 2.014 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/5.739, allocations: 271.7 kB / 2.014 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/5.739, allocations: 41.67 kB / 2.014 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 4.048e-06/5.739, allocations: 0 / 2.014 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.00568/5.744, allocations: 1.638 MB / 2.016 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/5.745, allocations: 131.6 kB / 2.016 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/5.745, allocations: 0.6591 MB / 2.016 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/5.745, allocations: 28.61 kB / 2.016 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/5.746, allocations: 0.5779 MB / 2.017 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/5.746, allocations: 128.1 kB / 2.017 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/5.746, allocations: 0 / 2.017 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000105/5.746, allocations: 384.1 kB / 2.018 GB, free: 76.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/5.746, allocations: 242.2 kB / 2.018 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/5.747, allocations: 0.8253 MB / 2.019 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/5.747, allocations: 453.7 kB / 2.019 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/5.747, allocations: 3.969 kB / 2.019 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001655/5.749, allocations: 1.099 MB / 2.02 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/5.749, allocations: 12 kB / 2.02 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/5.749, allocations: 23.84 kB / 2.02 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/5.75, allocations: 273.5 kB / 2.02 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/5.751, allocations: 211.5 kB / 2.021 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000826/5.752, allocations: 0.9147 MB / 2.021 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/5.752, allocations: 42.7 kB / 2.022 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/5.753, allocations: 64 kB / 2.022 GB, free: 72.91 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 () * 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.000172/5.753, allocations: 169.7 kB / 2.022 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/5.753, allocations: 86.95 kB / 2.022 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/5.754, allocations: 478.5 kB / 2.022 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/5.754, allocations: 0 / 2.022 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/5.754, allocations: 4 kB / 2.022 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/5.754, allocations: 0 / 2.022 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/5.755, allocations: 1.03 MB / 2.023 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/5.755, allocations: 0 / 2.023 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/5.756, allocations: 186.7 kB / 2.023 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.634e-05/5.756, allocations: 20.84 kB / 2.023 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/5.756, allocations: 4 kB / 2.023 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/5.757, allocations: 2.582 MB / 2.026 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.757, allocations: 2.156 kB / 2.026 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/5.758, allocations: 0.6761 MB / 2.027 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/5.758, allocations: 188.1 kB / 2.027 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/5.759, allocations: 4 kB / 2.027 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/5.759, allocations: 22.38 kB / 2.027 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/5.759, allocations: 27.92 kB / 2.027 GB, free: 67.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/5.759, allocations: 19.98 kB / 2.027 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005659/5.76, allocations: 483.1 kB / 2.027 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.605e-06/5.76, allocations: 4.062 kB / 2.027 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001705/5.761, allocations: 435.4 kB / 2.028 GB, free: 66.25 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 () * 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.002767/5.764, allocations: 1.428 MB / 2.029 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001096/5.765, allocations: 0.6112 MB / 2.03 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/5.765, allocations: 0 / 2.03 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/5.766, allocations: 344.8 kB / 2.03 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/5.768, allocations: 313.8 kB / 2.03 GB, free: 63.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/5.769, allocations: 1.106 MB / 2.031 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/5.77, allocations: 1.051 MB / 2.033 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009774/5.771, allocations: 365 kB / 2.033 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/5.771, allocations: 71.42 kB / 2.033 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/5.771, allocations: 0 / 2.033 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.03227/5.803, allocations: 21.26 MB / 2.054 GB, free: 40.46 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/jenkins/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