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/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_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_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.001191/0.001191, allocations: 182.3 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 224.2 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007292/0.0007292, allocations: 91.95 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2046, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.427, allocations: 0.7127 GB / 1.081 GB, free: 39.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.428, allocations: 99.36 kB / 1.081 GB, free: 39.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.711/3.139, allocations: 0.5661 GB / 1.647 GB, free: 80.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.126e-06/3.139, allocations: 0 / 1.647 GB, free: 80.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/3.139, allocations: 10.72 kB / 1.647 GB, free: 80.33 MB / 442.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.001787/3.141, allocations: 0.8257 MB / 1.648 GB, free: 79.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/3.141, allocations: 10.66 kB / 1.648 GB, free: 79.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/3.141, allocations: 117.2 kB / 1.648 GB, free: 79.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/3.142, allocations: 371.3 kB / 1.648 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/3.142, allocations: 37.81 kB / 1.648 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/3.142, allocations: 33.66 kB / 1.648 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/3.143, allocations: 0.5411 MB / 1.649 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/3.143, allocations: 9.828 kB / 1.649 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/3.143, allocations: 22.78 kB / 1.649 GB, free: 79.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/3.143, allocations: 11.06 kB / 1.649 GB, free: 79.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/3.143, allocations: 419.3 kB / 1.649 GB, free: 79.62 MB / 442.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.002466/3.146, allocations: 2.046 MB / 1.651 GB, free: 78.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/3.146, allocations: 150.5 kB / 1.652 GB, free: 78.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/3.146, allocations: 77.95 kB / 1.652 GB, free: 78.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/3.146, allocations: 11.06 kB / 1.652 GB, free: 78.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/3.146, allocations: 32.53 kB / 1.652 GB, free: 78.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/3.146, allocations: 0 / 1.652 GB, free: 78.42 MB / 442.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.005151/3.151, allocations: 1.675 MB / 1.653 GB, free: 77.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/3.152, allocations: 54.88 kB / 1.653 GB, free: 77.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/3.152, allocations: 481.2 kB / 1.654 GB, free: 77.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/3.152, allocations: 34.11 kB / 1.654 GB, free: 77.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/3.152, allocations: 316.5 kB / 1.654 GB, free: 77.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/3.152, allocations: 94.28 kB / 1.654 GB, free: 77.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/3.153, allocations: 8.5 kB / 1.654 GB, free: 77.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/3.153, allocations: 355.8 kB / 1.655 GB, free: 76.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/3.153, allocations: 129.3 kB / 1.655 GB, free: 76.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/3.153, allocations: 439.2 kB / 1.655 GB, free: 76.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/3.154, allocations: 0.6048 MB / 1.656 GB, free: 76.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/3.154, allocations: 6.906 kB / 1.656 GB, free: 76.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008769/3.154, allocations: 0.6321 MB / 1.656 GB, free: 76.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/3.155, allocations: 10.97 kB / 1.656 GB, free: 76.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/3.155, allocations: 11.25 kB / 1.656 GB, free: 76.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/3.155, allocations: 54.19 kB / 1.656 GB, free: 76.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/3.155, allocations: 147 kB / 1.657 GB, free: 76.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/3.156, allocations: 1.836 MB / 1.658 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/3.157, allocations: 36.5 kB / 1.658 GB, free: 74.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/3.157, allocations: 34.91 kB / 1.658 GB, free: 74.24 MB / 442.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 (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.0002442/3.157, allocations: 213.7 kB / 1.659 GB, free: 74.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/3.157, allocations: 46 kB / 1.659 GB, free: 74.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/3.158, allocations: 296.5 kB / 1.659 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/3.158, allocations: 0 / 1.659 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/3.158, allocations: 0 / 1.659 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003369/3.158, allocations: 0.521 MB / 1.659 GB, free: 73.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/3.159, allocations: 0.7007 MB / 1.66 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/3.159, allocations: 0 / 1.66 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/3.159, allocations: 54.94 kB / 1.66 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.374e-05/3.159, allocations: 22.05 kB / 1.66 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/3.159, allocations: 4.875 kB / 1.66 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005248/3.16, allocations: 1.29 MB / 1.662 GB, free: 72.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/3.16, allocations: 0 / 1.662 GB, free: 72.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/3.16, allocations: 430.2 kB / 1.662 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/3.16, allocations: 122.5 kB / 1.662 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/3.16, allocations: 6.625 kB / 1.662 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/3.161, allocations: 18.88 kB / 1.662 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/3.161, allocations: 12.14 kB / 1.662 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/3.161, allocations: 21.27 kB / 1.662 GB, free: 71.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002837/3.161, allocations: 320.5 kB / 1.662 GB, free: 71.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/3.161, allocations: 3.562 kB / 1.662 GB, free: 71.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009957/3.162, allocations: 296.9 kB / 1.663 GB, free: 71.65 MB / 442.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 (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.00201/3.164, allocations: 1.086 MB / 1.664 GB, free: 71.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006574/3.165, allocations: 468.6 kB / 1.664 GB, free: 71.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/3.165, allocations: 0 / 1.664 GB, free: 71.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/3.165, allocations: 211.3 kB / 1.664 GB, free: 71.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/3.166, allocations: 208.1 kB / 1.665 GB, free: 71.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/3.168, allocations: 1.039 MB / 1.666 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/3.168, allocations: 0.8214 MB / 1.666 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005731/3.168, allocations: 141.3 kB / 1.667 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/3.169, allocations: 42.61 kB / 1.667 GB, free: 70.1 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/3.169, allocations: 0 / 1.667 GB, free: 70.1 MB / 442.7 MB Notification: Performance of Templates: time 0.03018/3.199, allocations: 22.56 MB / 1.689 GB, free: 69.68 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../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