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.001079/0.001079, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 178.4 kB / 16.57 MB, free: 6.387 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.468/1.468, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3715/0.3715, allocations: 43.54 MB / 314.5 MB, free: 8.918 MB / 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.0005233/0.0005232, allocations: 16 kB / 383.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.85 MB / 442.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3359/0.4587, allocations: 144 MB / 0.573 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.4694, allocations: 8.406 MB / 0.5812 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.4703, allocations: 23.75 kB / 0.5812 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009819/0.4713, allocations: 314.5 kB / 0.5815 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.4755, allocations: 1.493 MB / 0.583 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.4788, allocations: 1.225 MB / 0.5841 GB, free: 496 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.4806, allocations: 1.169 MB / 0.5853 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.4812, allocations: 466.7 kB / 0.5857 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.4837, allocations: 1.267 MB / 0.587 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.4861, allocations: 1.329 MB / 0.5883 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.4863, allocations: 40 kB / 0.5883 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.489, allocations: 1.205 MB / 0.5895 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.4893, allocations: 383 kB / 0.5898 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.4896, allocations: 221.3 kB / 0.5901 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.4914, allocations: 1.562 MB / 0.5916 GB, free: 8.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4915, allocations: 0 / 0.5916 GB, free: 8.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4915, allocations: 0 / 0.5916 GB, free: 8.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4915, allocations: 0 / 0.5916 GB, free: 8.859 MB / 462.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.00238/0.4939, allocations: 1.22 MB / 0.5928 GB, free: 7.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4939, allocations: 19.97 kB / 0.5928 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.4952, allocations: 298.6 kB / 0.5931 GB, free: 7.277 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4963, allocations: 0.59 MB / 0.5937 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4964, allocations: 108.7 kB / 0.5938 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4965, allocations: 67.98 kB / 0.5938 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.4983, allocations: 1.259 MB / 0.5951 GB, free: 5.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.4983, allocations: 3.938 kB / 0.5951 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.4984, allocations: 35.98 kB / 0.5951 GB, free: 5.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-05/0.4985, allocations: 81.27 kB / 0.5952 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.5, allocations: 1.059 MB / 0.5962 GB, free: 3.957 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.006302/0.5063, allocations: 4.883 MB / 0.601 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.5068, allocations: 266.7 kB / 0.6012 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.507, allocations: 125.7 kB / 0.6013 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.507, allocations: 38.56 kB / 0.6014 GB, free: 14.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 3.617e-06/0.507, allocations: 0 / 0.6014 GB, free: 14.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.006018/0.513, allocations: 1.754 MB / 0.6031 GB, free: 12.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.5131, allocations: 136.5 kB / 0.6032 GB, free: 12.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.5143, allocations: 0.9271 MB / 0.6041 GB, free: 11.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.5143, allocations: 33.7 kB / 0.6042 GB, free: 11.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.5147, allocations: 0.5633 MB / 0.6047 GB, free: 10.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.5148, allocations: 134.3 kB / 0.6048 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.5149, allocations: 24 kB / 0.6049 GB, free: 10.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.515, allocations: 394.7 kB / 0.6052 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.5154, allocations: 274.5 kB / 0.6055 GB, free: 9.941 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.5163, allocations: 0.8561 MB / 0.6063 GB, free: 8.801 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/0.5169, allocations: 451.3 kB / 0.6068 GB, free: 8.359 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5169, allocations: 8 kB / 0.6068 GB, free: 8.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0018/0.5188, allocations: 1.232 MB / 0.608 GB, free: 7.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.5188, allocations: 16.94 kB / 0.608 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.5188, allocations: 20 kB / 0.608 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.5201, allocations: 289.9 kB / 0.6083 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.5206, allocations: 203.6 kB / 0.6085 GB, free: 6.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009653/0.5216, allocations: 0.906 MB / 0.6094 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.5224, allocations: 71.88 kB / 0.6094 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.5224, allocations: 68 kB / 0.6095 GB, free: 5.523 MB / 478.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 (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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004281/0.5229, allocations: 345.5 kB / 0.6098 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.523, allocations: 86.97 kB / 0.6099 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/0.5239, allocations: 496.5 kB / 0.6104 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5239, allocations: 7.984 kB / 0.6104 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5239, allocations: 3.938 kB / 0.6104 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5239, allocations: 0 / 0.6104 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.5255, allocations: 1.121 MB / 0.6115 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5255, allocations: 7.234 kB / 0.6115 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009498/0.5265, allocations: 179.8 kB / 0.6117 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.544e-05/0.5266, allocations: 28.78 kB / 0.6117 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.5266, allocations: 15.98 kB / 0.6117 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.5288, allocations: 2.684 MB / 0.6143 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5289, allocations: 0 / 0.6143 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.5298, allocations: 0.7008 MB / 0.615 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.5302, allocations: 207.9 kB / 0.6152 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5303, allocations: 12 kB / 0.6152 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.5307, allocations: 34.5 kB / 0.6153 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.5308, allocations: 23.97 kB / 0.6153 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.5308, allocations: 15.98 kB / 0.6153 GB, free: 15.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007309/0.5316, allocations: 0.6204 MB / 0.6159 GB, free: 14.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5316, allocations: 0 / 0.6159 GB, free: 14.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001442/0.533, allocations: 427.9 kB / 0.6163 GB, free: 14.14 MB / 494.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 (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.001779/0.5348, allocations: 0.6293 MB / 0.6169 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.5361, allocations: 0.6656 MB / 0.6176 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5362, allocations: 0 / 0.6176 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008703/0.537, allocations: 367.5 kB / 0.6179 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.5387, allocations: 411.2 kB / 0.6183 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5411, allocations: 1.885 MB / 0.6202 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.5418, allocations: 1.04 MB / 0.6212 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008841/0.5426, allocations: 317.4 kB / 0.6215 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.5428, allocations: 71.44 kB / 0.6216 GB, free: 8.719 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5428, allocations: 4 kB / 0.6216 GB, free: 8.715 MB / 494.1 MB Notification: Performance of Templates: time 0.1978/0.7406, allocations: 21.42 MB / 0.6425 GB, free: 149.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches