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.001348/0.001348, allocations: 179.7 kB / 14.15 MB, free: 1.176 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.422/1.422, allocations: 221.3 MB / 236 MB, free: 2.969 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.001064/0.001064, allocations: 98 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.9e-05, allocations: 4.219 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1423, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.864/2.007, allocations: 0.793 GB / 1.295 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/2.007, allocations: 95.94 kB / 1.295 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.514/4.521, allocations: 0.7268 GB / 2.022 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/4.521, allocations: 3.094 kB / 2.022 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.334e-05/4.521, allocations: 22.36 kB / 2.022 GB, free: 77.64 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.003367/4.525, allocations: 1.392 MB / 2.023 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/4.525, allocations: 7.781 kB / 2.023 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/4.526, allocations: 284.4 kB / 2.023 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/4.527, allocations: 0.6628 MB / 2.024 GB, free: 76.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/4.527, allocations: 118.9 kB / 2.024 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/4.527, allocations: 72.25 kB / 2.024 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/4.529, allocations: 1.226 MB / 2.025 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/4.529, allocations: 6.75 kB / 2.025 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/4.529, allocations: 36.33 kB / 2.025 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/4.529, allocations: 65.94 kB / 2.025 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/4.53, allocations: 1.01 MB / 2.026 GB, free: 76.43 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.004586/4.535, allocations: 4.814 MB / 2.031 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/4.535, allocations: 260.1 kB / 2.031 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/4.535, allocations: 144.9 kB / 2.031 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/4.536, allocations: 277 kB / 2.032 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/4.536, allocations: 38.36 kB / 2.032 GB, free: 73.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/4.536, allocations: 3.812 kB / 2.032 GB, free: 73.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004821/4.54, allocations: 1.599 MB / 2.033 GB, free: 72.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/4.541, allocations: 139.2 kB / 2.033 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/4.541, allocations: 0.814 MB / 2.034 GB, free: 72.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/4.541, allocations: 33.14 kB / 2.034 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/4.542, allocations: 0.5674 MB / 2.035 GB, free: 72.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/4.542, allocations: 134.8 kB / 2.035 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/4.542, allocations: 21.69 kB / 2.035 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001091/4.542, allocations: 401.7 kB / 2.035 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/4.542, allocations: 261.6 kB / 2.036 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/4.543, allocations: 0.8459 MB / 2.036 GB, free: 70.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/4.543, allocations: 450.9 kB / 2.037 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/4.543, allocations: 10.92 kB / 2.037 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001462/4.545, allocations: 1.207 MB / 2.038 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/4.545, allocations: 14.34 kB / 2.038 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/4.545, allocations: 21.97 kB / 2.038 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/4.546, allocations: 300.1 kB / 2.038 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/4.547, allocations: 202.8 kB / 2.039 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007925/4.547, allocations: 0.8992 MB / 2.039 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/4.548, allocations: 67.34 kB / 2.04 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/4.548, allocations: 67.44 kB / 2.04 GB, free: 70.11 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.0001632/4.548, allocations: 179 kB / 2.04 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/4.548, allocations: 98.12 kB / 2.04 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/4.549, allocations: 0.5025 MB / 2.04 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/4.549, allocations: 7.266 kB / 2.04 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/4.549, allocations: 0 / 2.04 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/4.549, allocations: 0 / 2.04 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/4.551, allocations: 1.119 MB / 2.041 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/4.551, allocations: 0 / 2.041 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/4.552, allocations: 181.2 kB / 2.042 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.128e-05/4.552, allocations: 29.19 kB / 2.042 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/4.552, allocations: 11.53 kB / 2.042 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/4.553, allocations: 2.679 MB / 2.044 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/4.553, allocations: 3.281 kB / 2.044 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/4.554, allocations: 0.6896 MB / 2.045 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/4.554, allocations: 208.3 kB / 2.045 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/4.554, allocations: 8.469 kB / 2.045 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/4.555, allocations: 30.38 kB / 2.045 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/4.555, allocations: 21.38 kB / 2.045 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/4.555, allocations: 22.33 kB / 2.045 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007076/4.556, allocations: 0.6028 MB / 2.046 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/4.556, allocations: 3.688 kB / 2.046 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001887/4.558, allocations: 486 kB / 2.046 GB, free: 66.38 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.002387/4.56, allocations: 1.267 MB / 2.048 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001151/4.561, allocations: 0.6621 MB / 2.048 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/4.561, allocations: 0 / 2.048 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007236/4.562, allocations: 358 kB / 2.049 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/4.564, allocations: 414.2 kB / 2.049 GB, free: 65.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/4.566, allocations: 1.156 MB / 2.05 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/4.566, allocations: 1.048 MB / 2.051 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001123/4.567, allocations: 383.5 kB / 2.051 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/4.568, allocations: 81.31 kB / 2.052 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/4.568, allocations: 0 / 2.052 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.04146/4.609, allocations: 33.88 MB / 2.085 GB, free: 55.19 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