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.001894/0.001895, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 78.22 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.899e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/1.842, allocations: 0.712 GB / 1.067 GB, free: 147.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.843, allocations: 94.25 kB / 1.067 GB, free: 147.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893/3.736, allocations: 0.5614 GB / 1.628 GB, free: 67.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/3.736, allocations: 0 / 1.628 GB, free: 67.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.8e-05/3.736, allocations: 8 kB / 1.628 GB, free: 67.89 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.00212/3.738, allocations: 0.784 MB / 1.629 GB, free: 67.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/3.738, allocations: 17.39 kB / 1.629 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/3.739, allocations: 111.4 kB / 1.629 GB, free: 66.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/3.74, allocations: 372.8 kB / 1.629 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/3.74, allocations: 15.95 kB / 1.629 GB, free: 66.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/3.74, allocations: 24 kB / 1.629 GB, free: 66.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000577/3.74, allocations: 385.4 kB / 1.63 GB, free: 66.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/3.741, allocations: 482.1 kB / 1.63 GB, free: 65.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/3.741, allocations: 0 / 1.63 GB, free: 65.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/3.741, allocations: 4 kB / 1.63 GB, free: 65.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/3.741, allocations: 11.94 kB / 1.63 GB, free: 65.62 MB / 426.7 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.002681/3.744, allocations: 1.958 MB / 1.632 GB, free: 63.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/3.744, allocations: 142.9 kB / 1.632 GB, free: 63.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/3.744, allocations: 76.86 kB / 1.632 GB, free: 63.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/3.744, allocations: 7.984 kB / 1.632 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/3.744, allocations: 37.25 kB / 1.632 GB, free: 63.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/3.744, allocations: 0 / 1.632 GB, free: 63.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.004336/3.749, allocations: 1.163 MB / 1.634 GB, free: 62.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/3.749, allocations: 51.41 kB / 1.634 GB, free: 61.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/3.749, allocations: 396.9 kB / 1.634 GB, free: 61.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/3.749, allocations: 25.7 kB / 1.634 GB, free: 61.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/3.749, allocations: 322.5 kB / 1.634 GB, free: 61.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/3.749, allocations: 82.81 kB / 1.634 GB, free: 61.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/3.749, allocations: 0 / 1.634 GB, free: 61.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.684e-05/3.749, allocations: 357.1 kB / 1.635 GB, free: 60.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/3.749, allocations: 117.5 kB / 1.635 GB, free: 60.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/3.75, allocations: 416.8 kB / 1.635 GB, free: 60.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/3.75, allocations: 207.2 kB / 1.635 GB, free: 59.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/3.75, allocations: 4 kB / 1.635 GB, free: 59.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007214/3.751, allocations: 0.5474 MB / 1.636 GB, free: 59.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/3.751, allocations: 12 kB / 1.636 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/3.751, allocations: 8 kB / 1.636 GB, free: 59.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/3.751, allocations: 57.69 kB / 1.636 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/3.751, allocations: 139.8 kB / 1.636 GB, free: 59.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009055/3.752, allocations: 1.788 MB / 1.638 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/3.753, allocations: 26.55 kB / 1.638 GB, free: 57.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/3.753, allocations: 36 kB / 1.638 GB, free: 57.17 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 () * 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.0001035/3.753, allocations: 134.4 kB / 1.638 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/3.753, allocations: 39.53 kB / 1.638 GB, free: 56.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/3.753, allocations: 270.4 kB / 1.638 GB, free: 56.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/3.753, allocations: 11.94 kB / 1.638 GB, free: 56.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/3.753, allocations: 3.953 kB / 1.638 GB, free: 56.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003126/3.754, allocations: 0.5005 MB / 1.639 GB, free: 56.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/3.754, allocations: 0.6364 MB / 1.64 GB, free: 55.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/3.754, allocations: 0 / 1.64 GB, free: 55.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/3.755, allocations: 59.91 kB / 1.64 GB, free: 55.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-05/3.755, allocations: 24.84 kB / 1.64 GB, free: 55.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/3.755, allocations: 7.984 kB / 1.64 GB, free: 55.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005333/3.755, allocations: 1.217 MB / 1.641 GB, free: 54.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.755, allocations: 4.031 kB / 1.641 GB, free: 54.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/3.756, allocations: 416 kB / 1.641 GB, free: 53.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/3.756, allocations: 116.6 kB / 1.641 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/3.756, allocations: 0 / 1.641 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/3.756, allocations: 12.16 kB / 1.641 GB, free: 53.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/3.756, allocations: 19.97 kB / 1.641 GB, free: 53.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/3.756, allocations: 15.98 kB / 1.641 GB, free: 53.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002322/3.757, allocations: 282.9 kB / 1.642 GB, free: 53.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/3.757, allocations: 3.938 kB / 1.642 GB, free: 53.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001026/3.758, allocations: 255.8 kB / 1.642 GB, free: 52.88 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 () * 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.002161/3.76, allocations: 1.244 MB / 1.643 GB, free: 51.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/3.76, allocations: 419.3 kB / 1.643 GB, free: 51.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/3.76, allocations: 0 / 1.643 GB, free: 51.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/3.761, allocations: 194.5 kB / 1.644 GB, free: 51.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/3.761, allocations: 185.2 kB / 1.644 GB, free: 50.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/3.762, allocations: 0.5925 MB / 1.644 GB, free: 50.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/3.763, allocations: 0.8311 MB / 1.645 GB, free: 49.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004588/3.763, allocations: 143.6 kB / 1.645 GB, free: 49.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/3.763, allocations: 39.44 kB / 1.645 GB, free: 49.34 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/3.763, allocations: 0 / 1.645 GB, free: 49.34 MB / 426.7 MB Notification: Performance of Templates: time 0.02092/3.784, allocations: 14.36 MB / 1.659 GB, free: 35.12 MB / 426.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/jenkins/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