Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.00105/0.00105, allocations: 105.8 kB / 17.03 MB, free: 5.66 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.001142/0.001142, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 68.44 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1447, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5873/0.7321, allocations: 183.1 MB / 0.6104 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.7416, allocations: 6.964 MB / 0.6172 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.7425, allocations: 20.91 kB / 0.6172 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.7439, allocations: 426.8 kB / 0.6176 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.7493, allocations: 2.031 MB / 0.6196 GB, free: 212 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005034/0.7543, allocations: 1.7 MB / 0.6213 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003316/0.7577, allocations: 2.23 MB / 0.6235 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.7588, allocations: 0.7585 MB / 0.6242 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004598/0.7634, allocations: 1.93 MB / 0.6261 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.7661, allocations: 1.581 MB / 0.6276 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.7663, allocations: 100 kB / 0.6277 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.7701, allocations: 1.591 MB / 0.6293 GB, free: 8.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006592/0.7708, allocations: 0.6859 MB / 0.6299 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009991/0.7718, allocations: 0.7587 MB / 0.6307 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.7757, allocations: 2.739 MB / 0.6334 GB, free: 4.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7757, allocations: 0 / 0.6334 GB, free: 4.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.7757, allocations: 4 kB / 0.6334 GB, free: 4.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.7757, allocations: 0 / 0.6334 GB, free: 4.391 MB / 446.1 MB 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.003484/0.7792, allocations: 1.681 MB / 0.635 GB, free: 2.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.7793, allocations: 15.89 kB / 0.635 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.7808, allocations: 310.8 kB / 0.6353 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.7825, allocations: 0.7611 MB / 0.6361 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.7827, allocations: 149.3 kB / 0.6362 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.7829, allocations: 107.9 kB / 0.6363 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.786, allocations: 1.845 MB / 0.6381 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.786, allocations: 7.938 kB / 0.6381 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.7862, allocations: 44.62 kB / 0.6382 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.7863, allocations: 93.95 kB / 0.6382 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.7889, allocations: 1.69 MB / 0.6399 GB, free: 13.52 MB / 462.1 MB 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.01042/0.7993, allocations: 6.917 MB / 0.6467 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.8008, allocations: 0.8711 MB / 0.6475 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.8015, allocations: 450.3 kB / 0.6479 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.8017, allocations: 143.6 kB / 0.6481 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.8018, allocations: 55.11 kB / 0.6481 GB, free: 4.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.8018, allocations: 0 / 0.6481 GB, free: 4.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01063/0.8124, allocations: 4.099 MB / 0.6521 GB, free: 412 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.8125, allocations: 111.5 kB / 0.6522 GB, free: 276 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.814, allocations: 1.109 MB / 0.6533 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.8141, allocations: 45.7 kB / 0.6534 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.8145, allocations: 0.5223 MB / 0.6539 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.8147, allocations: 260.3 kB / 0.6541 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.815, allocations: 214.5 kB / 0.6543 GB, free: 14.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8152, allocations: 349.9 kB / 0.6547 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.8161, allocations: 0.5758 MB / 0.6552 GB, free: 13.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.8172, allocations: 0.8721 MB / 0.6561 GB, free: 12.17 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.8192, allocations: 1.451 MB / 0.6575 GB, free: 10.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.8192, allocations: 4 kB / 0.6575 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003196/0.8224, allocations: 1.997 MB / 0.6594 GB, free: 8.594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.8224, allocations: 8.188 kB / 0.6594 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.8224, allocations: 12 kB / 0.6595 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004554/0.827, allocations: 1.328 MB / 0.6608 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.8276, allocations: 139.8 kB / 0.6609 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.8303, allocations: 1.928 MB / 0.6628 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.8313, allocations: 47.91 kB / 0.6628 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.8314, allocations: 63.98 kB / 0.6629 GB, free: 5.043 MB / 478.1 MB 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.0007401/0.8322, allocations: 405.4 kB / 0.6633 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.8324, allocations: 106.8 kB / 0.6634 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.8347, allocations: 1.395 MB / 0.6647 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.8347, allocations: 8 kB / 0.6647 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8348, allocations: 0 / 0.6647 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8348, allocations: 4.172 kB / 0.6647 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.8396, allocations: 2.676 MB / 0.6674 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.8396, allocations: 11.81 kB / 0.6674 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.8415, allocations: 331.6 kB / 0.6677 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.8418, allocations: 72.69 kB / 0.6677 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.8419, allocations: 35.98 kB / 0.6678 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.8447, allocations: 3.021 MB / 0.6707 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.8447, allocations: 12.08 kB / 0.6707 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.8477, allocations: 1.9 MB / 0.6726 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/0.8486, allocations: 335.6 kB / 0.6729 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.8488, allocations: 27.98 kB / 0.6729 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.8497, allocations: 51.95 kB / 0.673 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.8498, allocations: 56.58 kB / 0.6731 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.85, allocations: 63.94 kB / 0.6731 GB, free: 10.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.8511, allocations: 0.8008 MB / 0.6739 GB, free: 9.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8511, allocations: 0 / 0.6739 GB, free: 9.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001678/0.8528, allocations: 0.5154 MB / 0.6744 GB, free: 8.82 MB / 494.1 MB 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.002005/0.8548, allocations: 0.787 MB / 0.6752 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.8576, allocations: 1.478 MB / 0.6766 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.8576, allocations: 4.656 kB / 0.6766 GB, free: 6.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.8593, allocations: 0.8622 MB / 0.6775 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.8624, allocations: 0.7668 MB / 0.6782 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.8683, allocations: 2.883 MB / 0.681 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/0.8691, allocations: 1.18 MB / 0.6822 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.8705, allocations: 417.8 kB / 0.6826 GB, free: 384 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.8709, allocations: 107.4 kB / 0.6827 GB, free: 276 kB / 494.1 MB Notification: Performance of SimCode: time 1.313e-06/0.8709, allocations: 0 / 0.6827 GB, free: 276 kB / 494.1 MB Notification: Performance of Templates: time 0.0633/0.9342, allocations: 39.97 MB / 0.7217 GB, free: 8.281 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches