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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001171/0.001172, allocations: 194 kB / 18.12 MB, free: 5.383 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.411/1.411, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.3208/0.3208, allocations: 44.19 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 56.16 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4311/0.5345, allocations: 175.6 MB / 0.629 GB, free: 1.797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.5436, allocations: 6.707 MB / 0.6356 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008863/0.5446, allocations: 31.75 kB / 0.6356 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.5459, allocations: 366.2 kB / 0.636 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.5504, allocations: 1.605 MB / 0.6375 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.5542, allocations: 1.364 MB / 0.6389 GB, free: 7.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00333/0.5575, allocations: 3.121 MB / 0.6419 GB, free: 4.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008652/0.5584, allocations: 478.1 kB / 0.6424 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.5619, allocations: 1.608 MB / 0.6439 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.5646, allocations: 1.538 MB / 0.6454 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.5649, allocations: 40 kB / 0.6455 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.5683, allocations: 1.793 MB / 0.6472 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005279/0.5688, allocations: 418.8 kB / 0.6476 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.5699, allocations: 0.5133 MB / 0.6481 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.5737, allocations: 2.189 MB / 0.6503 GB, free: 12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5737, allocations: 0 / 0.6503 GB, free: 12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5737, allocations: 0 / 0.6503 GB, free: 12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.386e-05/0.5738, allocations: 0 / 0.6503 GB, free: 12 MB / 494.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.003412/0.5772, allocations: 1.457 MB / 0.6517 GB, free: 10.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5773, allocations: 11.97 kB / 0.6517 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.5788, allocations: 286.5 kB / 0.652 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5799, allocations: 0.6014 MB / 0.6526 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.58, allocations: 120.6 kB / 0.6527 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.5802, allocations: 67.94 kB / 0.6527 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5821, allocations: 1.271 MB / 0.654 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5821, allocations: 0 / 0.654 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.5823, allocations: 35.98 kB / 0.654 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.326e-05/0.5824, allocations: 89.25 kB / 0.6541 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.584, allocations: 1.047 MB / 0.6551 GB, free: 6.855 MB / 494.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.006658/0.5907, allocations: 4.939 MB / 0.66 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.5912, allocations: 306.6 kB / 0.6602 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.5915, allocations: 148.8 kB / 0.6604 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.5916, allocations: 97.09 kB / 0.6605 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.5916, allocations: 38.56 kB / 0.6605 GB, free: 1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/0.5916, allocations: 0 / 0.6605 GB, free: 1 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.006285/0.5979, allocations: 1.817 MB / 0.6623 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.598, allocations: 136.5 kB / 0.6624 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.5991, allocations: 0.9427 MB / 0.6633 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.5991, allocations: 33.7 kB / 0.6634 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.5995, allocations: 0.5672 MB / 0.6639 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5996, allocations: 126.3 kB / 0.664 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.5999, allocations: 222.6 kB / 0.6643 GB, free: 13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6001, allocations: 394.7 kB / 0.6646 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.6006, allocations: 278.5 kB / 0.6649 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.6014, allocations: 0.8678 MB / 0.6658 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.6027, allocations: 1.176 MB / 0.6669 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.6027, allocations: 4 kB / 0.6669 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001975/0.6047, allocations: 1.243 MB / 0.6681 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6047, allocations: 12 kB / 0.6681 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.6047, allocations: 20 kB / 0.6681 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.6061, allocations: 289 kB / 0.6684 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.6066, allocations: 203.6 kB / 0.6686 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.6077, allocations: 0.9151 MB / 0.6695 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/0.6085, allocations: 55.98 kB / 0.6696 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.6086, allocations: 76.05 kB / 0.6696 GB, free: 6.875 MB / 0.4981 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 () * 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.0004226/0.6091, allocations: 337.8 kB / 0.67 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6092, allocations: 98.81 kB / 0.6701 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6103, allocations: 0.5085 MB / 0.6706 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.6103, allocations: 11.97 kB / 0.6706 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6103, allocations: 0 / 0.6706 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.6103, allocations: 3.984 kB / 0.6706 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.612, allocations: 1.133 MB / 0.6717 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.612, allocations: 0 / 0.6717 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.6131, allocations: 187.7 kB / 0.6719 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.161e-05/0.6132, allocations: 32.86 kB / 0.6719 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.6132, allocations: 11.94 kB / 0.6719 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.6151, allocations: 2.664 MB / 0.6745 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6151, allocations: 4.281 kB / 0.6745 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.6162, allocations: 0.7029 MB / 0.6752 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.6165, allocations: 192 kB / 0.6754 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.6166, allocations: 8 kB / 0.6754 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.6171, allocations: 28.05 kB / 0.6754 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.6172, allocations: 27.89 kB / 0.6754 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.6172, allocations: 19.98 kB / 0.6754 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007872/0.618, allocations: 0.6243 MB / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.618, allocations: 0 / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001299/0.6193, allocations: 391.8 kB / 0.6764 GB, free: 15.51 MB / 0.5137 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 () * 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.002005/0.6213, allocations: 0.6573 MB / 0.6771 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.6226, allocations: 0.6753 MB / 0.6777 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.6227, allocations: 8.062 kB / 0.6777 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/0.6236, allocations: 382.2 kB / 0.6781 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.6255, allocations: 403.6 kB / 0.6785 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.6281, allocations: 1.9 MB / 0.6803 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.6288, allocations: 1.028 MB / 0.6814 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00111/0.6299, allocations: 387.4 kB / 0.6817 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.6301, allocations: 79.42 kB / 0.6818 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.6301, allocations: 0 / 0.6818 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of Templates: time 0.03217/0.6623, allocations: 20.33 MB / 0.7016 GB, free: 5.855 MB / 0.5294 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches