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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 121.4 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 207.6 MB / 231.8 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.001659/0.001659, allocations: 60.3 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08487/0.08653, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3471/0.4336, allocations: 176.2 MB / 0.5543 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.4383, allocations: 3.852 MB / 0.5581 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.4384, allocations: 8 kB / 0.5581 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.4391, allocations: 238.7 kB / 0.5583 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.4397, allocations: 366.1 kB / 0.5587 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.441, allocations: 0.5552 MB / 0.5592 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.4421, allocations: 1.099 MB / 0.5603 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.4423, allocations: 80.69 kB / 0.5603 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4448, allocations: 1.267 MB / 0.5616 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.4453, allocations: 354.8 kB / 0.5619 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-05/0.4454, allocations: 44 kB / 0.562 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009533/0.4463, allocations: 471 kB / 0.5624 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.4466, allocations: 247.3 kB / 0.5626 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.4469, allocations: 310.8 kB / 0.5629 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.4481, allocations: 1.083 MB / 0.564 GB, free: 8.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4481, allocations: 0 / 0.564 GB, free: 8.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4481, allocations: 0 / 0.564 GB, free: 8.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.4481, allocations: 0 / 0.564 GB, free: 8.523 MB / 446.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.001354/0.4495, allocations: 0.8218 MB / 0.5648 GB, free: 7.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4495, allocations: 19.83 kB / 0.5648 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.4496, allocations: 82.52 kB / 0.5649 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000597/0.4502, allocations: 119.6 kB / 0.565 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.4509, allocations: 385.2 kB / 0.5654 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.4509, allocations: 29 kB / 0.5654 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.451, allocations: 39.98 kB / 0.5655 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.4518, allocations: 0.5615 MB / 0.566 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.4519, allocations: 7.984 kB / 0.566 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.4519, allocations: 16 kB / 0.566 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4519, allocations: 8 kB / 0.566 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/0.4526, allocations: 446.4 kB / 0.5665 GB, free: 5.887 MB / 446.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.003599/0.4562, allocations: 2.117 MB / 0.5685 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.4564, allocations: 142.6 kB / 0.5687 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4565, allocations: 80.84 kB / 0.5687 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4566, allocations: 3.984 kB / 0.5687 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4566, allocations: 38.56 kB / 0.5688 GB, free: 3.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.4566, allocations: 0 / 0.5688 GB, free: 3.316 MB / 446.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.006111/0.4627, allocations: 1.762 MB / 0.5705 GB, free: 1.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4628, allocations: 59.34 kB / 0.5706 GB, free: 1.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.4633, allocations: 481.7 kB / 0.571 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.4633, allocations: 33.7 kB / 0.571 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.4636, allocations: 323.3 kB / 0.5714 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.4636, allocations: 99.27 kB / 0.5714 GB, free: 408 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.4638, allocations: 118.2 kB / 0.5716 GB, free: 284 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4639, allocations: 354.8 kB / 0.5719 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.4642, allocations: 137.2 kB / 0.572 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.4646, allocations: 436.5 kB / 0.5724 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.4653, allocations: 0.6013 MB / 0.573 GB, free: 14.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4654, allocations: 4 kB / 0.573 GB, free: 14.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009988/0.4663, allocations: 0.6443 MB / 0.5737 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4664, allocations: 8 kB / 0.5737 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4664, allocations: 12 kB / 0.5737 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.4666, allocations: 57.73 kB / 0.5737 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.467, allocations: 140.6 kB / 0.5739 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.4686, allocations: 1.936 MB / 0.5758 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.469, allocations: 20 kB / 0.5758 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.469, allocations: 36.19 kB / 0.5758 GB, free: 11.43 MB / 462.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.0002356/0.4693, allocations: 225.4 kB / 0.576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.4693, allocations: 48.78 kB / 0.5761 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.4699, allocations: 294.8 kB / 0.5764 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4699, allocations: 4 kB / 0.5764 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4699, allocations: 0 / 0.5764 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005034/0.4704, allocations: 0.5277 MB / 0.5769 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4714, allocations: 0.7025 MB / 0.5776 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4714, allocations: 4 kB / 0.5776 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.4717, allocations: 51.97 kB / 0.5776 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.779e-05/0.4718, allocations: 24.78 kB / 0.5776 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4718, allocations: 4.812 kB / 0.5776 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009888/0.4728, allocations: 1.371 MB / 0.579 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4728, allocations: 7.969 kB / 0.579 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.4734, allocations: 436 kB / 0.5794 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4735, allocations: 120.8 kB / 0.5795 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.4736, allocations: 7.938 kB / 0.5795 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.4738, allocations: 8 kB / 0.5795 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.4739, allocations: 19.97 kB / 0.5796 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.4739, allocations: 15.98 kB / 0.5796 GB, free: 7.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003545/0.4742, allocations: 323.1 kB / 0.5799 GB, free: 6.922 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4742, allocations: 0 / 0.5799 GB, free: 6.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007314/0.475, allocations: 219.7 kB / 0.5801 GB, free: 6.707 MB / 462.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.001887/0.4769, allocations: 1.318 MB / 0.5814 GB, free: 5.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.4777, allocations: 456.5 kB / 0.5818 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4777, allocations: 0 / 0.5818 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.4779, allocations: 202.5 kB / 0.582 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4789, allocations: 214 kB / 0.5822 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.4846, allocations: 4.591 MB / 0.5867 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4851, allocations: 0.8234 MB / 0.5875 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.4855, allocations: 132.6 kB / 0.5876 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.4857, allocations: 147.4 kB / 0.5878 GB, free: 14.38 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4857, allocations: 4 kB / 0.5878 GB, free: 14.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.5354, allocations: 17.42 MB / 0.6048 GB, free: 12.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.56, allocations: 7.938 kB / 0.6048 GB, free: 12.84 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.917792501859367]