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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 87.62 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006248/0.006248, allocations: 157.3 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.888/0.888, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.764e-05, allocations: 6.219 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2684/0.2685, allocations: 151.9 MB / 450.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.2723, allocations: 3.507 MB / 453.9 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.2725, allocations: 4 kB / 453.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.2731, allocations: 222.6 kB / 454.2 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.2737, allocations: 377.6 kB / 454.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.275, allocations: 0.5661 MB / 455.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009487/0.276, allocations: 1.114 MB / 456.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.2762, allocations: 70.02 kB / 456.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1877/0.4639, allocations: 1.426 MB / 457.7 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.4644, allocations: 308.2 kB / 458 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4645, allocations: 44.47 kB / 458.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009248/0.4655, allocations: 424 kB / 458.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.4657, allocations: 247.3 kB / 458.7 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.466, allocations: 245.5 kB / 458.9 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.4676, allocations: 1.147 MB / 460.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.4676, allocations: 0 / 460.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4676, allocations: 1 kB / 460.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.4676, allocations: 0.5312 kB / 460.1 MB, free: 2.328 MB / 410.7 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.001743/0.4694, allocations: 0.7363 MB / 460.8 MB, free: 17.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4694, allocations: 17.56 kB / 460.8 MB, free: 17.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.4695, allocations: 82.61 kB / 460.9 MB, free: 17.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.47, allocations: 125.4 kB / 461.1 MB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.4705, allocations: 320.2 kB / 461.4 MB, free: 17.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.4705, allocations: 27.91 kB / 461.4 MB, free: 17.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.4706, allocations: 40.16 kB / 461.4 MB, free: 17.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.4715, allocations: 1.163 MB / 462.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.4715, allocations: 2 kB / 462.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.4716, allocations: 22.3 kB / 462.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4716, allocations: 10.12 kB / 462.6 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.4722, allocations: 447.5 kB / 463.1 MB, free: 16.91 MB / 426.7 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.002668/0.4749, allocations: 1.534 MB / 464.6 MB, free: 16.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.4751, allocations: 142.8 kB / 464.7 MB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.4752, allocations: 74.42 kB / 464.8 MB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4752, allocations: 9.266 kB / 464.8 MB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4752, allocations: 39.69 kB / 464.9 MB, free: 16.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.4752, allocations: 2.625 kB / 464.9 MB, free: 16.27 MB / 426.7 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.004163/0.4794, allocations: 1.459 MB / 466.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4795, allocations: 57 kB / 466.4 MB, free: 15.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.4801, allocations: 0.4931 MB / 466.9 MB, free: 15.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.4801, allocations: 31.14 kB / 466.9 MB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4803, allocations: 327.7 kB / 467.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.4804, allocations: 90.83 kB / 467.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.4805, allocations: 126.2 kB / 467.4 MB, free: 15.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4807, allocations: 355.3 kB / 467.8 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4809, allocations: 136.3 kB / 467.9 MB, free: 14.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.4812, allocations: 443.8 kB / 468.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.4817, allocations: 0.607 MB / 469 MB, free: 14.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4817, allocations: 3.906 kB / 469 MB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008013/0.4825, allocations: 0.6345 MB / 469.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4825, allocations: 9 kB / 469.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4825, allocations: 11.69 kB / 469.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.4827, allocations: 58 kB / 469.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.4831, allocations: 143.8 kB / 469.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.4847, allocations: 1.83 MB / 471.6 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.4851, allocations: 30.17 kB / 471.7 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.4851, allocations: 35.91 kB / 471.7 MB, free: 12.35 MB / 426.7 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.000242/0.4853, allocations: 210.7 kB / 471.9 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.4854, allocations: 49.03 kB / 472 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.4858, allocations: 284.5 kB / 472.2 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4858, allocations: 7.188 kB / 472.2 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4858, allocations: 0 / 472.2 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003584/0.4862, allocations: 0.5298 MB / 472.8 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008612/0.4871, allocations: 0.6336 MB / 473.4 MB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4871, allocations: 0.9688 kB / 473.4 MB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.4873, allocations: 53.7 kB / 473.5 MB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.547e-05/0.4873, allocations: 23.44 kB / 473.5 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4874, allocations: 6.75 kB / 473.5 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006747/0.488, allocations: 1.279 MB / 474.8 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.488, allocations: 0.9375 kB / 474.8 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.4885, allocations: 431.5 kB / 475.2 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4886, allocations: 39.36 kB / 475.2 MB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.4887, allocations: 6.375 kB / 475.2 MB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4888, allocations: 9.609 kB / 475.2 MB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4888, allocations: 18.7 kB / 475.3 MB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.4889, allocations: 16.19 kB / 475.3 MB, free: 9.992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003172/0.4892, allocations: 328.7 kB / 475.6 MB, free: 9.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4892, allocations: 1.188 kB / 475.6 MB, free: 9.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001257/0.4904, allocations: 209.2 kB / 475.8 MB, free: 9.895 MB / 426.7 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.002378/0.4928, allocations: 1.319 MB / 477.1 MB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009828/0.4938, allocations: 452.2 kB / 477.6 MB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4938, allocations: 0.7188 kB / 477.6 MB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.4941, allocations: 201.9 kB / 477.8 MB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.4953, allocations: 214.8 kB / 478 MB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.4998, allocations: 4.532 MB / 482.5 MB, free: 6.617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.5, allocations: 219.5 kB / 482.7 MB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003557/0.5003, allocations: 135.9 kB / 482.8 MB, free: 6.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.5004, allocations: 148.6 kB / 483 MB, free: 6.512 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5004, allocations: 0 / 483 MB, free: 6.512 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.5478, allocations: 18.69 MB / 0.4899 GB, free: 2.707 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.788, allocations: 15.12 kB / 0.4899 GB, free: 2.695 MB / 426.7 MB " [Timeout remaining time 651] (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.000201919 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.csv","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.602574527263641]