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.001437/0.001437, allocations: 109.2 kB / 17.73 MB, free: 5.324 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.001683/0.001683, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.479/1.479, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001227/0.001227, allocations: 55.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 46.62 MB / 375.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4249/0.5298, allocations: 175.6 MB / 0.5379 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.5346, allocations: 3.848 MB / 0.5417 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.5348, allocations: 4 kB / 0.5417 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.5357, allocations: 226.7 kB / 0.5419 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.5363, allocations: 370 kB / 0.5422 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.5379, allocations: 0.5475 MB / 0.5428 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.5391, allocations: 1.107 MB / 0.5439 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.5393, allocations: 104.6 kB / 0.544 GB, free: 9.199 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.5421, allocations: 1.284 MB / 0.5452 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.5426, allocations: 322.9 kB / 0.5455 GB, free: 7.602 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.5427, allocations: 47.94 kB / 0.5456 GB, free: 7.555 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009379/0.5436, allocations: 455.1 kB / 0.546 GB, free: 7.109 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.5438, allocations: 231.4 kB / 0.5462 GB, free: 6.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.5442, allocations: 318.9 kB / 0.5465 GB, free: 6.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.5455, allocations: 1.067 MB / 0.5476 GB, free: 5.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5455, allocations: 4 kB / 0.5476 GB, free: 5.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5455, allocations: 0 / 0.5476 GB, free: 5.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.5455, allocations: 0 / 0.5476 GB, free: 5.496 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.001352/0.5469, allocations: 0.8113 MB / 0.5484 GB, free: 4.637 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5469, allocations: 8.031 kB / 0.5484 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.5475, allocations: 119.5 kB / 0.5485 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.5481, allocations: 381 kB / 0.5488 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.5481, allocations: 33 kB / 0.5489 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.5482, allocations: 36 kB / 0.5489 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.549, allocations: 0.5615 MB / 0.5495 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5491, allocations: 0 / 0.5495 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.5491, allocations: 20 kB / 0.5495 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5491, allocations: 8 kB / 0.5495 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.5498, allocations: 457.2 kB / 0.5499 GB, free: 2.973 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.003352/0.5531, allocations: 2.129 MB / 0.552 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.5534, allocations: 146.6 kB / 0.5521 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.5535, allocations: 80.83 kB / 0.5522 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.5536, allocations: 8.219 kB / 0.5522 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5536, allocations: 34.56 kB / 0.5523 GB, free: 400 kB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.5536, allocations: 0 / 0.5523 GB, free: 400 kB / 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.2811/0.8347, allocations: 1.742 MB / 0.554 GB, free: 38.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.8348, allocations: 53.88 kB / 0.554 GB, free: 38.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.8355, allocations: 486.2 kB / 0.5545 GB, free: 38.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.8355, allocations: 30.95 kB / 0.5545 GB, free: 38.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.8357, allocations: 319.3 kB / 0.5548 GB, free: 38.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.8358, allocations: 91.14 kB / 0.5549 GB, free: 38.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.8359, allocations: 124.9 kB / 0.555 GB, free: 38.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.836, allocations: 354.5 kB / 0.5554 GB, free: 37.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.8363, allocations: 134.5 kB / 0.5555 GB, free: 37.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.8367, allocations: 443.5 kB / 0.5559 GB, free: 37.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.8374, allocations: 0.6036 MB / 0.5565 GB, free: 36.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.8375, allocations: 5.938 kB / 0.5565 GB, free: 36.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0011/0.8386, allocations: 0.6351 MB / 0.5571 GB, free: 36.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.8386, allocations: 9.562 kB / 0.5571 GB, free: 36.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.8386, allocations: 10.16 kB / 0.5571 GB, free: 36.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.8389, allocations: 62.22 kB / 0.5572 GB, free: 36.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.8395, allocations: 137.8 kB / 0.5573 GB, free: 36.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.8408, allocations: 1.937 MB / 0.5592 GB, free: 35.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.8412, allocations: 24.55 kB / 0.5592 GB, free: 35.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/0.8413, allocations: 37.02 kB / 0.5593 GB, free: 35.01 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.0002529/0.8416, allocations: 221.7 kB / 0.5595 GB, free: 34.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.8417, allocations: 44.41 kB / 0.5595 GB, free: 34.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.8423, allocations: 285.9 kB / 0.5598 GB, free: 34.81 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8423, allocations: 6.875 kB / 0.5598 GB, free: 34.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8423, allocations: 4.594 kB / 0.5598 GB, free: 34.81 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005821/0.8429, allocations: 0.5244 MB / 0.5603 GB, free: 34.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.844, allocations: 0.6992 MB / 0.561 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.844, allocations: 0.9375 kB / 0.561 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.8443, allocations: 58.67 kB / 0.5611 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.443e-05/0.8444, allocations: 20.19 kB / 0.5611 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.8444, allocations: 7.625 kB / 0.5611 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006806/0.8451, allocations: 1.379 MB / 0.5624 GB, free: 32.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8451, allocations: 1.562 kB / 0.5624 GB, free: 32.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.8457, allocations: 439.7 kB / 0.5629 GB, free: 32.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.8458, allocations: 115.6 kB / 0.563 GB, free: 32.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.8459, allocations: 6.188 kB / 0.563 GB, free: 32.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.8462, allocations: 9.625 kB / 0.563 GB, free: 32.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.8462, allocations: 18.12 kB / 0.563 GB, free: 32.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.8463, allocations: 16.2 kB / 0.563 GB, free: 32.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.8466, allocations: 326.3 kB / 0.5633 GB, free: 32.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8467, allocations: 4.344 kB / 0.5633 GB, free: 32.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009466/0.8476, allocations: 212.2 kB / 0.5635 GB, free: 32.31 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.001348/0.849, allocations: 453.8 kB / 0.564 GB, free: 32.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009211/0.8499, allocations: 469.2 kB / 0.5644 GB, free: 32.11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.8499, allocations: 1.406 kB / 0.5644 GB, free: 32.11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.8502, allocations: 210.5 kB / 0.5646 GB, free: 32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.8514, allocations: 222.8 kB / 0.5648 GB, free: 31.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.8531, allocations: 0.8532 MB / 0.5657 GB, free: 31.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.8535, allocations: 0.8242 MB / 0.5665 GB, free: 30.94 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.854, allocations: 141.6 kB / 0.5666 GB, free: 30.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.8542, allocations: 43.17 kB / 0.5667 GB, free: 30.91 MB / 478.1 MB Notification: Performance of SimCode: time 3.6e-07/0.8542, allocations: 0 / 0.5667 GB, free: 30.91 MB / 478.1 MB Notification: Performance of Templates: time 0.02201/0.8762, allocations: 12.47 MB / 0.5788 GB, free: 30.1 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