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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 112.6 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 185.2 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3968, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.202/0.5988, allocations: 177.1 MB / 0.6926 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008459/0.6073, allocations: 6.513 MB / 0.6989 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.6081, allocations: 19.88 kB / 0.6989 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.6092, allocations: 429.6 kB / 0.6993 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.6134, allocations: 1.738 MB / 0.701 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.6171, allocations: 1.52 MB / 0.7025 GB, free: 80 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.6198, allocations: 2.231 MB / 0.7047 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.621, allocations: 0.7654 MB / 0.7055 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.6248, allocations: 1.756 MB / 0.7072 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.6279, allocations: 1.574 MB / 0.7087 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004179/0.6284, allocations: 100 kB / 0.7088 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.6315, allocations: 1.337 MB / 0.7101 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.6322, allocations: 0.6859 MB / 0.7108 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.6334, allocations: 0.7626 MB / 0.7115 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.6369, allocations: 2.61 MB / 0.7141 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6369, allocations: 3.938 kB / 0.7141 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.637, allocations: 0 / 0.7141 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.637, allocations: 3.938 kB / 0.7141 GB, free: 4.211 MB / 0.5606 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.003515/0.6405, allocations: 1.719 MB / 0.7158 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6406, allocations: 12.03 kB / 0.7158 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.642, allocations: 306.3 kB / 0.7161 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.6433, allocations: 0.7727 MB / 0.7168 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.6434, allocations: 141.4 kB / 0.7169 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.6436, allocations: 104 kB / 0.717 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2604/0.904, allocations: 1.841 MB / 0.7188 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.9041, allocations: 4.781 kB / 0.7188 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.9043, allocations: 48.64 kB / 0.7189 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.9044, allocations: 95.41 kB / 0.719 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.9071, allocations: 1.696 MB / 0.7206 GB, free: 189.1 MB / 0.5606 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.008514/0.9157, allocations: 6.866 MB / 0.7273 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.9169, allocations: 0.8811 MB / 0.7282 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.9175, allocations: 453.6 kB / 0.7286 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.9176, allocations: 105.4 kB / 0.7287 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9176, allocations: 45.97 kB / 0.7288 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.835e-06/0.9176, allocations: 0 / 0.7288 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.01063/0.9282, allocations: 4.115 MB / 0.7328 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.9283, allocations: 114.2 kB / 0.7329 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.9297, allocations: 1.109 MB / 0.734 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.9298, allocations: 43.3 kB / 0.734 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.9301, allocations: 0.5248 MB / 0.7345 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.9303, allocations: 264.2 kB / 0.7348 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.9307, allocations: 207 kB / 0.735 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.9308, allocations: 348.8 kB / 0.7353 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/0.9316, allocations: 0.5872 MB / 0.7359 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.9326, allocations: 0.8704 MB / 0.7368 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.9344, allocations: 1.449 MB / 0.7382 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.9344, allocations: 2.312 kB / 0.7382 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002893/0.9373, allocations: 2.003 MB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9373, allocations: 11.92 kB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.9374, allocations: 9.281 kB / 0.7401 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/0.9416, allocations: 1.352 MB / 0.7415 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.9421, allocations: 136.9 kB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.9445, allocations: 1.927 MB / 0.7435 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/0.9454, allocations: 47.56 kB / 0.7435 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/0.9455, allocations: 67.98 kB / 0.7436 GB, free: 174.5 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0005751/0.9461, allocations: 395.8 kB / 0.744 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.9463, allocations: 110.7 kB / 0.7441 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.9483, allocations: 1.502 MB / 0.7455 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.9484, allocations: 8 kB / 0.7455 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.9484, allocations: 4 kB / 0.7455 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9484, allocations: 3.984 kB / 0.7456 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.9515, allocations: 2.687 MB / 0.7482 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.9515, allocations: 4.812 kB / 0.7482 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.9532, allocations: 327.5 kB / 0.7485 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/0.9534, allocations: 68.78 kB / 0.7486 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.9534, allocations: 39.67 kB / 0.7486 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.9551, allocations: 3.035 MB / 0.7516 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9551, allocations: 4 kB / 0.7516 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.9573, allocations: 1.904 MB / 0.7534 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.9578, allocations: 331.7 kB / 0.7537 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.958, allocations: 35.89 kB / 0.7538 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/0.9589, allocations: 47.95 kB / 0.7538 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.959, allocations: 56.58 kB / 0.7539 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/0.9591, allocations: 63.94 kB / 0.7539 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007548/0.9599, allocations: 0.7969 MB / 0.7547 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9599, allocations: 8 kB / 0.7547 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001237/0.9612, allocations: 477.3 kB / 0.7552 GB, free: 162.3 MB / 0.5606 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/0.9627, allocations: 0.6816 MB / 0.7558 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.9649, allocations: 1.473 MB / 0.7573 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9649, allocations: 0.6562 kB / 0.7573 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.9663, allocations: 0.8507 MB / 0.7581 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/0.9693, allocations: 0.7578 MB / 0.7589 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.9733, allocations: 2.981 MB / 0.7618 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.9738, allocations: 1.18 MB / 0.7629 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.9743, allocations: 119.4 kB / 0.763 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.9743, allocations: 0 / 0.763 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.03366/1.008, allocations: 31.94 MB / 0.7942 GB, free: 122.5 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches