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.001071/0.001071, allocations: 105.5 kB / 17.73 MB, free: 5.367 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.00115/0.00115, allocations: 192 kB / 18.66 MB, free: 4.445 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.217/1.217, 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.001241/0.001241, allocations: 51.92 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.08215, allocations: 46.63 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3461/0.4283, allocations: 175.6 MB / 0.5374 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.4325, allocations: 3.856 MB / 0.5412 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.4328, allocations: 4 kB / 0.5412 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.4335, allocations: 226.7 kB / 0.5414 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.4342, allocations: 354.1 kB / 0.5417 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.4355, allocations: 0.5531 MB / 0.5423 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4366, allocations: 1.107 MB / 0.5434 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.4368, allocations: 102.5 kB / 0.5435 GB, free: 9.562 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.4392, allocations: 1.265 MB / 0.5447 GB, free: 8.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.4397, allocations: 330.8 kB / 0.545 GB, free: 7.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.764e-05/0.4398, allocations: 44 kB / 0.5451 GB, free: 7.926 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009147/0.4407, allocations: 455.1 kB / 0.5455 GB, free: 7.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.4409, allocations: 231.4 kB / 0.5457 GB, free: 7.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.4413, allocations: 318.9 kB / 0.546 GB, free: 6.941 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4424, allocations: 1.075 MB / 0.5471 GB, free: 5.863 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4424, allocations: 0 / 0.5471 GB, free: 5.863 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4424, allocations: 0 / 0.5471 GB, free: 5.863 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.4425, allocations: 0 / 0.5471 GB, free: 5.863 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.001298/0.4438, allocations: 0.8152 MB / 0.5479 GB, free: 5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4438, allocations: 11.89 kB / 0.5479 GB, free: 4.988 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.91e-05/0.4439, allocations: 79.03 kB / 0.5479 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.4445, allocations: 123.3 kB / 0.5481 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.445, allocations: 381.1 kB / 0.5484 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4451, allocations: 33 kB / 0.5485 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.4451, allocations: 38.38 kB / 0.5485 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.4459, allocations: 0.5615 MB / 0.549 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4459, allocations: 0 / 0.549 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.446, allocations: 20 kB / 0.5491 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.446, allocations: 15.94 kB / 0.5491 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.4466, allocations: 442.4 kB / 0.5495 GB, free: 3.246 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.003132/0.4497, allocations: 2.129 MB / 0.5516 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.45, allocations: 147.5 kB / 0.5517 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4501, allocations: 80.83 kB / 0.5518 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4501, allocations: 4 kB / 0.5518 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4501, allocations: 34.56 kB / 0.5518 GB, free: 0.668 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.4502, allocations: 0 / 0.5518 GB, free: 0.668 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.225/0.6751, allocations: 1.739 MB / 0.5535 GB, free: 38.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.6752, allocations: 55 kB / 0.5536 GB, free: 38.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/0.6758, allocations: 482.1 kB / 0.554 GB, free: 38.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.6758, allocations: 32.58 kB / 0.5541 GB, free: 38.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.676, allocations: 320.8 kB / 0.5544 GB, free: 38.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.6761, allocations: 91.89 kB / 0.5545 GB, free: 38.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.6762, allocations: 125.6 kB / 0.5546 GB, free: 38.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.6763, allocations: 354.8 kB / 0.5549 GB, free: 38.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.6765, allocations: 138.6 kB / 0.5551 GB, free: 38.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.6769, allocations: 440.8 kB / 0.5555 GB, free: 37.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.6774, allocations: 0.6058 MB / 0.5561 GB, free: 37.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.6775, allocations: 3.438 kB / 0.5561 GB, free: 37.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009347/0.6784, allocations: 0.6327 MB / 0.5567 GB, free: 37.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6784, allocations: 9.312 kB / 0.5567 GB, free: 37.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.6785, allocations: 11.39 kB / 0.5567 GB, free: 37.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.6787, allocations: 56.16 kB / 0.5568 GB, free: 37.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.6792, allocations: 141 kB / 0.5569 GB, free: 37.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.6802, allocations: 1.945 MB / 0.5588 GB, free: 35.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.6806, allocations: 22.59 kB / 0.5588 GB, free: 35.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.6807, allocations: 36.8 kB / 0.5589 GB, free: 35.44 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.0002128/0.6809, allocations: 222.9 kB / 0.5591 GB, free: 35.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.681, allocations: 43.5 kB / 0.5591 GB, free: 35.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.6815, allocations: 292.2 kB / 0.5594 GB, free: 35.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6815, allocations: 3.75 kB / 0.5594 GB, free: 35.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6815, allocations: 7.172 kB / 0.5594 GB, free: 35.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003834/0.6819, allocations: 0.5234 MB / 0.5599 GB, free: 34.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.6828, allocations: 0.6975 MB / 0.5606 GB, free: 34.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6828, allocations: 1.734 kB / 0.5606 GB, free: 34.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.6831, allocations: 55.84 kB / 0.5606 GB, free: 34.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-05/0.6832, allocations: 20.42 kB / 0.5607 GB, free: 34.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.6833, allocations: 6.047 kB / 0.5607 GB, free: 34.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006582/0.6839, allocations: 1.378 MB / 0.562 GB, free: 33.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6839, allocations: 1.609 kB / 0.562 GB, free: 33.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.6846, allocations: 435.1 kB / 0.5624 GB, free: 32.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.811e-05/0.6847, allocations: 113.9 kB / 0.5625 GB, free: 32.83 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.6847, allocations: 6.844 kB / 0.5625 GB, free: 32.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.685, allocations: 9.25 kB / 0.5626 GB, free: 32.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.6851, allocations: 18.48 kB / 0.5626 GB, free: 32.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.6851, allocations: 13.47 kB / 0.5626 GB, free: 32.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004721/0.6856, allocations: 327 kB / 0.5629 GB, free: 32.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6856, allocations: 0.8125 kB / 0.5629 GB, free: 32.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001148/0.6868, allocations: 213.5 kB / 0.5631 GB, free: 32.74 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.002154/0.6889, allocations: 1.313 MB / 0.5644 GB, free: 32.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.6898, allocations: 471 kB / 0.5648 GB, free: 31.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6898, allocations: 1.812 kB / 0.5648 GB, free: 31.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.69, allocations: 211.2 kB / 0.565 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.001137/0.6912, allocations: 221.5 kB / 0.5652 GB, free: 31.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.6966, allocations: 4.572 MB / 0.5697 GB, free: 29.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6969, allocations: 0.8251 MB / 0.5705 GB, free: 28.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.6975, allocations: 126.9 kB / 0.5706 GB, free: 28.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.6977, allocations: 152.2 kB / 0.5708 GB, free: 28.79 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6977, allocations: 1.062 kB / 0.5708 GB, free: 28.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03772/0.7354, allocations: 17.49 MB / 0.5879 GB, free: 25.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.28, allocations: 9.531 kB / 0.5879 GB, free: 25.82 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