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.001262/0.001261, allocations: 105.2 kB / 17.73 MB, free: 5.238 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.001407/0.001408, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.542/1.542, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001178/0.001178, allocations: 47.92 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09969, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4326/0.5323, allocations: 175.6 MB / 0.5379 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.5372, allocations: 3.844 MB / 0.5417 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.5375, allocations: 7.938 kB / 0.5417 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.5384, allocations: 218.8 kB / 0.5419 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.5391, allocations: 362.1 kB / 0.5422 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.5406, allocations: 0.5474 MB / 0.5428 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.5419, allocations: 1.114 MB / 0.5438 GB, free: 9.438 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.5421, allocations: 100.7 kB / 0.5439 GB, free: 9.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.5451, allocations: 1.272 MB / 0.5452 GB, free: 8.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.5456, allocations: 322.9 kB / 0.5455 GB, free: 7.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.471e-05/0.5457, allocations: 44 kB / 0.5455 GB, free: 7.711 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009682/0.5467, allocations: 459 kB / 0.546 GB, free: 7.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.5469, allocations: 239.4 kB / 0.5462 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.5472, allocations: 310.9 kB / 0.5465 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.5483, allocations: 1.075 MB / 0.5476 GB, free: 5.645 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5483, allocations: 0 / 0.5476 GB, free: 5.645 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5484, allocations: 0 / 0.5476 GB, free: 5.645 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.5484, allocations: 0 / 0.5476 GB, free: 5.645 MB / 478.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.00135/0.5497, allocations: 0.8113 MB / 0.5483 GB, free: 4.785 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5498, allocations: 12.03 kB / 0.5484 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.5504, allocations: 111.5 kB / 0.5485 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.5509, allocations: 389 kB / 0.5488 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.551, allocations: 29 kB / 0.5489 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.551, allocations: 40 kB / 0.5489 GB, free: 4.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.5519, allocations: 0.5576 MB / 0.5494 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5519, allocations: 3.938 kB / 0.5494 GB, free: 3.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.552, allocations: 20 kB / 0.5495 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.552, allocations: 8.875 kB / 0.5495 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.5526, allocations: 446.4 kB / 0.5499 GB, free: 3.125 MB / 478.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.003414/0.556, allocations: 2.128 MB / 0.552 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.5563, allocations: 146.6 kB / 0.5521 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.5564, allocations: 88.83 kB / 0.5522 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5565, allocations: 0 / 0.5522 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.5565, allocations: 35.44 kB / 0.5522 GB, free: 0.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.5565, allocations: 4 kB / 0.5522 GB, free: 0.5391 MB / 478.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.3147/0.8712, allocations: 1.741 MB / 0.5539 GB, free: 38.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.8712, allocations: 54.16 kB / 0.554 GB, free: 38.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/0.872, allocations: 482.1 kB / 0.5545 GB, free: 38.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.872, allocations: 32.27 kB / 0.5545 GB, free: 38.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.8723, allocations: 323.4 kB / 0.5548 GB, free: 38.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.8724, allocations: 90.11 kB / 0.5549 GB, free: 38.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.8726, allocations: 123.8 kB / 0.555 GB, free: 38.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8727, allocations: 353.4 kB / 0.5553 GB, free: 37.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.8729, allocations: 135.6 kB / 0.5555 GB, free: 37.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.8733, allocations: 441.6 kB / 0.5559 GB, free: 37.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.874, allocations: 0.6087 MB / 0.5565 GB, free: 37.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.874, allocations: 6.469 kB / 0.5565 GB, free: 37.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001098/0.8751, allocations: 0.6318 MB / 0.5571 GB, free: 37.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.8751, allocations: 12.72 kB / 0.5571 GB, free: 37.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.8752, allocations: 10.94 kB / 0.5571 GB, free: 37.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.8754, allocations: 57.56 kB / 0.5572 GB, free: 37.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.8759, allocations: 138.9 kB / 0.5573 GB, free: 37.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.8771, allocations: 1.944 MB / 0.5592 GB, free: 35.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.8775, allocations: 24.89 kB / 0.5592 GB, free: 35.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.8776, allocations: 36.94 kB / 0.5593 GB, free: 35.25 MB / 478.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.8778, allocations: 218.5 kB / 0.5595 GB, free: 35.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.8779, allocations: 48.14 kB / 0.5595 GB, free: 35.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005769/0.8785, allocations: 283.2 kB / 0.5598 GB, free: 35.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.8785, allocations: 2.75 kB / 0.5598 GB, free: 35.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8786, allocations: 6.047 kB / 0.5598 GB, free: 35.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004698/0.879, allocations: 0.5261 MB / 0.5603 GB, free: 34.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.8801, allocations: 0.698 MB / 0.561 GB, free: 34.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.8801, allocations: 2.219 kB / 0.561 GB, free: 34.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.8804, allocations: 58.19 kB / 0.5611 GB, free: 34.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/0.8805, allocations: 19.34 kB / 0.5611 GB, free: 34.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.8805, allocations: 8.078 kB / 0.5611 GB, free: 34.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000773/0.8813, allocations: 1.382 MB / 0.5624 GB, free: 32.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.8813, allocations: 0.9688 kB / 0.5624 GB, free: 32.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.882, allocations: 433.1 kB / 0.5628 GB, free: 32.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.8821, allocations: 112.7 kB / 0.5629 GB, free: 32.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.8822, allocations: 5.031 kB / 0.563 GB, free: 32.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.8825, allocations: 16.52 kB / 0.563 GB, free: 32.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.8825, allocations: 17.89 kB / 0.563 GB, free: 32.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.8826, allocations: 18.16 kB / 0.563 GB, free: 32.63 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004633/0.8831, allocations: 325.2 kB / 0.5633 GB, free: 32.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8831, allocations: 1.969 kB / 0.5633 GB, free: 32.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001097/0.8842, allocations: 213.3 kB / 0.5635 GB, free: 32.55 MB / 478.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 (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): 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.001415/0.8856, allocations: 455.5 kB / 0.564 GB, free: 32.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009152/0.8865, allocations: 468.6 kB / 0.5644 GB, free: 32.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8865, allocations: 1.875 kB / 0.5644 GB, free: 32.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.8868, allocations: 213.9 kB / 0.5646 GB, free: 32.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.888, allocations: 223.2 kB / 0.5648 GB, free: 32.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.8895, allocations: 0.8472 MB / 0.5656 GB, free: 31.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.89, allocations: 0.829 MB / 0.5665 GB, free: 31.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004581/0.8904, allocations: 142.8 kB / 0.5666 GB, free: 31.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.8906, allocations: 42.03 kB / 0.5666 GB, free: 31.14 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.8906, allocations: 1.062 kB / 0.5666 GB, free: 31.14 MB / 478.1 MB Notification: Performance of Templates: time 0.02028/0.9108, allocations: 12.47 MB / 0.5788 GB, free: 30.32 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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