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/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) 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 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(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/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 183 kB / 16.63 MB, free: 5.137 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.273/1.273, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001152/0.001152, allocations: 104.8 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 51.92 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1079, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3347/0.4427, allocations: 181.7 MB / 0.653 GB, free: 12.28 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008336/0.451, allocations: 7.199 MB / 0.66 GB, free: 5.066 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.4518, allocations: 27.75 kB / 0.6601 GB, free: 5.039 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009965/0.4528, allocations: 386.1 kB / 0.6604 GB, free: 4.66 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.4573, allocations: 1.842 MB / 0.6622 GB, free: 2.82 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.461, allocations: 1.55 MB / 0.6638 GB, free: 1.277 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003325/0.4644, allocations: 3.23 MB / 0.6669 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.4655, allocations: 0.6655 MB / 0.6676 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.4694, allocations: 1.819 MB / 0.6693 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.4722, allocations: 1.667 MB / 0.671 GB, free: 9.883 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.4725, allocations: 60 kB / 0.671 GB, free: 9.824 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.4762, allocations: 2.047 MB / 0.673 GB, free: 7.773 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.477, allocations: 0.643 MB / 0.6736 GB, free: 7.129 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.4783, allocations: 0.704 MB / 0.6743 GB, free: 6.422 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.4825, allocations: 2.86 MB / 0.6771 GB, free: 3.555 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4825, allocations: 0 / 0.6771 GB, free: 3.555 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4825, allocations: 0 / 0.6771 GB, free: 3.555 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.25e-05/0.4826, allocations: 0 / 0.6771 GB, free: 3.555 MB / 490.7 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.003839/0.4864, allocations: 1.691 MB / 0.6788 GB, free: 1.812 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4865, allocations: 8.031 kB / 0.6788 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.4881, allocations: 307.1 kB / 0.6791 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.4897, allocations: 0.7531 MB / 0.6798 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4898, allocations: 137.3 kB / 0.6799 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.4901, allocations: 104 kB / 0.68 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.4929, allocations: 1.844 MB / 0.6818 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.493, allocations: 15.84 kB / 0.6819 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.4931, allocations: 44 kB / 0.6819 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.45e-05/0.4932, allocations: 93.95 kB / 0.682 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.4957, allocations: 1.694 MB / 0.6836 GB, free: 12.71 MB / 0.4948 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.01018/0.5059, allocations: 7.002 MB / 0.6905 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.5073, allocations: 0.8692 MB / 0.6913 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.508, allocations: 454.3 kB / 0.6918 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.5082, allocations: 139.5 kB / 0.6919 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5082, allocations: 51.12 kB / 0.6919 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.5082, allocations: 0 / 0.6919 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72): time 0.2035/0.7117, allocations: 4.213 MB / 0.6961 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.7119, allocations: 113 kB / 0.6962 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.7139, allocations: 1.108 MB / 0.6973 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.7141, allocations: 47.23 kB / 0.6973 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.7145, allocations: 0.5244 MB / 0.6978 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.7148, allocations: 266.2 kB / 0.6981 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004585/0.7153, allocations: 209.4 kB / 0.6983 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.7154, allocations: 348.9 kB / 0.6986 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.7164, allocations: 0.5844 MB / 0.6992 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.7176, allocations: 0.8742 MB / 0.7 GB, free: 167.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.7195, allocations: 1.45 MB / 0.7014 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.7195, allocations: 2.75 kB / 0.7014 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003031/0.7226, allocations: 2.004 MB / 0.7034 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.7226, allocations: 8.062 kB / 0.7034 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.7226, allocations: 8.219 kB / 0.7034 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004536/0.7272, allocations: 1.318 MB / 0.7047 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.7278, allocations: 145.9 kB / 0.7048 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.7303, allocations: 1.918 MB / 0.7067 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.7317, allocations: 112.6 kB / 0.7068 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.7318, allocations: 66.14 kB / 0.7069 GB, free: 164.6 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.000696/0.7325, allocations: 408 kB / 0.7073 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.7328, allocations: 112.4 kB / 0.7074 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.7351, allocations: 1.386 MB / 0.7087 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.7351, allocations: 9.625 kB / 0.7087 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7351, allocations: 3.312 kB / 0.7087 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.7351, allocations: 9.75 kB / 0.7088 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.7391, allocations: 2.698 MB / 0.7114 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7391, allocations: 0 / 0.7114 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.7408, allocations: 324.5 kB / 0.7117 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.741, allocations: 66.27 kB / 0.7118 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/0.7411, allocations: 44.05 kB / 0.7118 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.7427, allocations: 2.829 MB / 0.7146 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7427, allocations: 7.125 kB / 0.7146 GB, free: 159.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06117/0.8039, allocations: 24.24 MB / 0.7382 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008676/0.8048, allocations: 332.3 kB / 0.7386 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.8051, allocations: 29.28 kB / 0.7386 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8061, allocations: 81.16 kB / 0.7387 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.8063, allocations: 68.31 kB / 0.7387 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.8065, allocations: 61.92 kB / 0.7388 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00113/0.8076, allocations: 0.7959 MB / 0.7396 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8076, allocations: 0 / 0.7396 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003644/0.8113, allocations: 1.118 MB / 0.7407 GB, free: 148.9 MB / 0.4948 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007129/0.8184, allocations: 1.954 MB / 0.7426 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003051/0.8215, allocations: 1.465 MB / 0.744 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.8215, allocations: 3.469 kB / 0.744 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.8232, allocations: 0.8618 MB / 0.7448 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/0.827, allocations: 0.7257 MB / 0.7456 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.833, allocations: 4.179 MB / 0.7496 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/0.8337, allocations: 1.221 MB / 0.7508 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002636/0.8364, allocations: 0.6927 MB / 0.7515 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009733/0.8374, allocations: 234.7 kB / 0.7517 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.8374, allocations: 1.969 kB / 0.7517 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.07334/0.9107, allocations: 71.25 MB / 0.8213 GB, free: 74.48 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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