Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 180.1 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.335/1.335, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009095/0.0009095, allocations: 95.55 kB / 287 MB, free: 252 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.2109/0.2109, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.471e-05, allocations: 8.203 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.874/2.012, allocations: 0.7921 GB / 1.294 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/2.012, allocations: 91.62 kB / 1.294 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.628/4.64, allocations: 0.7036 GB / 1.997 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/4.64, allocations: 4.938 kB / 1.998 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.781e-05/4.64, allocations: 35.19 kB / 1.998 GB, free: 75.58 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004596/4.645, allocations: 1.572 MB / 1.999 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/4.645, allocations: 8.812 kB / 1.999 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/4.647, allocations: 310.9 kB / 1.999 GB, free: 74.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/4.648, allocations: 0.7995 MB / 2 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/4.648, allocations: 145.8 kB / 2 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/4.649, allocations: 105.1 kB / 2 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/4.651, allocations: 1.77 MB / 2.002 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/4.651, allocations: 4.438 kB / 2.002 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/4.651, allocations: 43.19 kB / 2.002 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.731e-05/4.651, allocations: 82.86 kB / 2.002 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/4.654, allocations: 1.6 MB / 2.004 GB, free: 74.33 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.008305/4.662, allocations: 6.861 MB / 2.011 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/4.663, allocations: 0.775 MB / 2.011 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/4.663, allocations: 434.6 kB / 2.012 GB, free: 70.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/4.663, allocations: 272.4 kB / 2.012 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/4.664, allocations: 52.83 kB / 2.012 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/4.664, allocations: 0 / 2.012 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.008979/4.673, allocations: 3.762 MB / 2.016 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/4.673, allocations: 113.2 kB / 2.016 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/4.674, allocations: 0.9776 MB / 2.017 GB, free: 69.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/4.674, allocations: 46.92 kB / 2.017 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/4.674, allocations: 0.521 MB / 2.017 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/4.675, allocations: 267.3 kB / 2.018 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/4.675, allocations: 25.44 kB / 2.018 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/4.675, allocations: 345.3 kB / 2.018 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/4.675, allocations: 0.5597 MB / 2.018 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/4.676, allocations: 0.8473 MB / 2.019 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008359/4.677, allocations: 0.6718 MB / 2.02 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/4.677, allocations: 3.188 kB / 2.02 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002702/4.68, allocations: 1.946 MB / 2.022 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/4.68, allocations: 11.12 kB / 2.022 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/4.68, allocations: 11.38 kB / 2.022 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/4.684, allocations: 1.388 MB / 2.023 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/4.685, allocations: 144.8 kB / 2.023 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/4.687, allocations: 1.901 MB / 2.025 GB, free: 67.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/4.689, allocations: 117.1 kB / 2.025 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/4.689, allocations: 65.8 kB / 2.025 GB, free: 67.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0002956/4.689, allocations: 167.5 kB / 2.026 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/4.689, allocations: 113 kB / 2.026 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/4.692, allocations: 1.481 MB / 2.027 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/4.692, allocations: 7.812 kB / 2.027 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/4.692, allocations: 0 / 2.027 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/4.692, allocations: 3.094 kB / 2.027 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/4.696, allocations: 2.671 MB / 2.03 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/4.696, allocations: 0 / 2.03 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/4.697, allocations: 328.9 kB / 2.03 GB, free: 67.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/4.698, allocations: 69.91 kB / 2.03 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/4.698, allocations: 37.67 kB / 2.03 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/4.7, allocations: 2.833 MB / 2.033 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/4.7, allocations: 3.953 kB / 2.033 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/4.702, allocations: 1.862 MB / 2.035 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/4.703, allocations: 348.7 kB / 2.035 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/4.703, allocations: 30.41 kB / 2.035 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000943/4.704, allocations: 85 kB / 2.035 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/4.704, allocations: 60.25 kB / 2.035 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/4.704, allocations: 61.84 kB / 2.035 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00102/4.705, allocations: 0.7812 MB / 2.036 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/4.705, allocations: 0 / 2.036 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002154/4.707, allocations: 0.5671 MB / 2.037 GB, free: 64.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * 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.002833/4.71, allocations: 1.32 MB / 2.038 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002356/4.713, allocations: 1.436 MB / 2.039 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/4.713, allocations: 4.688 kB / 2.039 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/4.714, allocations: 0.8301 MB / 2.04 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/4.717, allocations: 0.728 MB / 2.041 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/4.721, allocations: 2.4 MB / 2.043 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/4.722, allocations: 1.196 MB / 2.044 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001465/4.723, allocations: 472.4 kB / 2.045 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/4.724, allocations: 126.9 kB / 2.045 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/4.724, allocations: 0 / 2.045 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.06415/4.788, allocations: 49.91 MB / 2.094 GB, free: 36.96 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches