Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, 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.271/1.271, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009359/0.0009359, allocations: 113.5 kB / 269.9 MB, free: 8.418 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.3129/0.3129, allocations: 43.49 MB / 360.7 MB, free: 51.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009656/0.0009657, allocations: 51.92 kB / 429.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1024, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3571/0.4595, allocations: 181.8 MB / 0.6532 GB, free: 12.11 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008565/0.4682, allocations: 7.2 MB / 0.6602 GB, free: 4.895 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.4691, allocations: 27.81 kB / 0.6602 GB, free: 4.867 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.4703, allocations: 378.2 kB / 0.6606 GB, free: 4.496 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.4753, allocations: 1.824 MB / 0.6624 GB, free: 2.672 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.4796, allocations: 1.522 MB / 0.6638 GB, free: 1.164 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.4826, allocations: 3.128 MB / 0.6669 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.4833, allocations: 482.9 kB / 0.6674 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.487, allocations: 1.767 MB / 0.6691 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.4895, allocations: 1.542 MB / 0.6706 GB, free: 10.24 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.4897, allocations: 40 kB / 0.6706 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.4933, allocations: 2.011 MB / 0.6726 GB, free: 8.188 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.4938, allocations: 418.8 kB / 0.673 GB, free: 7.777 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.4945, allocations: 0.5171 MB / 0.6735 GB, free: 7.258 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.4976, allocations: 2.314 MB / 0.6758 GB, free: 4.938 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4976, allocations: 0 / 0.6758 GB, free: 4.938 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4976, allocations: 7.938 kB / 0.6758 GB, free: 4.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4976, allocations: 0 / 0.6758 GB, free: 4.93 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002906/0.5006, allocations: 1.422 MB / 0.6772 GB, free: 3.457 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5006, allocations: 11.98 kB / 0.6772 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.5019, allocations: 282.6 kB / 0.6774 GB, free: 3.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.5029, allocations: 0.6129 MB / 0.678 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5031, allocations: 116.7 kB / 0.6781 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.5032, allocations: 59.98 kB / 0.6782 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.5048, allocations: 1.271 MB / 0.6794 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5049, allocations: 0 / 0.6794 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.505, allocations: 32 kB / 0.6795 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-05/0.5051, allocations: 85.27 kB / 0.6796 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5065, allocations: 1.051 MB / 0.6806 GB, free: 15.83 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.006239/0.5128, allocations: 4.968 MB / 0.6854 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.5133, allocations: 310.5 kB / 0.6857 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.5135, allocations: 144.7 kB / 0.6859 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.5137, allocations: 138.9 kB / 0.686 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5137, allocations: 40.47 kB / 0.686 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/0.5137, allocations: 3.938 kB / 0.686 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005962/0.5197, allocations: 1.82 MB / 0.6878 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.5198, allocations: 136.5 kB / 0.6879 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.5208, allocations: 0.9311 MB / 0.6889 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.5208, allocations: 33.7 kB / 0.6889 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.5211, allocations: 0.5633 MB / 0.6894 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.5212, allocations: 134.3 kB / 0.6896 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.5215, allocations: 218.6 kB / 0.6898 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5217, allocations: 402.7 kB / 0.6902 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.5221, allocations: 274.5 kB / 0.6904 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.5228, allocations: 0.8678 MB / 0.6913 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.5241, allocations: 1.172 MB / 0.6924 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.5241, allocations: 8 kB / 0.6924 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001846/0.5259, allocations: 1.239 MB / 0.6936 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.526, allocations: 12 kB / 0.6936 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.526, allocations: 20 kB / 0.6937 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.5272, allocations: 289.3 kB / 0.6939 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.5278, allocations: 207.6 kB / 0.6941 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2141/0.7418, allocations: 0.9045 MB / 0.695 GB, free: 168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.743, allocations: 56.5 kB / 0.6951 GB, free: 168 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.7431, allocations: 70.52 kB / 0.6951 GB, free: 168 MB / 0.4948 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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004594/0.7435, allocations: 343.4 kB / 0.6955 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.7437, allocations: 97.88 kB / 0.6956 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009751/0.7447, allocations: 484.2 kB / 0.696 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.7447, allocations: 3.531 kB / 0.696 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7447, allocations: 0.7969 kB / 0.696 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7447, allocations: 2.531 kB / 0.696 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.7465, allocations: 1.123 MB / 0.6971 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7465, allocations: 2.562 kB / 0.6971 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.7475, allocations: 180 kB / 0.6973 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.7477, allocations: 25.48 kB / 0.6973 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.7477, allocations: 12.39 kB / 0.6973 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.7491, allocations: 2.671 MB / 0.6999 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7491, allocations: 1.656 kB / 0.6999 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03661/0.7857, allocations: 8.83 MB / 0.7086 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.7861, allocations: 204.2 kB / 0.7088 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.7862, allocations: 7.062 kB / 0.7088 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.7866, allocations: 30.39 kB / 0.7088 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.7867, allocations: 27.44 kB / 0.7088 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.7867, allocations: 26.66 kB / 0.7089 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006734/0.7874, allocations: 0.623 MB / 0.7095 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.7874, allocations: 3.062 kB / 0.7095 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002669/0.7901, allocations: 0.8446 MB / 0.7103 GB, free: 159.8 MB / 0.4948 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 (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.005678/0.7958, allocations: 1.649 MB / 0.7119 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.7972, allocations: 0.6754 MB / 0.7126 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.7972, allocations: 0.5469 kB / 0.7126 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.7981, allocations: 378.2 kB / 0.7129 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.8, allocations: 416.2 kB / 0.7133 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.8025, allocations: 2.277 MB / 0.7155 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.803, allocations: 1.038 MB / 0.7166 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009999/0.804, allocations: 333.2 kB / 0.7169 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.8042, allocations: 82.33 kB / 0.7169 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.8042, allocations: 0 / 0.7169 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.05472/0.8589, allocations: 39.07 MB / 0.7551 GB, free: 141 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches