Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 90.69 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.698e-05, allocations: 0 / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3779, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.05/2.428, allocations: 0.7118 GB / 1.066 GB, free: 81.62 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/2.428, allocations: 99.73 kB / 1.066 GB, free: 81.57 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806/5.235, allocations: 0.5614 GB / 1.627 GB, free: 15.38 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.645e-06/5.235, allocations: 0 / 1.627 GB, free: 15.38 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.838e-05/5.235, allocations: 17.2 kB / 1.627 GB, free: 15.37 MB / 427.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.001788/5.236, allocations: 0.7754 MB / 1.628 GB, free: 14.55 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/5.236, allocations: 8.031 kB / 1.628 GB, free: 14.54 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007562/5.237, allocations: 119.3 kB / 1.628 GB, free: 14.42 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/5.238, allocations: 373.3 kB / 1.628 GB, free: 14.02 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/5.238, allocations: 12 kB / 1.628 GB, free: 14 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/5.238, allocations: 23.94 kB / 1.628 GB, free: 13.98 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008583/5.239, allocations: 389.4 kB / 1.629 GB, free: 13.6 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/5.24, allocations: 475 kB / 1.629 GB, free: 13.12 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/5.24, allocations: 0 / 1.629 GB, free: 13.12 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/5.24, allocations: 10.08 kB / 1.629 GB, free: 13.11 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/5.24, allocations: 8 kB / 1.629 GB, free: 13.1 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or 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.003734/5.244, allocations: 1.964 MB / 1.631 GB, free: 10.98 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/5.244, allocations: 134.7 kB / 1.631 GB, free: 10.84 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/5.244, allocations: 81.06 kB / 1.631 GB, free: 10.75 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/5.244, allocations: 4.312 kB / 1.631 GB, free: 10.75 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/5.244, allocations: 42.5 kB / 1.631 GB, free: 10.7 MB / 427.1 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/5.244, allocations: 0 / 1.631 GB, free: 10.7 MB / 427.1 MB Notification: Performance of matching and sorting (n=23): time 0.007063/5.251, allocations: 1.155 MB / 1.633 GB, free: 9.445 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/5.252, allocations: 59.41 kB / 1.633 GB, free: 9.375 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/5.252, allocations: 384.9 kB / 1.633 GB, free: 8.992 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/5.252, allocations: 25.7 kB / 1.633 GB, free: 8.961 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/5.252, allocations: 380.9 kB / 1.633 GB, free: 8.582 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/5.252, allocations: 86.84 kB / 1.633 GB, free: 8.496 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/5.252, allocations: 3.938 kB / 1.633 GB, free: 8.492 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/5.252, allocations: 334.8 kB / 1.634 GB, free: 8.156 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/5.253, allocations: 121.5 kB / 1.634 GB, free: 8.039 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/5.253, allocations: 404.3 kB / 1.634 GB, free: 7.5 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/5.254, allocations: 215 kB / 1.635 GB, free: 7.293 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/5.254, allocations: 4 kB / 1.635 GB, free: 7.289 MB / 427.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001145/5.255, allocations: 0.5345 MB / 1.635 GB, free: 6.742 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/5.255, allocations: 12 kB / 1.635 GB, free: 6.73 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/5.255, allocations: 8 kB / 1.635 GB, free: 6.723 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/5.255, allocations: 53.7 kB / 1.635 GB, free: 6.664 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/5.256, allocations: 147.7 kB / 1.635 GB, free: 6.52 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/5.257, allocations: 1.785 MB / 1.637 GB, free: 4.598 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/5.258, allocations: 24.14 kB / 1.637 GB, free: 4.574 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/5.258, allocations: 43.95 kB / 1.637 GB, free: 4.531 MB / 427.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001339/5.258, allocations: 128.7 kB / 1.637 GB, free: 4.398 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/5.258, allocations: 43.53 kB / 1.637 GB, free: 4.355 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/5.259, allocations: 260.1 kB / 1.637 GB, free: 4.09 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/5.259, allocations: 7.953 kB / 1.637 GB, free: 4.082 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/5.259, allocations: 4 kB / 1.637 GB, free: 4.078 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004813/5.259, allocations: 0.5054 MB / 1.638 GB, free: 3.484 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/5.26, allocations: 0.6445 MB / 1.639 GB, free: 2.789 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.26, allocations: 0 / 1.639 GB, free: 2.789 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/5.261, allocations: 55.91 kB / 1.639 GB, free: 2.734 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.472e-05/5.261, allocations: 20.84 kB / 1.639 GB, free: 2.711 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/5.261, allocations: 15.92 kB / 1.639 GB, free: 2.695 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007402/5.262, allocations: 1.229 MB / 1.64 GB, free: 1.352 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/5.262, allocations: 0 / 1.64 GB, free: 1.352 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/5.262, allocations: 403.6 kB / 1.64 GB, free: 0.9375 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/5.263, allocations: 108.7 kB / 1.64 GB, free: 0.8125 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/5.263, allocations: 3.984 kB / 1.64 GB, free: 0.8086 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/5.263, allocations: 12.12 kB / 1.64 GB, free: 0.7969 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/5.263, allocations: 19.97 kB / 1.64 GB, free: 0.7773 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/5.263, allocations: 11.98 kB / 1.64 GB, free: 0.7656 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003722/5.264, allocations: 286.9 kB / 1.641 GB, free: 500 kB / 427.1 MB Notification: Performance of sort global known variables: time 4.01e-07/5.264, allocations: 0 / 1.641 GB, free: 500 kB / 427.1 MB Notification: Performance of remove unused functions: time 0.001322/5.265, allocations: 255.8 kB / 1.641 GB, free: 244 kB / 427.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2968/5.562, allocations: 1.254 MB / 1.642 GB, free: 72.65 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/5.563, allocations: 419.1 kB / 1.643 GB, free: 72.55 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/5.563, allocations: 0 / 1.643 GB, free: 72.55 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/5.563, allocations: 200.8 kB / 1.643 GB, free: 72.45 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/5.565, allocations: 171.7 kB / 1.643 GB, free: 72.45 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/5.567, allocations: 0.6388 MB / 1.644 GB, free: 72.23 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/5.567, allocations: 0.8347 MB / 1.644 GB, free: 71.54 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/5.568, allocations: 49.86 kB / 1.644 GB, free: 71.53 MB / 427.1 MB Notification: Performance of SimCode: time 1.142e-06/5.568, allocations: 0 / 1.644 GB, free: 71.53 MB / 427.1 MB Notification: Performance of Templates: time 0.03575/5.603, allocations: 15.84 MB / 1.66 GB, free: 71.23 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches