Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 194.5 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 226.5 MB / 244.1 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007848/0.0007848, allocations: 102.4 kB / 296.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4229/0.4229, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003445, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4428, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/2.16, allocations: 0.7933 GB / 1.31 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/2.161, allocations: 106.9 kB / 1.31 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.601/4.762, allocations: 0.7024 GB / 2.012 GB, free: 82.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.212e-06/4.762, allocations: 1.125 kB / 2.012 GB, free: 82.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.891e-05/4.762, allocations: 27.33 kB / 2.012 GB, free: 82.69 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005593/4.767, allocations: 1.666 MB / 2.014 GB, free: 82.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/4.767, allocations: 9.531 kB / 2.014 GB, free: 82.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/4.769, allocations: 293.9 kB / 2.014 GB, free: 82.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/4.772, allocations: 0.8248 MB / 2.015 GB, free: 81.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/4.772, allocations: 144.5 kB / 2.015 GB, free: 81.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/4.772, allocations: 109.2 kB / 2.015 GB, free: 81.72 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/4.776, allocations: 1.794 MB / 2.017 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/4.776, allocations: 10.34 kB / 2.017 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/4.777, allocations: 50.52 kB / 2.017 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/4.777, allocations: 80.59 kB / 2.017 GB, free: 81.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/4.78, allocations: 1.633 MB / 2.019 GB, free: 81.48 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.009263/4.789, allocations: 6.888 MB / 2.025 GB, free: 78.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/4.79, allocations: 0.7962 MB / 2.026 GB, free: 77.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/4.791, allocations: 439.5 kB / 2.027 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/4.791, allocations: 279.2 kB / 2.027 GB, free: 77.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/4.791, allocations: 46.39 kB / 2.027 GB, free: 77.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.876e-06/4.791, allocations: 0 / 2.027 GB, free: 77.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72): time 0.0108/4.802, allocations: 4.114 MB / 2.031 GB, free: 76.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/4.802, allocations: 116.1 kB / 2.031 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/4.804, allocations: 1.101 MB / 2.032 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/4.804, allocations: 47.52 kB / 2.032 GB, free: 76.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/4.804, allocations: 0.5122 MB / 2.033 GB, free: 76.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/4.805, allocations: 272.5 kB / 2.033 GB, free: 76.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/4.805, allocations: 18.72 kB / 2.033 GB, free: 76.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001011/4.805, allocations: 349 kB / 2.033 GB, free: 76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/4.806, allocations: 0.5723 MB / 2.034 GB, free: 76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/4.807, allocations: 0.8616 MB / 2.035 GB, free: 75.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/4.808, allocations: 1.426 MB / 2.036 GB, free: 75.37 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/4.808, allocations: 3.5 kB / 2.036 GB, free: 75.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002981/4.811, allocations: 1.99 MB / 2.038 GB, free: 75.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/4.811, allocations: 10.84 kB / 2.038 GB, free: 75.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/4.811, allocations: 6.656 kB / 2.038 GB, free: 75.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/4.816, allocations: 1.4 MB / 2.039 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/4.816, allocations: 139.1 kB / 2.04 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/4.819, allocations: 1.927 MB / 2.041 GB, free: 74.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/4.82, allocations: 123.5 kB / 2.042 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/4.82, allocations: 68.69 kB / 2.042 GB, free: 74.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007839/4.821, allocations: 399.6 kB / 2.042 GB, free: 74.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/4.821, allocations: 111.5 kB / 2.042 GB, free: 74.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/4.824, allocations: 1.48 MB / 2.044 GB, free: 74.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/4.824, allocations: 9.734 kB / 2.044 GB, free: 74.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/4.824, allocations: 7.312 kB / 2.044 GB, free: 74.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/4.824, allocations: 11.2 kB / 2.044 GB, free: 74.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/4.828, allocations: 2.686 MB / 2.046 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/4.828, allocations: 3.812 kB / 2.046 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/4.83, allocations: 326.8 kB / 2.047 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/4.83, allocations: 67.45 kB / 2.047 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.376e-05/4.83, allocations: 42.66 kB / 2.047 GB, free: 74.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/4.832, allocations: 2.843 MB / 2.049 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/4.832, allocations: 3.891 kB / 2.049 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/4.834, allocations: 1.875 MB / 2.051 GB, free: 71.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/4.835, allocations: 348.5 kB / 2.052 GB, free: 71.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/4.836, allocations: 29.2 kB / 2.052 GB, free: 71.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/4.837, allocations: 88.22 kB / 2.052 GB, free: 71.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/4.837, allocations: 56.59 kB / 2.052 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/4.837, allocations: 69.39 kB / 2.052 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001155/4.838, allocations: 0.7872 MB / 2.053 GB, free: 70.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.91e-07/4.838, allocations: 0 / 2.053 GB, free: 70.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002285/4.841, allocations: 0.572 MB / 2.053 GB, free: 70.95 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.003236/4.844, allocations: 1.321 MB / 2.054 GB, free: 70.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002508/4.846, allocations: 1.461 MB / 2.056 GB, free: 70.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/4.846, allocations: 4.438 kB / 2.056 GB, free: 70.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/4.848, allocations: 0.8432 MB / 2.057 GB, free: 70.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/4.852, allocations: 0.7206 MB / 2.057 GB, free: 70.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/4.858, allocations: 3.442 MB / 2.061 GB, free: 69.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/4.859, allocations: 1.18 MB / 2.062 GB, free: 68.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/4.859, allocations: 121.2 kB / 2.062 GB, free: 68.79 MB / 0.5417 GB Notification: Performance of SimCode: time 8.11e-07/4.859, allocations: 3.656 kB / 2.062 GB, free: 68.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.04819/4.907, allocations: 35.62 MB / 2.097 GB, free: 67.09 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches