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.002036/0.002036, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001127/0.001127, allocations: 100.3 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003819, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3259, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.006/2.332, allocations: 0.7125 GB / 1.078 GB, free: 39.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/2.332, allocations: 99.17 kB / 1.078 GB, free: 39.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.979/5.311, allocations: 0.5688 GB / 1.647 GB, free: 68.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.926e-06/5.311, allocations: 3.719 kB / 1.647 GB, free: 68.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.884e-05/5.311, allocations: 12.61 kB / 1.647 GB, free: 68.75 MB / 426.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.002264/5.314, allocations: 0.8293 MB / 1.648 GB, free: 68.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/5.314, allocations: 6.688 kB / 1.648 GB, free: 68.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/5.315, allocations: 124.6 kB / 1.648 GB, free: 68.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/5.315, allocations: 372.5 kB / 1.648 GB, free: 68.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/5.315, allocations: 28.03 kB / 1.648 GB, free: 68.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/5.315, allocations: 38.28 kB / 1.649 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/5.317, allocations: 0.5417 MB / 1.649 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/5.317, allocations: 2.734 kB / 1.649 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/5.317, allocations: 21.56 kB / 1.649 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/5.317, allocations: 7.906 kB / 1.649 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/5.318, allocations: 424.6 kB / 1.649 GB, free: 68.02 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.004235/5.322, allocations: 2.021 MB / 1.651 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/5.322, allocations: 153.7 kB / 1.652 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/5.322, allocations: 10.73 kB / 1.652 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/5.323, allocations: 41.88 kB / 1.652 GB, free: 66.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.056e-06/5.323, allocations: 0 / 1.652 GB, free: 66.81 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.009178/5.332, allocations: 1.674 MB / 1.653 GB, free: 65.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/5.332, allocations: 55.38 kB / 1.653 GB, free: 65.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/5.333, allocations: 428 kB / 1.654 GB, free: 65.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/5.333, allocations: 28.95 kB / 1.654 GB, free: 65.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/5.333, allocations: 377.9 kB / 1.654 GB, free: 65.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/5.333, allocations: 86.78 kB / 1.654 GB, free: 65.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/5.333, allocations: 11.5 kB / 1.654 GB, free: 65.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/5.333, allocations: 335.8 kB / 1.655 GB, free: 65.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/5.333, allocations: 134 kB / 1.655 GB, free: 65.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/5.334, allocations: 440.1 kB / 1.655 GB, free: 64.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/5.334, allocations: 224.1 kB / 1.655 GB, free: 64.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/5.334, allocations: 3.781 kB / 1.655 GB, free: 64.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001345/5.336, allocations: 0.6112 MB / 1.656 GB, free: 64.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/5.336, allocations: 19.06 kB / 1.656 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/5.336, allocations: 9.438 kB / 1.656 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/5.336, allocations: 57.72 kB / 1.656 GB, free: 64.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/5.337, allocations: 143.1 kB / 1.656 GB, free: 64.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/5.338, allocations: 1.85 MB / 1.658 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/5.339, allocations: 33.52 kB / 1.658 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/5.339, allocations: 40.97 kB / 1.658 GB, free: 62.88 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 (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.0003404/5.34, allocations: 216.8 kB / 1.658 GB, free: 62.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/5.34, allocations: 40.97 kB / 1.658 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/5.341, allocations: 295.6 kB / 1.659 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/5.341, allocations: 3.406 kB / 1.659 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/5.341, allocations: 0 / 1.659 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005745/5.341, allocations: 0.5339 MB / 1.659 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/5.343, allocations: 0.6935 MB / 1.66 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/5.343, allocations: 0 / 1.66 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/5.343, allocations: 56.16 kB / 1.66 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/5.343, allocations: 15.88 kB / 1.66 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/5.343, allocations: 10.95 kB / 1.66 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008591/5.344, allocations: 1.286 MB / 1.661 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/5.344, allocations: 3.656 kB / 1.661 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/5.345, allocations: 425.7 kB / 1.661 GB, free: 60.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/5.345, allocations: 123.3 kB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/5.345, allocations: 3.938 kB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/5.346, allocations: 19.52 kB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/5.346, allocations: 20.81 kB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/5.346, allocations: 12.73 kB / 1.662 GB, free: 60.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005236/5.347, allocations: 322.7 kB / 1.662 GB, free: 60.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/5.347, allocations: 0 / 1.662 GB, free: 60.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001599/5.348, allocations: 291.5 kB / 1.662 GB, free: 60.22 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 (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.003182/5.352, allocations: 1.095 MB / 1.663 GB, free: 60.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/5.353, allocations: 458.6 kB / 1.664 GB, free: 59.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.353, allocations: 5.719 kB / 1.664 GB, free: 59.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/5.353, allocations: 212.8 kB / 1.664 GB, free: 59.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/5.355, allocations: 210.6 kB / 1.664 GB, free: 59.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/5.357, allocations: 1.069 MB / 1.665 GB, free: 59.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/5.357, allocations: 0.8354 MB / 1.666 GB, free: 58.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/5.358, allocations: 48.97 kB / 1.666 GB, free: 58.56 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/5.358, allocations: 1.25 kB / 1.666 GB, free: 58.56 MB / 426.7 MB Notification: Performance of Templates: time 0.03103/5.389, allocations: 16.37 MB / 1.682 GB, free: 57.88 MB / 426.7 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