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.001602/0.001602, allocations: 106.6 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.001822/0.001822, allocations: 187.1 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.311/1.311, 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.001273/0.001273, allocations: 51.92 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0793/0.08059, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3474/0.428, allocations: 175.6 MB / 0.5374 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.4327, allocations: 3.84 MB / 0.5412 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.433, allocations: 7.938 kB / 0.5412 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.4338, allocations: 234.7 kB / 0.5414 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007511/0.4346, allocations: 350.1 kB / 0.5417 GB, free: 11.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.436, allocations: 0.5424 MB / 0.5423 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.4372, allocations: 1.111 MB / 0.5434 GB, free: 9.645 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.4374, allocations: 102.5 kB / 0.5435 GB, free: 9.547 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.4398, allocations: 1.271 MB / 0.5447 GB, free: 8.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.4402, allocations: 326.8 kB / 0.545 GB, free: 7.953 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.4403, allocations: 47.94 kB / 0.5451 GB, free: 7.906 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.4411, allocations: 459.1 kB / 0.5455 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.4413, allocations: 227.5 kB / 0.5457 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.4416, allocations: 318.8 kB / 0.546 GB, free: 6.922 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.4427, allocations: 1.075 MB / 0.5471 GB, free: 5.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4427, allocations: 0 / 0.5471 GB, free: 5.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4427, allocations: 0 / 0.5471 GB, free: 5.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4427, allocations: 0 / 0.5471 GB, free: 5.844 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.001226/0.4439, allocations: 0.8113 MB / 0.5479 GB, free: 4.984 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.444, allocations: 15.89 kB / 0.5479 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.682e-05/0.4441, allocations: 82.53 kB / 0.5479 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.4446, allocations: 115.4 kB / 0.5481 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.4452, allocations: 385.1 kB / 0.5484 GB, free: 4.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.4452, allocations: 29 kB / 0.5485 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.4453, allocations: 36 kB / 0.5485 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.4461, allocations: 0.5654 MB / 0.549 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4461, allocations: 4 kB / 0.549 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.4462, allocations: 20 kB / 0.5491 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.4462, allocations: 8 kB / 0.5491 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.4468, allocations: 450.3 kB / 0.5495 GB, free: 3.223 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.003237/0.45, allocations: 2.121 MB / 0.5516 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4503, allocations: 146.6 kB / 0.5517 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.4504, allocations: 84.77 kB / 0.5518 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4504, allocations: 0 / 0.5518 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4505, allocations: 42.56 kB / 0.5518 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.4505, allocations: 0 / 0.5518 GB, free: 0.6445 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.2206/0.671, allocations: 1.736 MB / 0.5535 GB, free: 38.83 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.6711, allocations: 54.03 kB / 0.5536 GB, free: 38.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.6717, allocations: 484.5 kB / 0.554 GB, free: 38.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.6717, allocations: 31.52 kB / 0.5541 GB, free: 38.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6718, allocations: 322 kB / 0.5544 GB, free: 38.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.6719, allocations: 90.89 kB / 0.5545 GB, free: 38.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.6721, allocations: 126.8 kB / 0.5546 GB, free: 38.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.6721, allocations: 354.7 kB / 0.5549 GB, free: 38.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.6724, allocations: 138.4 kB / 0.5551 GB, free: 38.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.6727, allocations: 438.7 kB / 0.5555 GB, free: 37.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.6733, allocations: 0.6068 MB / 0.5561 GB, free: 37.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6733, allocations: 2.688 kB / 0.5561 GB, free: 37.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009155/0.6742, allocations: 0.6359 MB / 0.5567 GB, free: 37.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6743, allocations: 10.09 kB / 0.5567 GB, free: 37.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6743, allocations: 11.56 kB / 0.5567 GB, free: 37.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.6745, allocations: 56.56 kB / 0.5568 GB, free: 37.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.675, allocations: 143.9 kB / 0.5569 GB, free: 37.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.676, allocations: 1.942 MB / 0.5588 GB, free: 35.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.6764, allocations: 19.28 kB / 0.5588 GB, free: 35.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.6764, allocations: 38.41 kB / 0.5589 GB, free: 35.32 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.0001882/0.6766, allocations: 222.7 kB / 0.5591 GB, free: 35.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.6767, allocations: 43.11 kB / 0.5591 GB, free: 35.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.6772, allocations: 287.1 kB / 0.5594 GB, free: 35.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6772, allocations: 2.688 kB / 0.5594 GB, free: 35.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6772, allocations: 5.594 kB / 0.5594 GB, free: 35.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003703/0.6776, allocations: 0.5224 MB / 0.5599 GB, free: 34.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009861/0.6786, allocations: 0.6995 MB / 0.5606 GB, free: 34.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6786, allocations: 1.594 kB / 0.5606 GB, free: 34.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.6789, allocations: 56.77 kB / 0.5606 GB, free: 34.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.497e-05/0.679, allocations: 21.25 kB / 0.5607 GB, free: 34.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.679, allocations: 7.766 kB / 0.5607 GB, free: 34.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006185/0.6797, allocations: 1.378 MB / 0.562 GB, free: 33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6797, allocations: 0.8438 kB / 0.562 GB, free: 33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.6802, allocations: 441.5 kB / 0.5624 GB, free: 32.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.6803, allocations: 115.6 kB / 0.5625 GB, free: 32.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.6804, allocations: 7.281 kB / 0.5625 GB, free: 32.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.6806, allocations: 10.61 kB / 0.5626 GB, free: 32.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.6807, allocations: 14.86 kB / 0.5626 GB, free: 32.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.6807, allocations: 16.31 kB / 0.5626 GB, free: 32.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003671/0.6811, allocations: 329.2 kB / 0.5629 GB, free: 32.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6811, allocations: 0 / 0.5629 GB, free: 32.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008401/0.6819, allocations: 209.7 kB / 0.5631 GB, free: 32.62 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.001736/0.6837, allocations: 1.31 MB / 0.5644 GB, free: 31.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008252/0.6845, allocations: 470.5 kB / 0.5648 GB, free: 31.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6845, allocations: 2.531 kB / 0.5648 GB, free: 31.81 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.6848, allocations: 208.6 kB / 0.565 GB, free: 31.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6859, allocations: 219.5 kB / 0.5652 GB, free: 31.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.6914, allocations: 4.566 MB / 0.5697 GB, free: 29.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.6917, allocations: 0.8261 MB / 0.5705 GB, free: 28.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005406/0.6922, allocations: 142.8 kB / 0.5706 GB, free: 28.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6925, allocations: 145.5 kB / 0.5708 GB, free: 28.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6925, allocations: 1.969 kB / 0.5708 GB, free: 28.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.7381, allocations: 17.49 MB / 0.5879 GB, free: 25.72 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.74, allocations: 12.33 kB / 0.5879 GB, free: 25.71 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