Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 204.8 kB / 18.11 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000951/0.0009512, allocations: 91.66 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.46/0.46, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003236, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5157, allocations: 62.97 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.781/2.296, allocations: 0.7941 GB / 1.313 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/2.297, allocations: 103.9 kB / 1.313 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.866/5.163, allocations: 0.7257 GB / 2.038 GB, free: 86.55 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.336e-06/5.163, allocations: 0 / 2.038 GB, free: 86.55 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001247/5.163, allocations: 23.03 kB / 2.038 GB, free: 86.55 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006171/5.169, allocations: 1.486 MB / 2.04 GB, free: 85.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/5.169, allocations: 13.72 kB / 2.04 GB, free: 85.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/5.171, allocations: 270.7 kB / 2.04 GB, free: 85.83 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/5.173, allocations: 0.6777 MB / 2.041 GB, free: 85.58 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/5.173, allocations: 122.3 kB / 2.041 GB, free: 85.51 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/5.174, allocations: 64.16 kB / 2.041 GB, free: 85.51 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/5.176, allocations: 1.254 MB / 2.042 GB, free: 85.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/5.176, allocations: 10.66 kB / 2.042 GB, free: 85.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002952/5.177, allocations: 35.14 kB / 2.042 GB, free: 85.28 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/5.177, allocations: 62.55 kB / 2.042 GB, free: 85.28 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/5.179, allocations: 1.033 MB / 2.043 GB, free: 85.27 MB / 0.5417 GB 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.007158/5.186, allocations: 4.853 MB / 2.048 GB, free: 82.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/5.186, allocations: 273.5 kB / 2.048 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/5.187, allocations: 138.9 kB / 2.048 GB, free: 82.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/5.187, allocations: 273.5 kB / 2.049 GB, free: 82.17 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/5.187, allocations: 38.45 kB / 2.049 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=28): time 4.478e-06/5.187, allocations: 3.938 kB / 2.049 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.005711/5.193, allocations: 1.723 MB / 2.05 GB, free: 81.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/5.193, allocations: 135 kB / 2.051 GB, free: 81.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/5.194, allocations: 0.9297 MB / 2.051 GB, free: 81.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/5.194, allocations: 34.2 kB / 2.051 GB, free: 81.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/5.195, allocations: 0.5665 MB / 2.052 GB, free: 80.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/5.195, allocations: 138.6 kB / 2.052 GB, free: 80.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/5.195, allocations: 20.06 kB / 2.052 GB, free: 80.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000138/5.195, allocations: 404.8 kB / 2.053 GB, free: 80.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/5.195, allocations: 265.9 kB / 2.053 GB, free: 80.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/5.196, allocations: 0.8592 MB / 2.054 GB, free: 79.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/5.197, allocations: 1.169 MB / 2.055 GB, free: 78.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/5.197, allocations: 6.562 kB / 2.055 GB, free: 78.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0018/5.199, allocations: 1.219 MB / 2.056 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/5.199, allocations: 17.09 kB / 2.056 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/5.199, allocations: 20.28 kB / 2.056 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/5.2, allocations: 282.3 kB / 2.056 GB, free: 78.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/5.201, allocations: 204.3 kB / 2.056 GB, free: 78.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008725/5.202, allocations: 0.9215 MB / 2.057 GB, free: 78.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/5.203, allocations: 57.48 kB / 2.057 GB, free: 78.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/5.203, allocations: 74.28 kB / 2.058 GB, free: 78.22 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000489/5.203, allocations: 340.8 kB / 2.058 GB, free: 78.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/5.203, allocations: 99.75 kB / 2.058 GB, free: 78.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/5.204, allocations: 0.5032 MB / 2.058 GB, free: 77.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/5.204, allocations: 7.703 kB / 2.058 GB, free: 77.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/5.204, allocations: 3.812 kB / 2.058 GB, free: 77.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/5.204, allocations: 6.297 kB / 2.058 GB, free: 77.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/5.206, allocations: 1.125 MB / 2.06 GB, free: 77.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/5.206, allocations: 3.938 kB / 2.06 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/5.207, allocations: 184.4 kB / 2.06 GB, free: 77.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.538e-05/5.207, allocations: 24.02 kB / 2.06 GB, free: 77.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/5.207, allocations: 11.44 kB / 2.06 GB, free: 77.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/5.208, allocations: 2.671 MB / 2.062 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/5.208, allocations: 3.656 kB / 2.062 GB, free: 75.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/5.209, allocations: 0.684 MB / 2.063 GB, free: 74.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/5.21, allocations: 203.5 kB / 2.063 GB, free: 74.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/5.21, allocations: 12.94 kB / 2.063 GB, free: 74.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/5.21, allocations: 36.31 kB / 2.063 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/5.21, allocations: 20.55 kB / 2.063 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/5.21, allocations: 21.41 kB / 2.063 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007387/5.211, allocations: 0.6163 MB / 2.064 GB, free: 74.56 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/5.211, allocations: 5.312 kB / 2.064 GB, free: 74.56 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001961/5.213, allocations: 488.1 kB / 2.064 GB, free: 74.51 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002666/5.216, allocations: 1.276 MB / 2.066 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001365/5.217, allocations: 0.675 MB / 2.066 GB, free: 74.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/5.217, allocations: 3.625 kB / 2.066 GB, free: 74.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008293/5.218, allocations: 376.8 kB / 2.067 GB, free: 74.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/5.22, allocations: 398.3 kB / 2.067 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/5.223, allocations: 1.886 MB / 2.069 GB, free: 73.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/5.223, allocations: 1.029 MB / 2.07 GB, free: 72.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00121/5.225, allocations: 395.7 kB / 2.07 GB, free: 72.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/5.225, allocations: 80.11 kB / 2.07 GB, free: 72.54 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/5.225, allocations: 0 / 2.07 GB, free: 72.54 MB / 0.5417 GB Notification: Performance of Templates: time 0.04834/5.273, allocations: 31.76 MB / 2.101 GB, free: 69.95 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches