Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 115.5 kB / 17.7 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.00109, allocations: 188 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009828/0.0009829, allocations: 43.48 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07974/0.08074, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2913/0.3721, allocations: 152.5 MB / 0.4922 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.3763, allocations: 4.036 MB / 0.4961 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.3764, allocations: 8 kB / 0.4961 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.3768, allocations: 103.4 kB / 0.4962 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.3792, allocations: 1.175 MB / 0.4974 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.3801, allocations: 384 kB / 0.4978 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.3807, allocations: 458.8 kB / 0.4982 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.3807, allocations: 10.22 kB / 0.4982 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.3812, allocations: 230.9 kB / 0.4984 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3814, allocations: 143.4 kB / 0.4986 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.3814, allocations: 16 kB / 0.4986 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.3848, allocations: 2.057 MB / 0.5006 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.3849, allocations: 139.6 kB / 0.5007 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3851, allocations: 163.4 kB / 0.5009 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.3869, allocations: 1.539 MB / 0.5024 GB, free: 1.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3869, allocations: 4 kB / 0.5024 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3869, allocations: 0 / 0.5024 GB, free: 1.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.387, allocations: 0 / 0.5024 GB, free: 1.355 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001899/0.3889, allocations: 0.7651 MB / 0.5031 GB, free: 0.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3889, allocations: 8.031 kB / 0.5031 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/0.3896, allocations: 108.5 kB / 0.5032 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.39, allocations: 291.4 kB / 0.5035 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.39, allocations: 20.56 kB / 0.5035 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.3901, allocations: 24 kB / 0.5036 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3911, allocations: 0.5964 MB / 0.5041 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3912, allocations: 4 kB / 0.5041 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.3912, allocations: 12 kB / 0.5042 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.3913, allocations: 20.94 kB / 0.5042 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.3924, allocations: 0.6302 MB / 0.5048 GB, free: 14.79 MB / 430.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.002783/0.3952, allocations: 1.286 MB / 0.5061 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.3961, allocations: 356.8 kB / 0.5064 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.3966, allocations: 173.6 kB / 0.5066 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.3988, allocations: 1.383 MB / 0.5079 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3989, allocations: 38.97 kB / 0.5079 GB, free: 11.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 3.887e-06/0.3989, allocations: 0 / 0.5079 GB, free: 11.25 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01394/0.4128, allocations: 3.49 MB / 0.5114 GB, free: 7.566 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.4129, allocations: 93.09 kB / 0.5114 GB, free: 7.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.413, allocations: 181.1 kB / 0.5116 GB, free: 7.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.4131, allocations: 33.7 kB / 0.5116 GB, free: 7.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.4132, allocations: 184 kB / 0.5118 GB, free: 7.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.4133, allocations: 173.5 kB / 0.512 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.4135, allocations: 114.3 kB / 0.5121 GB, free: 6.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4137, allocations: 338.8 kB / 0.5124 GB, free: 6.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.4144, allocations: 269.1 kB / 0.5127 GB, free: 6.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/0.4152, allocations: 429.5 kB / 0.5131 GB, free: 5.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.4167, allocations: 0.696 MB / 0.5138 GB, free: 4.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4167, allocations: 0 / 0.5138 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001847/0.4186, allocations: 0.7798 MB / 0.5145 GB, free: 4.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4186, allocations: 8 kB / 0.5145 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4186, allocations: 4 kB / 0.5145 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.4188, allocations: 57.62 kB / 0.5146 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.42, allocations: 184.1 kB / 0.5148 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005868/0.4206, allocations: 1.074 MB / 0.5158 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.4213, allocations: 43.95 kB / 0.5159 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.4214, allocations: 35.98 kB / 0.5159 GB, free: 2.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.4216, allocations: 177.6 kB / 0.5161 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4217, allocations: 31.66 kB / 0.5161 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.4238, allocations: 0.7785 MB / 0.5169 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.4238, allocations: 8 kB / 0.5169 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4238, allocations: 0 / 0.5169 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4238, allocations: 7.922 kB / 0.5169 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.427, allocations: 1.561 MB / 0.5184 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.427, allocations: 4 kB / 0.5184 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.4281, allocations: 151.9 kB / 0.5185 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.4282, allocations: 41.62 kB / 0.5186 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.4283, allocations: 27.97 kB / 0.5186 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.4299, allocations: 2.726 MB / 0.5213 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.43, allocations: 8.188 kB / 0.5213 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.4324, allocations: 1.076 MB / 0.5223 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.4325, allocations: 100.8 kB / 0.5224 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.4326, allocations: 19.97 kB / 0.5224 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.4334, allocations: 35.95 kB / 0.5225 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.4334, allocations: 51.81 kB / 0.5225 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.4335, allocations: 31.97 kB / 0.5226 GB, free: 11.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.4336, allocations: 119.2 kB / 0.5227 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4336, allocations: 0 / 0.5227 GB, free: 11.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4349, allocations: 391.8 kB / 0.523 GB, free: 10.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.00211/0.437, allocations: 0.8576 MB / 0.5239 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.4388, allocations: 0.6596 MB / 0.5245 GB, free: 9.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4388, allocations: 0 / 0.5245 GB, free: 9.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4398, allocations: 0.5282 MB / 0.525 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.4405, allocations: 101.2 kB / 0.5251 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.4424, allocations: 1.003 MB / 0.5261 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4427, allocations: 0.7852 MB / 0.5269 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000775/0.4435, allocations: 191.1 kB / 0.5271 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.4438, allocations: 63.39 kB / 0.5271 GB, free: 6.586 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4438, allocations: 0 / 0.5271 GB, free: 6.586 MB / 446.1 MB Notification: Performance of Templates: time 0.1567/0.6005, allocations: 16.08 MB / 0.5428 GB, free: 163.9 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches