Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001116, allocations: 90.11 kB / 16.95 MB, free: 6.449 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.001699/0.001699, allocations: 183.7 kB / 17.84 MB, free: 6.008 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.578/1.578, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.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.0005565/0.000557, allocations: 12 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1089, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4251/0.5341, allocations: 159.6 MB / 488 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004675/0.5388, allocations: 3.567 MB / 491.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.5393, allocations: 3.938 kB / 491.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.54, allocations: 155.1 kB / 491.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008466/0.5409, allocations: 338.3 kB / 492 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.5422, allocations: 406.9 kB / 492.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.5438, allocations: 1.317 MB / 493.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.5441, allocations: 77.11 kB / 493.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.5471, allocations: 1.098 MB / 494.9 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008825/0.548, allocations: 366.9 kB / 495.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.5482, allocations: 20 kB / 495.3 MB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.5499, allocations: 0.6085 MB / 495.9 MB, free: 2.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.5503, allocations: 215.4 kB / 496.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.5506, allocations: 133.5 kB / 496.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.552, allocations: 0.8626 MB / 497.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5521, allocations: 0 / 497.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5521, allocations: 0 / 497.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.234e-05/0.5521, allocations: 0 / 497.1 MB, free: 1.355 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001541/0.5537, allocations: 0.6984 MB / 497.8 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5537, allocations: 8.031 kB / 497.8 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.5544, allocations: 131.3 kB / 498 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.555, allocations: 365.3 kB / 498.3 MB, free: 72 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.555, allocations: 25 kB / 498.3 MB, free: 48 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.5551, allocations: 43.95 kB / 498.4 MB, free: 4 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5562, allocations: 0.5615 MB / 498.9 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.5562, allocations: 0 / 498.9 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.5563, allocations: 23.94 kB / 499 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.5563, allocations: 8 kB / 499 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.557, allocations: 442.4 kB / 499.4 MB, free: 14.96 MB / 398.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.003526/0.5606, allocations: 2.063 MB / 0.4897 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.5609, allocations: 142.6 kB / 0.4898 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.5611, allocations: 84.83 kB / 0.4899 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.5611, allocations: 8 kB / 0.4899 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.5612, allocations: 34.56 kB / 0.49 GB, free: 12.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 3.036e-06/0.5612, allocations: 0 / 0.49 GB, free: 12.44 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005905/0.5671, allocations: 1.683 MB / 0.4916 GB, free: 10.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.5672, allocations: 59.41 kB / 0.4917 GB, free: 10.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.5679, allocations: 481.6 kB / 0.4921 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.5679, allocations: 29.7 kB / 0.4922 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.5682, allocations: 314.4 kB / 0.4925 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.5683, allocations: 90.8 kB / 0.4925 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.5683, allocations: 8 kB / 0.4926 GB, free: 9.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5685, allocations: 358.7 kB / 0.4929 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.5688, allocations: 133.2 kB / 0.493 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.5692, allocations: 436.5 kB / 0.4934 GB, free: 8.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.5696, allocations: 235.8 kB / 0.4937 GB, free: 8.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5696, allocations: 3.938 kB / 0.4937 GB, free: 8.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001056/0.5707, allocations: 0.6281 MB / 0.4943 GB, free: 7.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.5707, allocations: 16 kB / 0.4943 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.5707, allocations: 8 kB / 0.4943 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.5709, allocations: 65.64 kB / 0.4944 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.5714, allocations: 139.8 kB / 0.4945 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.5729, allocations: 1.835 MB / 0.4963 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.5734, allocations: 44.14 kB / 0.4963 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.5735, allocations: 36 kB / 0.4964 GB, free: 5.383 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.5738, allocations: 209.5 kB / 0.4966 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5739, allocations: 51.42 kB / 0.4966 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.5744, allocations: 290.9 kB / 0.4969 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5745, allocations: 7.984 kB / 0.4969 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5745, allocations: 3.984 kB / 0.4969 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005225/0.575, allocations: 0.52 MB / 0.4974 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.576, allocations: 0.698 MB / 0.4981 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.576, allocations: 7.984 kB / 0.4981 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.5763, allocations: 51.91 kB / 0.4981 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.16e-05/0.5764, allocations: 24.8 kB / 0.4982 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.5764, allocations: 12 kB / 0.4982 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.5775, allocations: 1.273 MB / 0.4994 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5775, allocations: 8.156 kB / 0.4994 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.5781, allocations: 424.3 kB / 0.4998 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5783, allocations: 124.5 kB / 0.5 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.5784, allocations: 4 kB / 0.5 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.5787, allocations: 15.98 kB / 0.5 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.5788, allocations: 20.05 kB / 0.5 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.5789, allocations: 11.98 kB / 0.5 GB, free: 1.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004074/0.5793, allocations: 327.1 kB / 0.5003 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.5793, allocations: 0 / 0.5003 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009024/0.5802, allocations: 219.9 kB / 0.5005 GB, free: 0.7656 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/0.5816, allocations: 394.9 kB / 0.5009 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009288/0.5825, allocations: 468.8 kB / 0.5014 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.5826, allocations: 4.062 kB / 0.5014 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.5828, allocations: 206.6 kB / 0.5016 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.584, allocations: 209.3 kB / 0.5018 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.5858, allocations: 1.035 MB / 0.5028 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.5864, allocations: 0.8349 MB / 0.5036 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.587, allocations: 137.4 kB / 0.5037 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.5871, allocations: 43.44 kB / 0.5038 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5871, allocations: 0 / 0.5038 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.02062/0.6078, allocations: 11.29 MB / 0.5148 GB, free: 2.074 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches