Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001006/0.001006, allocations: 176.1 kB / 16.76 MB, free: 4.906 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.557/1.557, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008473/0.0008474, allocations: 90.41 kB / 271.3 MB, free: 8.246 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.4274/0.4274, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 16 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.048/2.199, allocations: 0.8272 GB / 1.307 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/2.199, allocations: 93.8 kB / 1.307 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.291/4.49, allocations: 0.7323 GB / 2.04 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.755e-06/4.49, allocations: 0 / 2.04 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001187/4.491, allocations: 28.14 kB / 2.04 GB, free: 47.22 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.005278/4.496, allocations: 1.458 MB / 2.041 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/4.496, allocations: 11.98 kB / 2.041 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/4.498, allocations: 267.6 kB / 2.041 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/4.499, allocations: 0.6824 MB / 2.042 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/4.5, allocations: 118.9 kB / 2.042 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/4.5, allocations: 64 kB / 2.042 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/4.502, allocations: 1.258 MB / 2.043 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/4.502, allocations: 7.844 kB / 2.043 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/4.502, allocations: 32 kB / 2.043 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/4.502, allocations: 65.28 kB / 2.043 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/4.504, allocations: 1.032 MB / 2.044 GB, free: 42.05 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.006103/4.51, allocations: 4.86 MB / 2.049 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/4.51, allocations: 267.1 kB / 2.049 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/4.511, allocations: 149.2 kB / 2.05 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/4.511, allocations: 254.3 kB / 2.05 GB, free: 36.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/4.511, allocations: 42.8 kB / 2.05 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.865e-06/4.511, allocations: 0 / 2.05 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005434/4.516, allocations: 1.717 MB / 2.052 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/4.516, allocations: 136.5 kB / 2.052 GB, free: 34.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/4.518, allocations: 0.9271 MB / 2.053 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/4.518, allocations: 37.64 kB / 2.053 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/4.518, allocations: 0.5672 MB / 2.053 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/4.518, allocations: 134.3 kB / 2.053 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/4.518, allocations: 20 kB / 2.053 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001198/4.518, allocations: 402.7 kB / 2.054 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/4.519, allocations: 270.5 kB / 2.054 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/4.519, allocations: 0.8613 MB / 2.055 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/4.52, allocations: 1.162 MB / 2.056 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/4.52, allocations: 8 kB / 2.056 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00173/4.522, allocations: 1.227 MB / 2.057 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/4.522, allocations: 12 kB / 2.057 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/4.522, allocations: 20 kB / 2.057 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/4.523, allocations: 282.1 kB / 2.057 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/4.524, allocations: 203.7 kB / 2.058 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009857/4.525, allocations: 0.9116 MB / 2.059 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/4.526, allocations: 64.02 kB / 2.059 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/4.526, allocations: 68 kB / 2.059 GB, free: 26.37 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.0006373/4.527, allocations: 345.2 kB / 2.059 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/4.527, allocations: 98.81 kB / 2.059 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009243/4.528, allocations: 477.6 kB / 2.06 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/4.528, allocations: 4 kB / 2.06 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/4.528, allocations: 0 / 2.06 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/4.528, allocations: 3.984 kB / 2.06 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/4.53, allocations: 1.129 MB / 2.061 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/4.53, allocations: 0 / 2.061 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/4.531, allocations: 179.8 kB / 2.061 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.003e-05/4.531, allocations: 28.83 kB / 2.061 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/4.532, allocations: 12.03 kB / 2.061 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/4.533, allocations: 2.68 MB / 2.063 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/4.533, allocations: 0 / 2.063 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/4.534, allocations: 0.6875 MB / 2.064 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/4.534, allocations: 208 kB / 2.064 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/4.535, allocations: 8 kB / 2.064 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/4.535, allocations: 24.05 kB / 2.064 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/4.535, allocations: 23.97 kB / 2.064 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/4.535, allocations: 23.98 kB / 2.064 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007598/4.536, allocations: 0.6203 MB / 2.065 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/4.536, allocations: 0 / 2.065 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002099/4.538, allocations: 0.5231 MB / 2.066 GB, free: 18.92 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.00299/4.541, allocations: 1.392 MB / 2.067 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001208/4.542, allocations: 0.6695 MB / 2.068 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/4.542, allocations: 1 kB / 2.068 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/4.543, allocations: 379.3 kB / 2.068 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/4.545, allocations: 405.8 kB / 2.068 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/4.547, allocations: 1.88 MB / 2.07 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/4.548, allocations: 1.036 MB / 2.071 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009926/4.549, allocations: 312 kB / 2.071 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/4.549, allocations: 75.42 kB / 2.072 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/4.549, allocations: 0 / 2.072 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.3277/4.877, allocations: 32.88 MB / 2.104 GB, free: 73.74 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches