Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001521/0.001521, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001843/0.001843, allocations: 183 kB / 18.66 MB, free: 4.414 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.364/1.364, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.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.001202/0.001202, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08945, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3498/0.4393, allocations: 154.3 MB / 0.517 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.4429, allocations: 3.055 MB / 0.52 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.443, allocations: 0 / 0.52 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.4435, allocations: 107.4 kB / 0.5201 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.446, allocations: 1.184 MB / 0.5212 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.447, allocations: 388.9 kB / 0.5216 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.4476, allocations: 458.9 kB / 0.522 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.4476, allocations: 9.562 kB / 0.522 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.448, allocations: 230.7 kB / 0.5223 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.4483, allocations: 135.5 kB / 0.5224 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.4483, allocations: 20 kB / 0.5224 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.4521, allocations: 2.072 MB / 0.5244 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.4523, allocations: 131.7 kB / 0.5246 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.4525, allocations: 171.3 kB / 0.5247 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.4547, allocations: 1.532 MB / 0.5262 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4547, allocations: 4 kB / 0.5262 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4547, allocations: 0 / 0.5262 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4547, allocations: 4 kB / 0.5262 GB, free: 11.39 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002081/0.4568, allocations: 0.7612 MB / 0.527 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4568, allocations: 12.02 kB / 0.527 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.4575, allocations: 104.6 kB / 0.5271 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.4579, allocations: 291.6 kB / 0.5274 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.458, allocations: 20.56 kB / 0.5274 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.4581, allocations: 24 kB / 0.5274 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4592, allocations: 0.6003 MB / 0.528 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4592, allocations: 4 kB / 0.528 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.4593, allocations: 12 kB / 0.528 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.4593, allocations: 24.41 kB / 0.528 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.4606, allocations: 0.6379 MB / 0.5287 GB, free: 8.805 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.002839/0.4634, allocations: 1.287 MB / 0.5299 GB, free: 7.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009418/0.4644, allocations: 348.9 kB / 0.5302 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.4648, allocations: 177.6 kB / 0.5304 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/0.4672, allocations: 1.372 MB / 0.5318 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4672, allocations: 45.44 kB / 0.5318 GB, free: 5.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/0.4672, allocations: 0 / 0.5318 GB, free: 5.277 MB / 462.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.01455/0.4818, allocations: 3.476 MB / 0.5352 GB, free: 1.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4819, allocations: 89.11 kB / 0.5353 GB, free: 1.496 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.482, allocations: 178.5 kB / 0.5354 GB, free: 1.312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.4821, allocations: 37.7 kB / 0.5355 GB, free: 1.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.4822, allocations: 176.1 kB / 0.5356 GB, free: 1.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.4824, allocations: 173.5 kB / 0.5358 GB, free: 0.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.4826, allocations: 114.2 kB / 0.5359 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4827, allocations: 342.8 kB / 0.5363 GB, free: 468 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.4835, allocations: 273 kB / 0.5365 GB, free: 196 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.4844, allocations: 425.5 kB / 0.5369 GB, free: 15.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.4861, allocations: 0.6991 MB / 0.5376 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4861, allocations: 0 / 0.5376 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002047/0.4881, allocations: 0.78 MB / 0.5384 GB, free: 14.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4882, allocations: 8 kB / 0.5384 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4882, allocations: 7.938 kB / 0.5384 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.4884, allocations: 54.31 kB / 0.5384 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4895, allocations: 183.7 kB / 0.5386 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006912/0.4902, allocations: 1.085 MB / 0.5397 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/0.491, allocations: 39.95 kB / 0.5397 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.4911, allocations: 35.98 kB / 0.5397 GB, free: 12.69 MB / 478.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.0002594/0.4914, allocations: 185.7 kB / 0.5399 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.4915, allocations: 27.72 kB / 0.5399 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.4938, allocations: 0.7856 MB / 0.5407 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4939, allocations: 8 kB / 0.5407 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4939, allocations: 0 / 0.5407 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4939, allocations: 3.984 kB / 0.5407 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.4972, allocations: 1.551 MB / 0.5422 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4972, allocations: 4 kB / 0.5422 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.4983, allocations: 147.8 kB / 0.5424 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.4985, allocations: 33.7 kB / 0.5424 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.4985, allocations: 35.84 kB / 0.5424 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.5006, allocations: 2.738 MB / 0.5451 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5006, allocations: 4.031 kB / 0.5451 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.5033, allocations: 1.072 MB / 0.5462 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5034, allocations: 100.8 kB / 0.5463 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.5035, allocations: 17.03 kB / 0.5463 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.5043, allocations: 39.95 kB / 0.5463 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.5044, allocations: 43.89 kB / 0.5464 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.5045, allocations: 31.97 kB / 0.5464 GB, free: 5.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.5046, allocations: 124.4 kB / 0.5465 GB, free: 5.289 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5046, allocations: 4 kB / 0.5465 GB, free: 5.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001518/0.5061, allocations: 383.8 kB / 0.5469 GB, free: 4.91 MB / 478.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.00236/0.5085, allocations: 0.8584 MB / 0.5477 GB, free: 4.043 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.5106, allocations: 0.6558 MB / 0.5484 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.5106, allocations: 0 / 0.5484 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5117, allocations: 0.5409 MB / 0.5489 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.5126, allocations: 93.59 kB / 0.549 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.5147, allocations: 0.9852 MB / 0.5499 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5151, allocations: 0.7813 MB / 0.5507 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008199/0.516, allocations: 191.1 kB / 0.5509 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.5163, allocations: 67.38 kB / 0.5509 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5163, allocations: 0 / 0.5509 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of Templates: time 0.2084/0.7247, allocations: 16.18 MB / 0.5667 GB, free: 162.4 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches