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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 111.6 kB / 17.04 MB, free: 5.363 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.001316/0.001316, allocations: 199.8 kB / 17.98 MB, free: 4.895 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.376/1.376, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2367/0.2367, allocations: 43.52 MB / 314.7 MB, free: 492 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.001501/0.001501, allocations: 64.31 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08646, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.363/0.4495, allocations: 183.2 MB / 0.6105 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008342/0.4579, allocations: 6.974 MB / 0.6174 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.4583, allocations: 18.16 kB / 0.6174 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.4593, allocations: 418.6 kB / 0.6178 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003969/0.4633, allocations: 2.007 MB / 0.6197 GB, free: 284 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003541/0.4669, allocations: 1.688 MB / 0.6214 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.4689, allocations: 2.102 MB / 0.6234 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.4696, allocations: 0.5386 MB / 0.624 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.4728, allocations: 1.883 MB / 0.6258 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.475, allocations: 1.464 MB / 0.6272 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.4751, allocations: 72 kB / 0.6273 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.4779, allocations: 1.567 MB / 0.6288 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.4783, allocations: 450.8 kB / 0.6293 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.4789, allocations: 0.5523 MB / 0.6298 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.4814, allocations: 2.193 MB / 0.6319 GB, free: 6.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4814, allocations: 0 / 0.6319 GB, free: 6.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4814, allocations: 0 / 0.6319 GB, free: 6.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4814, allocations: 0 / 0.6319 GB, free: 6.055 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002503/0.4839, allocations: 1.419 MB / 0.6333 GB, free: 4.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.484, allocations: 15.84 kB / 0.6333 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4853, allocations: 282.5 kB / 0.6336 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.4865, allocations: 0.6287 MB / 0.6342 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.4866, allocations: 118.3 kB / 0.6343 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.4867, allocations: 67.89 kB / 0.6344 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4885, allocations: 1.26 MB / 0.6356 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4885, allocations: 3.938 kB / 0.6356 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.66e-05/0.4886, allocations: 36 kB / 0.6357 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.4887, allocations: 77.27 kB / 0.6357 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.4902, allocations: 1.051 MB / 0.6368 GB, free: 0.9375 MB / 446.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.006081/0.4963, allocations: 4.984 MB / 0.6416 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.4968, allocations: 300 kB / 0.6419 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.497, allocations: 148.8 kB / 0.6421 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.4972, allocations: 135 kB / 0.6422 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4972, allocations: 42.5 kB / 0.6422 GB, free: 11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.4972, allocations: 7.875 kB / 0.6422 GB, free: 10.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.005813/0.5031, allocations: 1.822 MB / 0.644 GB, free: 9.082 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.5031, allocations: 136.5 kB / 0.6442 GB, free: 8.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.5042, allocations: 0.9388 MB / 0.6451 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.5042, allocations: 33.7 kB / 0.6451 GB, free: 7.914 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.5046, allocations: 0.5633 MB / 0.6457 GB, free: 7.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.5047, allocations: 138.3 kB / 0.6458 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.505, allocations: 214.6 kB / 0.646 GB, free: 6.988 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5051, allocations: 402.7 kB / 0.6464 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.5056, allocations: 274.5 kB / 0.6466 GB, free: 6.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/0.5064, allocations: 0.8715 MB / 0.6475 GB, free: 5.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5076, allocations: 1.165 MB / 0.6486 GB, free: 3.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.5077, allocations: 11.94 kB / 0.6486 GB, free: 3.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001757/0.5094, allocations: 1.235 MB / 0.6498 GB, free: 2.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.5095, allocations: 12 kB / 0.6499 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.5095, allocations: 20 kB / 0.6499 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.5107, allocations: 288.3 kB / 0.6501 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.5112, allocations: 207.6 kB / 0.6503 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009971/0.5122, allocations: 0.9112 MB / 0.6512 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.5129, allocations: 43.98 kB / 0.6513 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.513, allocations: 68 kB / 0.6513 GB, free: 0.8984 MB / 462.1 MB 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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003988/0.5134, allocations: 345.2 kB / 0.6517 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.5135, allocations: 98.97 kB / 0.6518 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008465/0.5144, allocations: 479.3 kB / 0.6522 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5144, allocations: 0 / 0.6522 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5144, allocations: 4 kB / 0.6522 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5144, allocations: 7.984 kB / 0.6522 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.516, allocations: 1.125 MB / 0.6533 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.516, allocations: 0 / 0.6533 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.517, allocations: 183.8 kB / 0.6535 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.408e-05/0.517, allocations: 28.88 kB / 0.6535 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.5171, allocations: 12 kB / 0.6535 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.519, allocations: 2.869 MB / 0.6563 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.519, allocations: 4.031 kB / 0.6564 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.52, allocations: 0.6924 MB / 0.657 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.5203, allocations: 203.9 kB / 0.6572 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.5204, allocations: 11.94 kB / 0.6572 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.5209, allocations: 19.98 kB / 0.6573 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.5209, allocations: 23.91 kB / 0.6573 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.521, allocations: 19.98 kB / 0.6573 GB, free: 10.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007374/0.5217, allocations: 0.6243 MB / 0.6579 GB, free: 9.758 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5217, allocations: 0 / 0.6579 GB, free: 9.758 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001209/0.5229, allocations: 420 kB / 0.6583 GB, free: 9.348 MB / 478.1 MB 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 (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.001845/0.5248, allocations: 0.7572 MB / 0.659 GB, free: 8.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.526, allocations: 0.6747 MB / 0.6597 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.526, allocations: 8.062 kB / 0.6597 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.5269, allocations: 363 kB / 0.6601 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.5285, allocations: 429.8 kB / 0.6605 GB, free: 7.125 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.5308, allocations: 1.613 MB / 0.662 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.5314, allocations: 1.024 MB / 0.663 GB, free: 4.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007829/0.5322, allocations: 311 kB / 0.6633 GB, free: 4.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5324, allocations: 75.42 kB / 0.6634 GB, free: 4.051 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5324, allocations: 0 / 0.6634 GB, free: 4.051 MB / 478.1 MB Notification: Performance of Templates: time 0.03522/0.5676, allocations: 22.62 MB / 0.6855 GB, free: 13.43 MB / 0.4981 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches