Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 178.8 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007685, allocations: 97.11 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3132/0.5163, allocations: 159.6 MB / 0.5217 GB, free: 1.129 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.5198, allocations: 3.568 MB / 0.5251 GB, free: 1.027 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.5201, allocations: 4.281 kB / 0.5252 GB, free: 1.027 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.5206, allocations: 160.5 kB / 0.5253 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005854/0.5212, allocations: 339.2 kB / 0.5256 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.5223, allocations: 407.8 kB / 0.526 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.5235, allocations: 1.308 MB / 0.5273 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.5237, allocations: 72.75 kB / 0.5274 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.5259, allocations: 1.105 MB / 0.5284 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.5263, allocations: 357.9 kB / 0.5288 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.5263, allocations: 21.94 kB / 0.5288 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009342/0.5273, allocations: 0.6079 MB / 0.5294 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.5274, allocations: 218.6 kB / 0.5296 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.5276, allocations: 132.5 kB / 0.5297 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.5283, allocations: 0.8654 MB / 0.5306 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5283, allocations: 0 / 0.5306 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5283, allocations: 0 / 0.5306 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.5283, allocations: 0 / 0.5306 GB, free: 0.8672 MB / 378.7 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.001016/0.5293, allocations: 0.6994 MB / 0.5313 GB, free: 16.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5294, allocations: 8.594 kB / 0.5313 GB, free: 16.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.5299, allocations: 135.9 kB / 0.5314 GB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.5304, allocations: 362.1 kB / 0.5317 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5304, allocations: 31.16 kB / 0.5318 GB, free: 16.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.5305, allocations: 38.8 kB / 0.5318 GB, free: 16.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.5312, allocations: 0.5568 MB / 0.5324 GB, free: 16.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5312, allocations: 2.484 kB / 0.5324 GB, free: 16.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.5313, allocations: 24.12 kB / 0.5324 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.5313, allocations: 11.09 kB / 0.5324 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.5318, allocations: 445.9 kB / 0.5328 GB, free: 16.02 MB / 394.7 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.00271/0.5345, allocations: 2.059 MB / 0.5348 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.5348, allocations: 150.9 kB / 0.535 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5349, allocations: 80.56 kB / 0.535 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5349, allocations: 7.516 kB / 0.5351 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.5349, allocations: 33.81 kB / 0.5351 GB, free: 14.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.5349, allocations: 0 / 0.5351 GB, free: 14.54 MB / 394.7 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.005188/0.5401, allocations: 1.683 MB / 0.5367 GB, free: 13.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.5402, allocations: 54.38 kB / 0.5368 GB, free: 13.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.5406, allocations: 483.2 kB / 0.5372 GB, free: 13.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.5406, allocations: 32.95 kB / 0.5373 GB, free: 13.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5408, allocations: 317.9 kB / 0.5376 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.5409, allocations: 87.23 kB / 0.5377 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.5409, allocations: 14.06 kB / 0.5377 GB, free: 12.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5411, allocations: 352 kB / 0.538 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.5412, allocations: 132 kB / 0.5381 GB, free: 12.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.5416, allocations: 439.5 kB / 0.5386 GB, free: 12.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.5419, allocations: 226.2 kB / 0.5388 GB, free: 12.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5419, allocations: 2.969 kB / 0.5388 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008041/0.5427, allocations: 0.6337 MB / 0.5394 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5427, allocations: 8.75 kB / 0.5394 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5428, allocations: 14.09 kB / 0.5394 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.5429, allocations: 57.91 kB / 0.5395 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.5434, allocations: 146 kB / 0.5396 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.5447, allocations: 1.841 MB / 0.5414 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.5451, allocations: 33.45 kB / 0.5414 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.5451, allocations: 38.31 kB / 0.5415 GB, free: 10.14 MB / 394.7 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.0002162/0.5454, allocations: 218.1 kB / 0.5417 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.5454, allocations: 46.47 kB / 0.5417 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.5459, allocations: 289.3 kB / 0.542 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5459, allocations: 6.609 kB / 0.542 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5459, allocations: 0 / 0.542 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004221/0.5464, allocations: 0.5239 MB / 0.5425 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.5472, allocations: 0.6966 MB / 0.5432 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5472, allocations: 4 kB / 0.5432 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.5475, allocations: 57.03 kB / 0.5433 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.373e-05/0.5476, allocations: 27.14 kB / 0.5433 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.5476, allocations: 7.359 kB / 0.5433 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007823/0.5484, allocations: 1.281 MB / 0.5445 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5484, allocations: 0 / 0.5445 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.5489, allocations: 425 kB / 0.5449 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.549, allocations: 124.4 kB / 0.5451 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.549, allocations: 10.78 kB / 0.5451 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.5493, allocations: 10.62 kB / 0.5451 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.5493, allocations: 22.59 kB / 0.5451 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.5494, allocations: 15.55 kB / 0.5451 GB, free: 7.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002925/0.5497, allocations: 321.3 kB / 0.5454 GB, free: 7.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5497, allocations: 0 / 0.5454 GB, free: 7.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007007/0.5504, allocations: 220.6 kB / 0.5456 GB, free: 7.203 MB / 394.7 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.001159/0.5515, allocations: 404.5 kB / 0.546 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.5522, allocations: 457.3 kB / 0.5465 GB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5522, allocations: 2.844 kB / 0.5465 GB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.5524, allocations: 207.9 kB / 0.5467 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.5535, allocations: 220.4 kB / 0.5469 GB, free: 6.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.5547, allocations: 1.073 MB / 0.5479 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5551, allocations: 0.8309 MB / 0.5487 GB, free: 5.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5552, allocations: 53.92 kB / 0.5488 GB, free: 5.188 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5552, allocations: 0 / 0.5488 GB, free: 5.188 MB / 394.7 MB Notification: Performance of Templates: time 0.01369/0.5689, allocations: 12.01 MB / 0.5605 GB, free: 13.73 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches