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.005237/0.005237, allocations: 114.2 kB / 21.97 MB, free: 5.223 MB / 14.72 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.00163/0.00163, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.223/1.223, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.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.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 52.34 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2133, allocations: 49.16 MB / 397.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1853/0.3986, allocations: 176.4 MB / 0.5601 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1965/0.5951, allocations: 3.864 MB / 0.5639 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.5954, allocations: 7.875 kB / 0.5639 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.5961, allocations: 232.5 kB / 0.5641 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008331/0.5969, allocations: 374.1 kB / 0.5645 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.5983, allocations: 0.5517 MB / 0.565 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.5998, allocations: 1.128 MB / 0.5661 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.6, allocations: 82.92 kB / 0.5662 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.6027, allocations: 1.29 MB / 0.5675 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.6032, allocations: 352.4 kB / 0.5678 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.6032, allocations: 45.94 kB / 0.5678 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.6043, allocations: 475.7 kB / 0.5683 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.6045, allocations: 239 kB / 0.5685 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.6049, allocations: 319.2 kB / 0.5688 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.6061, allocations: 1.079 MB / 0.5699 GB, free: 1.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6062, allocations: 0.9688 kB / 0.5699 GB, free: 1.652 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6062, allocations: 0 / 0.5699 GB, free: 1.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.6062, allocations: 0.9375 kB / 0.5699 GB, free: 1.652 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.001348/0.6075, allocations: 0.7492 MB / 0.5706 GB, free: 17.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6075, allocations: 13.58 kB / 0.5706 GB, free: 17.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.486e-05/0.6076, allocations: 10.12 kB / 0.5706 GB, free: 17.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.916e-05/0.6077, allocations: 81.39 kB / 0.5707 GB, free: 17.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/0.6083, allocations: 122.8 kB / 0.5708 GB, free: 17.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.6089, allocations: 323.5 kB / 0.5711 GB, free: 17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.6089, allocations: 27.41 kB / 0.5712 GB, free: 17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.6089, allocations: 45.16 kB / 0.5712 GB, free: 17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.6098, allocations: 0.5595 MB / 0.5718 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6098, allocations: 0.5312 kB / 0.5718 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.6099, allocations: 21.59 kB / 0.5718 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.6099, allocations: 10.11 kB / 0.5718 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.6105, allocations: 450 kB / 0.5722 GB, free: 16.93 MB / 494.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.003289/0.6138, allocations: 1.946 MB / 0.5741 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.614, allocations: 137.3 kB / 0.5742 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.6142, allocations: 77 kB / 0.5743 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6142, allocations: 5.375 kB / 0.5743 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6142, allocations: 36.47 kB / 0.5744 GB, free: 15.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.634e-06/0.6142, allocations: 2.047 kB / 0.5744 GB, free: 15.91 MB / 494.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.005725/0.62, allocations: 1.464 MB / 0.5758 GB, free: 15.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.62, allocations: 54.56 kB / 0.5758 GB, free: 15.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.6205, allocations: 487 kB / 0.5763 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.6205, allocations: 32.08 kB / 0.5763 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.6207, allocations: 328 kB / 0.5767 GB, free: 14.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.6207, allocations: 91.5 kB / 0.5767 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.6208, allocations: 125.3 kB / 0.5769 GB, free: 14.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.621, allocations: 356 kB / 0.5772 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.6212, allocations: 130.3 kB / 0.5773 GB, free: 14.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.6215, allocations: 444.6 kB / 0.5777 GB, free: 14.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.622, allocations: 0.5998 MB / 0.5783 GB, free: 13.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.622, allocations: 3.938 kB / 0.5783 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008669/0.6229, allocations: 0.638 MB / 0.579 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6229, allocations: 10.78 kB / 0.579 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.6229, allocations: 14.91 kB / 0.579 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.6231, allocations: 60.52 kB / 0.579 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.6235, allocations: 141.2 kB / 0.5792 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.6249, allocations: 1.834 MB / 0.581 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.6252, allocations: 25.09 kB / 0.581 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.6253, allocations: 35.84 kB / 0.581 GB, free: 11.99 MB / 494.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.0001861/0.6254, allocations: 209.2 kB / 0.5812 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.6255, allocations: 50.41 kB / 0.5813 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.626, allocations: 294.9 kB / 0.5816 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.626, allocations: 5.984 kB / 0.5816 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.626, allocations: 1 kB / 0.5816 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004377/0.6264, allocations: 0.5217 MB / 0.5821 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.6272, allocations: 0.6764 MB / 0.5827 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.6272, allocations: 0.9375 kB / 0.5827 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.6274, allocations: 50.89 kB / 0.5828 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.065e-05/0.6275, allocations: 24.23 kB / 0.5828 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.6275, allocations: 6.344 kB / 0.5828 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/0.6283, allocations: 1.281 MB / 0.5841 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6283, allocations: 1.203 kB / 0.5841 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.6288, allocations: 437 kB / 0.5845 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.6289, allocations: 36.84 kB / 0.5845 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.629, allocations: 7.531 kB / 0.5845 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.6292, allocations: 6 kB / 0.5845 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.6292, allocations: 23.59 kB / 0.5845 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.6293, allocations: 14.06 kB / 0.5846 GB, free: 9.637 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.6295, allocations: 331 kB / 0.5849 GB, free: 9.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6295, allocations: 0 / 0.5849 GB, free: 9.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007208/0.6302, allocations: 211 kB / 0.5851 GB, free: 9.535 MB / 494.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.001694/0.6319, allocations: 1.313 MB / 0.5864 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005949/0.6325, allocations: 458.5 kB / 0.5868 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6325, allocations: 0.875 kB / 0.5868 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.6328, allocations: 208.2 kB / 0.587 GB, free: 8.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.6337, allocations: 215.5 kB / 0.5872 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.6383, allocations: 4.589 MB / 0.5917 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.6387, allocations: 0.8232 MB / 0.5925 GB, free: 5.523 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003645/0.6391, allocations: 133.3 kB / 0.5926 GB, free: 5.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.6392, allocations: 156.3 kB / 0.5928 GB, free: 5.48 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6392, allocations: 0 / 0.5928 GB, free: 5.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.6817, allocations: 17.87 MB / 0.6102 GB, free: 1.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.01, allocations: 10.53 kB / 0.6102 GB, free: 1.488 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.489444991049822]