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.0009067/0.0009067, allocations: 180.4 kB / 17.41 MB, free: 4.387 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.455/1.455, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007814/0.0007812, allocations: 89.44 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2552, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/1.681, allocations: 0.7127 GB / 1.08 GB, free: 55.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.681, allocations: 95.94 kB / 1.08 GB, free: 55.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.927/3.608, allocations: 0.5661 GB / 1.646 GB, free: 68.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/3.608, allocations: 1.562 kB / 1.646 GB, free: 68.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/3.608, allocations: 11.09 kB / 1.646 GB, free: 68.71 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.001488/3.61, allocations: 0.8217 MB / 1.647 GB, free: 68.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/3.61, allocations: 10.56 kB / 1.647 GB, free: 68.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/3.61, allocations: 115.2 kB / 1.647 GB, free: 68.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/3.611, allocations: 386.6 kB / 1.647 GB, free: 68.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/3.611, allocations: 29.41 kB / 1.647 GB, free: 68.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/3.611, allocations: 36.34 kB / 1.647 GB, free: 68.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/3.611, allocations: 0.5476 MB / 1.648 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/3.611, allocations: 3.094 kB / 1.648 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/3.612, allocations: 21.97 kB / 1.648 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/3.612, allocations: 8.312 kB / 1.648 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/3.612, allocations: 426.4 kB / 1.648 GB, free: 68 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.002294/3.614, allocations: 2.031 MB / 1.65 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/3.615, allocations: 154.1 kB / 1.65 GB, free: 66.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/3.615, allocations: 88.22 kB / 1.65 GB, free: 66.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/3.615, allocations: 3.547 kB / 1.65 GB, free: 66.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/3.615, allocations: 44.22 kB / 1.65 GB, free: 66.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/3.615, allocations: 0 / 1.65 GB, free: 66.79 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.004709/3.619, allocations: 1.665 MB / 1.652 GB, free: 65.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/3.619, allocations: 58.06 kB / 1.652 GB, free: 65.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/3.62, allocations: 486.4 kB / 1.653 GB, free: 65.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/3.62, allocations: 29.14 kB / 1.653 GB, free: 65.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/3.62, allocations: 325.9 kB / 1.653 GB, free: 65.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/3.62, allocations: 81.78 kB / 1.653 GB, free: 65.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/3.62, allocations: 13.12 kB / 1.653 GB, free: 65.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/3.62, allocations: 354 kB / 1.653 GB, free: 65.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/3.62, allocations: 133.9 kB / 1.653 GB, free: 65.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/3.621, allocations: 436.9 kB / 1.654 GB, free: 64.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/3.621, allocations: 0.6082 MB / 1.654 GB, free: 64.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/3.621, allocations: 3.688 kB / 1.654 GB, free: 64.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007672/3.622, allocations: 0.6312 MB / 1.655 GB, free: 64.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/3.622, allocations: 7.656 kB / 1.655 GB, free: 64.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/3.622, allocations: 14.78 kB / 1.655 GB, free: 64.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/3.622, allocations: 59.62 kB / 1.655 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/3.623, allocations: 136.8 kB / 1.655 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008759/3.623, allocations: 1.843 MB / 1.657 GB, free: 62.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/3.624, allocations: 41.62 kB / 1.657 GB, free: 62.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/3.624, allocations: 37.06 kB / 1.657 GB, free: 62.59 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.0001883/3.624, allocations: 214.9 kB / 1.657 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/3.624, allocations: 43.53 kB / 1.657 GB, free: 62.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/3.625, allocations: 285.4 kB / 1.658 GB, free: 62.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/3.625, allocations: 3.594 kB / 1.658 GB, free: 62.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/3.625, allocations: 0 / 1.658 GB, free: 62.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003229/3.625, allocations: 0.5285 MB / 1.658 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/3.626, allocations: 0.6964 MB / 1.659 GB, free: 61.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/3.626, allocations: 3.688 kB / 1.659 GB, free: 61.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/3.626, allocations: 55.09 kB / 1.659 GB, free: 61.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.85e-05/3.626, allocations: 20.62 kB / 1.659 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/3.626, allocations: 7.531 kB / 1.659 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005212/3.627, allocations: 1.282 MB / 1.66 GB, free: 60.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/3.627, allocations: 2.844 kB / 1.66 GB, free: 60.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/3.627, allocations: 431.6 kB / 1.661 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/3.627, allocations: 114.8 kB / 1.661 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/3.627, allocations: 7.688 kB / 1.661 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/3.628, allocations: 25.47 kB / 1.661 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/3.628, allocations: 17.03 kB / 1.661 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/3.628, allocations: 13.86 kB / 1.661 GB, free: 60.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002762/3.628, allocations: 328.2 kB / 1.661 GB, free: 59.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/3.628, allocations: 0 / 1.661 GB, free: 59.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000986/3.629, allocations: 291.2 kB / 1.661 GB, free: 59.99 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.001897/3.631, allocations: 1.082 MB / 1.662 GB, free: 59.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007152/3.632, allocations: 462.2 kB / 1.663 GB, free: 59.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/3.632, allocations: 1.906 kB / 1.663 GB, free: 59.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/3.632, allocations: 211.8 kB / 1.663 GB, free: 59.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/3.633, allocations: 221.5 kB / 1.663 GB, free: 59.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/3.634, allocations: 1.075 MB / 1.664 GB, free: 59.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/3.634, allocations: 0.831 MB / 1.665 GB, free: 58.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/3.634, allocations: 49.64 kB / 1.665 GB, free: 58.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/3.634, allocations: 0 / 1.665 GB, free: 58.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01683/3.651, allocations: 16.06 MB / 1.681 GB, free: 57.98 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