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.0009028/0.000903, allocations: 171.9 kB / 16.72 MB, free: 4.961 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.305/1.305, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007225/0.0007225, allocations: 97.3 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2011, allocations: 47.58 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3483/0.5494, allocations: 159.7 MB / 0.5222 GB, free: 1.078 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.5534, allocations: 3.573 MB / 0.5257 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.5537, allocations: 5.469 kB / 0.5257 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.5543, allocations: 185.6 kB / 0.5259 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.555, allocations: 333.3 kB / 0.5262 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.5563, allocations: 450.8 kB / 0.5267 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.5576, allocations: 1.313 MB / 0.5279 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.5578, allocations: 68.98 kB / 0.528 GB, free: 0.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.5604, allocations: 1.189 MB / 0.5292 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.5608, allocations: 358.7 kB / 0.5295 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.5608, allocations: 20.28 kB / 0.5295 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.5621, allocations: 0.8453 MB / 0.5303 GB, free: 0.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.5622, allocations: 216.5 kB / 0.5306 GB, free: 0.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.5625, allocations: 302.7 kB / 0.5308 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.5633, allocations: 0.8631 MB / 0.5317 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5633, allocations: 2.938 kB / 0.5317 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5633, allocations: 2.531 kB / 0.5317 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.5633, allocations: 3.938 kB / 0.5317 GB, free: 0.7969 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.001038/0.5643, allocations: 0.69 MB / 0.5324 GB, free: 16.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5644, allocations: 10.52 kB / 0.5324 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.5649, allocations: 129.4 kB / 0.5325 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.5654, allocations: 371.7 kB / 0.5329 GB, free: 16.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.5654, allocations: 31.78 kB / 0.5329 GB, free: 16.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.5655, allocations: 34.09 kB / 0.5329 GB, free: 16.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.5662, allocations: 0.5686 MB / 0.5335 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5662, allocations: 0 / 0.5335 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.5663, allocations: 24.12 kB / 0.5335 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5663, allocations: 15.48 kB / 0.5335 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.5669, allocations: 439.5 kB / 0.5339 GB, free: 15.95 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.002603/0.5695, allocations: 2.059 MB / 0.5359 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.5697, allocations: 149.8 kB / 0.5361 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5699, allocations: 81.64 kB / 0.5362 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.5699, allocations: 2.938 kB / 0.5362 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5699, allocations: 34.34 kB / 0.5362 GB, free: 14.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.5699, allocations: 1.75 kB / 0.5362 GB, free: 14.4 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.005158/0.5751, allocations: 1.678 MB / 0.5378 GB, free: 13.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5752, allocations: 58.3 kB / 0.5379 GB, free: 13.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.5757, allocations: 475.7 kB / 0.5383 GB, free: 13.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.5757, allocations: 35.39 kB / 0.5384 GB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.5759, allocations: 318.2 kB / 0.5387 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.576, allocations: 88.8 kB / 0.5388 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.576, allocations: 12.94 kB / 0.5388 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5761, allocations: 354 kB / 0.5391 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.5763, allocations: 128.4 kB / 0.5392 GB, free: 12.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.5767, allocations: 437.2 kB / 0.5397 GB, free: 12.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.5773, allocations: 0.612 MB / 0.5403 GB, free: 11.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5773, allocations: 3.312 kB / 0.5403 GB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008616/0.5782, allocations: 0.6285 MB / 0.5409 GB, free: 11.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5782, allocations: 10.94 kB / 0.5409 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.5783, allocations: 15.28 kB / 0.5409 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.5784, allocations: 52.7 kB / 0.541 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.5789, allocations: 146.9 kB / 0.5411 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.5801, allocations: 1.848 MB / 0.5429 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.5805, allocations: 39.83 kB / 0.5429 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.5806, allocations: 37.2 kB / 0.543 GB, free: 9.613 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.0002123/0.5808, allocations: 212.1 kB / 0.5432 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.5809, allocations: 47.81 kB / 0.5432 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.5814, allocations: 294.5 kB / 0.5435 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5814, allocations: 6.953 kB / 0.5435 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5814, allocations: 0 / 0.5435 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004179/0.5818, allocations: 0.5277 MB / 0.544 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/0.5827, allocations: 0.6956 MB / 0.5447 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5828, allocations: 0 / 0.5447 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.583, allocations: 54.39 kB / 0.5448 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/0.5831, allocations: 24.72 kB / 0.5448 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.5831, allocations: 12.56 kB / 0.5448 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007652/0.5839, allocations: 1.276 MB / 0.546 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5839, allocations: 0 / 0.546 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.5845, allocations: 434.6 kB / 0.5464 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5846, allocations: 121.3 kB / 0.5466 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.5847, allocations: 6.312 kB / 0.5466 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.5849, allocations: 15.05 kB / 0.5466 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.585, allocations: 9.891 kB / 0.5466 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.585, allocations: 25.08 kB / 0.5466 GB, free: 6.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.5854, allocations: 323.5 kB / 0.5469 GB, free: 6.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5854, allocations: 0 / 0.5469 GB, free: 6.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.5862, allocations: 218.3 kB / 0.5471 GB, free: 6.684 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.001425/0.5876, allocations: 465.8 kB / 0.5476 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.5884, allocations: 465 kB / 0.548 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5884, allocations: 1.75 kB / 0.548 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.5887, allocations: 210.6 kB / 0.5482 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5897, allocations: 211.2 kB / 0.5484 GB, free: 6.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.5912, allocations: 1.079 MB / 0.5495 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5915, allocations: 0.8198 MB / 0.5503 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.5917, allocations: 53 kB / 0.5503 GB, free: 4.645 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5917, allocations: 0 / 0.5503 GB, free: 4.645 MB / 394.7 MB Notification: Performance of Templates: time 0.01602/0.6077, allocations: 12.07 MB / 0.5621 GB, free: 12.79 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