Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 62.11 kB / 306.9 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08826, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3168/0.4051, allocations: 155.4 MB / 0.5008 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004454/0.4096, allocations: 4.039 MB / 0.5048 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.4098, allocations: 3.938 kB / 0.5048 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.4102, allocations: 107.4 kB / 0.5049 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.4128, allocations: 1.173 MB / 0.506 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.4138, allocations: 398 kB / 0.5064 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.4143, allocations: 454.9 kB / 0.5069 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.4144, allocations: 13.55 kB / 0.5069 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.4148, allocations: 243 kB / 0.5071 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.4151, allocations: 143.5 kB / 0.5072 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.4151, allocations: 16 kB / 0.5073 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.4188, allocations: 2.135 MB / 0.5093 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.419, allocations: 139.6 kB / 0.5095 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4192, allocations: 159.4 kB / 0.5096 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.4217, allocations: 1.575 MB / 0.5112 GB, free: 5.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4217, allocations: 7.984 kB / 0.5112 GB, free: 5.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4217, allocations: 0 / 0.5112 GB, free: 5.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.4217, allocations: 0 / 0.5112 GB, free: 5.336 MB / 430.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.002249/0.424, allocations: 0.7612 MB / 0.5119 GB, free: 4.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.424, allocations: 15.97 kB / 0.5119 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.4267, allocations: 268.3 kB / 0.5122 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.4272, allocations: 291.4 kB / 0.5125 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4272, allocations: 20.56 kB / 0.5125 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.4273, allocations: 27.98 kB / 0.5125 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4287, allocations: 0.6705 MB / 0.5132 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4287, allocations: 0 / 0.5132 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.4288, allocations: 16 kB / 0.5132 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.4288, allocations: 24.36 kB / 0.5132 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.4305, allocations: 0.7512 MB / 0.5139 GB, free: 2.398 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.004085/0.4346, allocations: 1.829 MB / 0.5157 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.436, allocations: 472.8 kB / 0.5162 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.4367, allocations: 234.2 kB / 0.5164 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002429/0.4391, allocations: 1.368 MB / 0.5177 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4392, allocations: 38.75 kB / 0.5178 GB, free: 14.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.4392, allocations: 4 kB / 0.5178 GB, free: 14.12 MB / 446.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.01469/0.4539, allocations: 3.722 MB / 0.5214 GB, free: 10.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4539, allocations: 85.11 kB / 0.5215 GB, free: 10.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4541, allocations: 176.9 kB / 0.5217 GB, free: 9.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.4542, allocations: 41.64 kB / 0.5217 GB, free: 9.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4543, allocations: 180.1 kB / 0.5219 GB, free: 9.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.4544, allocations: 173.5 kB / 0.522 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.4547, allocations: 118.2 kB / 0.5221 GB, free: 9.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4548, allocations: 342.8 kB / 0.5225 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/0.4556, allocations: 265.1 kB / 0.5227 GB, free: 8.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.4565, allocations: 425.5 kB / 0.5231 GB, free: 8.316 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.4582, allocations: 0.699 MB / 0.5238 GB, free: 7.555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4582, allocations: 4 kB / 0.5238 GB, free: 7.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002059/0.4603, allocations: 0.7791 MB / 0.5246 GB, free: 6.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4603, allocations: 8 kB / 0.5246 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4603, allocations: 4 kB / 0.5246 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.4605, allocations: 62.12 kB / 0.5246 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4618, allocations: 179.7 kB / 0.5248 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006633/0.4625, allocations: 1.089 MB / 0.5259 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/0.4633, allocations: 47.95 kB / 0.5259 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.4634, allocations: 35.98 kB / 0.526 GB, free: 5.285 MB / 446.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.000239/0.4636, allocations: 181.7 kB / 0.5261 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.4638, allocations: 23.72 kB / 0.5262 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.4661, allocations: 0.7945 MB / 0.5269 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4661, allocations: 4 kB / 0.5269 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.4661, allocations: 0 / 0.5269 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4661, allocations: 3.984 kB / 0.5269 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.4695, allocations: 1.547 MB / 0.5285 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4695, allocations: 0 / 0.5285 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.4706, allocations: 147.8 kB / 0.5286 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.4708, allocations: 49.8 kB / 0.5286 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.4709, allocations: 23.97 kB / 0.5287 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1534/0.6243, allocations: 2.719 MB / 0.5313 GB, free: 159.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6243, allocations: 3.688 kB / 0.5313 GB, free: 159.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.6271, allocations: 1.079 MB / 0.5324 GB, free: 159.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.6271, allocations: 103.6 kB / 0.5325 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.6272, allocations: 12.77 kB / 0.5325 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008563/0.6281, allocations: 42.25 kB / 0.5325 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.6282, allocations: 43.95 kB / 0.5326 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.6283, allocations: 33.94 kB / 0.5326 GB, free: 159.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.6284, allocations: 121.7 kB / 0.5327 GB, free: 159.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.6284, allocations: 0 / 0.5327 GB, free: 159.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00132/0.6297, allocations: 401.2 kB / 0.5331 GB, free: 159.4 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.002781/0.6325, allocations: 0.869 MB / 0.5339 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.6346, allocations: 0.6842 MB / 0.5346 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6346, allocations: 1.375 kB / 0.5346 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6357, allocations: 0.5347 MB / 0.5351 GB, free: 159.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.6365, allocations: 100.4 kB / 0.5352 GB, free: 159.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.6385, allocations: 0.9986 MB / 0.5362 GB, free: 158.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.6387, allocations: 0.7881 MB / 0.537 GB, free: 157.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.6398, allocations: 189.7 kB / 0.5372 GB, free: 157.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.6401, allocations: 61.66 kB / 0.5372 GB, free: 157.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6401, allocations: 3.75 kB / 0.5372 GB, free: 157.8 MB / 446.1 MB Notification: Performance of Templates: time 0.02176/0.6619, allocations: 16.07 MB / 0.5529 GB, free: 152 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches