Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009778, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009499/0.00095, allocations: 177.1 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 222.7 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3712/0.3712, allocations: 43.54 MB / 314.5 MB, free: 8.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 15.98 kB / 383.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 58.85 MB / 442.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3541/0.4918, allocations: 143.8 MB / 0.5728 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.5026, allocations: 8.397 MB / 0.581 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.5038, allocations: 27.75 kB / 0.5811 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5052, allocations: 330.4 kB / 0.5814 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.5104, allocations: 1.499 MB / 0.5828 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.5141, allocations: 1.256 MB / 0.5841 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.5161, allocations: 1.251 MB / 0.5853 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.5171, allocations: 0.6547 MB / 0.5859 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.52, allocations: 1.317 MB / 0.5872 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.5227, allocations: 1.434 MB / 0.5886 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.5229, allocations: 59.94 kB / 0.5887 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.5258, allocations: 1.221 MB / 0.5899 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005452/0.5263, allocations: 0.6003 MB / 0.5904 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.5267, allocations: 293.1 kB / 0.5907 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.5292, allocations: 1.983 MB / 0.5927 GB, free: 7.785 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5292, allocations: 0 / 0.5927 GB, free: 7.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5292, allocations: 4 kB / 0.5927 GB, free: 7.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.5292, allocations: 0 / 0.5927 GB, free: 7.781 MB / 462.1 MB 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.003047/0.5323, allocations: 1.415 MB / 0.5941 GB, free: 6.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5323, allocations: 12.02 kB / 0.5941 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.5338, allocations: 326.2 kB / 0.5944 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.5352, allocations: 0.7195 MB / 0.5951 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.5353, allocations: 133.4 kB / 0.5952 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.5355, allocations: 107.9 kB / 0.5953 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.5384, allocations: 1.829 MB / 0.5971 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.5384, allocations: 3.906 kB / 0.5971 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.5386, allocations: 47.98 kB / 0.5971 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.5387, allocations: 97.89 kB / 0.5972 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.5412, allocations: 1.706 MB / 0.5989 GB, free: 1.227 MB / 462.1 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.009547/0.5508, allocations: 6.892 MB / 0.6056 GB, free: 9.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.552, allocations: 0.7946 MB / 0.6064 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.5521, allocations: 133.5 kB / 0.6065 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.5522, allocations: 43.12 kB / 0.6066 GB, free: 8.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.5522, allocations: 0 / 0.6066 GB, free: 8.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=72): time 0.01055/0.5627, allocations: 4.185 MB / 0.6107 GB, free: 4.617 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.5628, allocations: 115.5 kB / 0.6108 GB, free: 4.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.5642, allocations: 1.097 MB / 0.6118 GB, free: 3.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.5643, allocations: 45.7 kB / 0.6119 GB, free: 3.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.5648, allocations: 0.5107 MB / 0.6124 GB, free: 2.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.565, allocations: 276.2 kB / 0.6127 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.5651, allocations: 16 kB / 0.6127 GB, free: 2.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5652, allocations: 345.9 kB / 0.613 GB, free: 2.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.5661, allocations: 0.5953 MB / 0.6136 GB, free: 1.559 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5671, allocations: 0.8759 MB / 0.6144 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.5682, allocations: 0.698 MB / 0.6151 GB, free: 15.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5682, allocations: 4 kB / 0.6151 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003012/0.5712, allocations: 2.02 MB / 0.6171 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5712, allocations: 8 kB / 0.6171 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.5712, allocations: 8 kB / 0.6171 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/0.5759, allocations: 1.383 MB / 0.6185 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.5765, allocations: 146.1 kB / 0.6186 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.5792, allocations: 1.924 MB / 0.6205 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.5803, allocations: 115.8 kB / 0.6206 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.5804, allocations: 63.94 kB / 0.6206 GB, free: 10.16 MB / 494.1 MB 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.000681/0.5811, allocations: 397.4 kB / 0.621 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.5813, allocations: 106.8 kB / 0.6211 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5836, allocations: 1.405 MB / 0.6225 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5836, allocations: 8 kB / 0.6225 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5837, allocations: 0 / 0.6225 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5837, allocations: 3.984 kB / 0.6225 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.5878, allocations: 2.704 MB / 0.6252 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5878, allocations: 0 / 0.6252 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.5895, allocations: 335.6 kB / 0.6255 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.5897, allocations: 60.8 kB / 0.6255 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.5898, allocations: 35.97 kB / 0.6256 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.592, allocations: 2.848 MB / 0.6283 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.592, allocations: 0 / 0.6283 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1937/0.7857, allocations: 1.936 MB / 0.6302 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.7868, allocations: 339.2 kB / 0.6306 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.787, allocations: 29.42 kB / 0.6306 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.788, allocations: 84.08 kB / 0.6307 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.7881, allocations: 62.2 kB / 0.6307 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.7882, allocations: 62.88 kB / 0.6308 GB, free: 151.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000866/0.7891, allocations: 0.7923 MB / 0.6316 GB, free: 151.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7891, allocations: 0 / 0.6316 GB, free: 151.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001287/0.7904, allocations: 0.5169 MB / 0.6321 GB, free: 151.2 MB / 494.1 MB 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.001731/0.7922, allocations: 0.6627 MB / 0.6327 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.7949, allocations: 1.478 MB / 0.6342 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.7949, allocations: 5.766 kB / 0.6342 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.7966, allocations: 0.8623 MB / 0.635 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.8002, allocations: 0.7161 MB / 0.6357 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.8046, allocations: 3.35 MB / 0.639 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.8051, allocations: 1.198 MB / 0.6401 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001308/0.8065, allocations: 416.2 kB / 0.6405 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.8068, allocations: 109 kB / 0.6406 GB, free: 149 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.8068, allocations: 0 / 0.6406 GB, free: 149 MB / 494.1 MB Notification: Performance of Templates: time 0.05074/0.8575, allocations: 37.48 MB / 0.6772 GB, free: 137.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches