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.001207/0.001206, allocations: 114.4 kB / 17.74 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.001169/0.001169, allocations: 183.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.325/1.325, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001578/0.001578, allocations: 55.92 kB / 328.1 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08266, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3481/0.4308, allocations: 175.6 MB / 0.5374 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.4356, allocations: 3.852 MB / 0.5412 GB, free: 11.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.4358, allocations: 7.938 kB / 0.5412 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.4366, allocations: 218.8 kB / 0.5414 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.4373, allocations: 362 kB / 0.5418 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.4386, allocations: 0.5414 MB / 0.5423 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.4398, allocations: 1.111 MB / 0.5434 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.44, allocations: 96.67 kB / 0.5435 GB, free: 9.578 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.4428, allocations: 1.266 MB / 0.5447 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.4432, allocations: 322.9 kB / 0.545 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.4433, allocations: 47.94 kB / 0.545 GB, free: 7.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009599/0.4443, allocations: 467 kB / 0.5455 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.4445, allocations: 231.5 kB / 0.5457 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.4449, allocations: 314.9 kB / 0.546 GB, free: 6.957 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.4462, allocations: 1.078 MB / 0.5471 GB, free: 5.879 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4462, allocations: 0 / 0.5471 GB, free: 5.879 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4462, allocations: 0 / 0.5471 GB, free: 5.879 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4462, allocations: 0 / 0.5471 GB, free: 5.879 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.001357/0.4476, allocations: 0.8256 MB / 0.5479 GB, free: 5.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4476, allocations: 11.89 kB / 0.5479 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.4477, allocations: 82.53 kB / 0.548 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.4483, allocations: 123.6 kB / 0.5481 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.4489, allocations: 389.3 kB / 0.5485 GB, free: 4.359 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4489, allocations: 21 kB / 0.5485 GB, free: 4.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.449, allocations: 44 kB / 0.5485 GB, free: 4.293 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.4499, allocations: 0.5615 MB / 0.5491 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4499, allocations: 0 / 0.5491 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/0.45, allocations: 20 kB / 0.5491 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.45, allocations: 15.98 kB / 0.5491 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.4507, allocations: 446.3 kB / 0.5495 GB, free: 3.238 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.003425/0.4541, allocations: 2.122 MB / 0.5516 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.4544, allocations: 146.6 kB / 0.5517 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4545, allocations: 80.83 kB / 0.5518 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.4545, allocations: 4.625 kB / 0.5518 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4546, allocations: 42.5 kB / 0.5519 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.4546, allocations: 0 / 0.5519 GB, free: 0.6602 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.2238/0.6784, allocations: 1.748 MB / 0.5536 GB, free: 38.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.6784, allocations: 54.84 kB / 0.5536 GB, free: 38.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.679, allocations: 481.6 kB / 0.5541 GB, free: 38.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.679, allocations: 30.92 kB / 0.5541 GB, free: 38.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.6792, allocations: 330 kB / 0.5544 GB, free: 38.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.6792, allocations: 96.73 kB / 0.5545 GB, free: 38.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6794, allocations: 124.3 kB / 0.5546 GB, free: 38.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.6795, allocations: 355.3 kB / 0.555 GB, free: 38.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6797, allocations: 136.3 kB / 0.5551 GB, free: 38.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.68, allocations: 443.4 kB / 0.5555 GB, free: 37.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.6806, allocations: 0.6077 MB / 0.5561 GB, free: 37.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6806, allocations: 3.688 kB / 0.5561 GB, free: 37.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008954/0.6815, allocations: 0.6354 MB / 0.5567 GB, free: 37.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6815, allocations: 10.5 kB / 0.5568 GB, free: 37.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6815, allocations: 10.81 kB / 0.5568 GB, free: 37.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.6817, allocations: 59.42 kB / 0.5568 GB, free: 37.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.6822, allocations: 142.8 kB / 0.557 GB, free: 37.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000957/0.6832, allocations: 1.934 MB / 0.5588 GB, free: 35.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.6835, allocations: 22.55 kB / 0.5589 GB, free: 35.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.6836, allocations: 38.08 kB / 0.5589 GB, free: 35.46 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.0001904/0.6838, allocations: 220.3 kB / 0.5591 GB, free: 35.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.6839, allocations: 51.11 kB / 0.5592 GB, free: 35.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.6844, allocations: 288.9 kB / 0.5594 GB, free: 35.26 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6844, allocations: 3.75 kB / 0.5594 GB, free: 35.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6844, allocations: 4.594 kB / 0.5594 GB, free: 35.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003783/0.6848, allocations: 0.5265 MB / 0.56 GB, free: 34.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.6857, allocations: 0.6945 MB / 0.5606 GB, free: 34.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6857, allocations: 2.594 kB / 0.5606 GB, free: 34.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.6859, allocations: 52.66 kB / 0.5607 GB, free: 34.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-05/0.686, allocations: 22.03 kB / 0.5607 GB, free: 34.49 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.6861, allocations: 10.67 kB / 0.5607 GB, free: 34.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005597/0.6866, allocations: 1.38 MB / 0.5621 GB, free: 33.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6866, allocations: 4.438 kB / 0.5621 GB, free: 33.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.6872, allocations: 438.8 kB / 0.5625 GB, free: 32.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.6872, allocations: 116 kB / 0.5626 GB, free: 32.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.6873, allocations: 7.344 kB / 0.5626 GB, free: 32.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.6876, allocations: 9.672 kB / 0.5626 GB, free: 32.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.6876, allocations: 17.67 kB / 0.5626 GB, free: 32.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.6876, allocations: 16.39 kB / 0.5626 GB, free: 32.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.688, allocations: 325.6 kB / 0.563 GB, free: 32.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.688, allocations: 1.062 kB / 0.563 GB, free: 32.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007803/0.6888, allocations: 210.9 kB / 0.5632 GB, free: 32.75 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.001673/0.6905, allocations: 1.316 MB / 0.5644 GB, free: 32.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.6912, allocations: 467.6 kB / 0.5649 GB, free: 31.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6912, allocations: 0.875 kB / 0.5649 GB, free: 31.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.6915, allocations: 209.6 kB / 0.5651 GB, free: 31.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.6925, allocations: 217.5 kB / 0.5653 GB, free: 31.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.6974, allocations: 4.593 MB / 0.5698 GB, free: 29.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.6976, allocations: 0.8208 MB / 0.5706 GB, free: 28.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.6981, allocations: 141.9 kB / 0.5707 GB, free: 28.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.6983, allocations: 146.8 kB / 0.5709 GB, free: 28.76 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6983, allocations: 0 / 0.5709 GB, free: 28.76 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.743, allocations: 17.35 MB / 0.5878 GB, free: 25.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14, allocations: 10.89 kB / 0.5878 GB, free: 25.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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