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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001329/0.001329, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.44/1.44, 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.001649/0.001649, allocations: 55.91 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09299, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4046/0.4976, allocations: 175.6 MB / 0.5374 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005639/0.5033, allocations: 3.852 MB / 0.5412 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.5037, allocations: 7.938 kB / 0.5412 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.5046, allocations: 226.7 kB / 0.5414 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009015/0.5056, allocations: 358.1 kB / 0.5418 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.5072, allocations: 0.5379 MB / 0.5423 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.5089, allocations: 1.107 MB / 0.5434 GB, free: 9.652 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.5092, allocations: 107.5 kB / 0.5435 GB, free: 9.551 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.5129, allocations: 1.269 MB / 0.5447 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.5137, allocations: 322.8 kB / 0.545 GB, free: 7.965 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.5139, allocations: 44 kB / 0.5451 GB, free: 7.922 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.5152, allocations: 463 kB / 0.5455 GB, free: 7.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.5155, allocations: 231.4 kB / 0.5457 GB, free: 7.242 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.5161, allocations: 314.9 kB / 0.546 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5177, allocations: 1.078 MB / 0.5471 GB, free: 5.855 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5177, allocations: 4 kB / 0.5471 GB, free: 5.852 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5177, allocations: 0 / 0.5471 GB, free: 5.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.5177, allocations: 0 / 0.5471 GB, free: 5.852 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.001655/0.5194, allocations: 0.8218 MB / 0.5479 GB, free: 4.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5195, allocations: 15.83 kB / 0.5479 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.5196, allocations: 82.53 kB / 0.548 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.5203, allocations: 123.6 kB / 0.5481 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.5209, allocations: 381.3 kB / 0.5484 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.5209, allocations: 33 kB / 0.5485 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.521, allocations: 36 kB / 0.5485 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009445/0.5219, allocations: 0.5654 MB / 0.5491 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5219, allocations: 0 / 0.5491 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.522, allocations: 19.98 kB / 0.5491 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.522, allocations: 12 kB / 0.5491 GB, free: 3.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.5227, allocations: 446.3 kB / 0.5495 GB, free: 3.215 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.003704/0.5264, allocations: 2.121 MB / 0.5516 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.5267, allocations: 151.8 kB / 0.5517 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.5269, allocations: 84.77 kB / 0.5518 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.5269, allocations: 4.625 kB / 0.5518 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5269, allocations: 30.56 kB / 0.5519 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.5269, allocations: 0 / 0.5519 GB, free: 0.6406 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.2449/0.7718, allocations: 1.752 MB / 0.5536 GB, free: 38.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.7719, allocations: 54 kB / 0.5536 GB, free: 38.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.7725, allocations: 485.7 kB / 0.5541 GB, free: 38.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.7725, allocations: 31.64 kB / 0.5541 GB, free: 38.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.7727, allocations: 327.3 kB / 0.5544 GB, free: 38.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.7727, allocations: 98.67 kB / 0.5545 GB, free: 38.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.7729, allocations: 121.4 kB / 0.5546 GB, free: 38.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.773, allocations: 357.6 kB / 0.555 GB, free: 38.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.7732, allocations: 139.8 kB / 0.5551 GB, free: 38.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.7736, allocations: 440.8 kB / 0.5555 GB, free: 37.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.7742, allocations: 0.6061 MB / 0.5561 GB, free: 37.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.7742, allocations: 2.719 kB / 0.5561 GB, free: 37.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009942/0.7752, allocations: 0.6365 MB / 0.5567 GB, free: 37.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.7752, allocations: 10.59 kB / 0.5567 GB, free: 37.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.7753, allocations: 11.08 kB / 0.5568 GB, free: 37.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.7755, allocations: 57.59 kB / 0.5568 GB, free: 37.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.776, allocations: 141.4 kB / 0.557 GB, free: 37.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.7771, allocations: 1.939 MB / 0.5588 GB, free: 35.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.7775, allocations: 25.84 kB / 0.5589 GB, free: 35.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.7776, allocations: 36.94 kB / 0.5589 GB, free: 35.4 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.0002152/0.7778, allocations: 222.5 kB / 0.5591 GB, free: 35.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.7779, allocations: 46.97 kB / 0.5592 GB, free: 35.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.7784, allocations: 288.2 kB / 0.5594 GB, free: 35.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7784, allocations: 2.75 kB / 0.5594 GB, free: 35.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.7784, allocations: 5.781 kB / 0.5594 GB, free: 35.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000394/0.7788, allocations: 0.5279 MB / 0.56 GB, free: 34.74 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008766/0.7797, allocations: 0.692 MB / 0.5606 GB, free: 34.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7797, allocations: 2.297 kB / 0.5606 GB, free: 34.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.78, allocations: 56.7 kB / 0.5607 GB, free: 34.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.7801, allocations: 22.44 kB / 0.5607 GB, free: 34.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.7801, allocations: 7.703 kB / 0.5607 GB, free: 34.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005906/0.7807, allocations: 1.381 MB / 0.5621 GB, free: 33.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7807, allocations: 0.9062 kB / 0.5621 GB, free: 33.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.7813, allocations: 436 kB / 0.5625 GB, free: 32.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.7814, allocations: 114.8 kB / 0.5626 GB, free: 32.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.7815, allocations: 9.359 kB / 0.5626 GB, free: 32.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.7817, allocations: 8.031 kB / 0.5626 GB, free: 32.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.7818, allocations: 15.33 kB / 0.5626 GB, free: 32.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.7818, allocations: 16.67 kB / 0.5626 GB, free: 32.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.7822, allocations: 326.8 kB / 0.563 GB, free: 32.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7822, allocations: 0 / 0.563 GB, free: 32.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008783/0.7831, allocations: 217.7 kB / 0.5632 GB, free: 32.68 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.001906/0.785, allocations: 1.315 MB / 0.5644 GB, free: 31.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008626/0.7859, allocations: 469.8 kB / 0.5649 GB, free: 31.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7859, allocations: 1.688 kB / 0.5649 GB, free: 31.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.7861, allocations: 206.1 kB / 0.5651 GB, free: 31.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.7873, allocations: 221.8 kB / 0.5653 GB, free: 31.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.7927, allocations: 4.586 MB / 0.5698 GB, free: 29.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.793, allocations: 0.8203 MB / 0.5706 GB, free: 28.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000527/0.7935, allocations: 144.8 kB / 0.5707 GB, free: 28.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.7937, allocations: 146.9 kB / 0.5709 GB, free: 28.68 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.7937, allocations: 0 / 0.5709 GB, free: 28.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.8405, allocations: 17.35 MB / 0.5878 GB, free: 25.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.27, allocations: 16.27 kB / 0.5878 GB, free: 25.75 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > 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.csv","/var/lib/jenkins1/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/jenkins1/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