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.001428/0.001429, allocations: 111.5 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 213.7 kB / 18.27 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.5 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.56 kB / 306.5 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.0871, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3062/0.3933, allocations: 153.3 MB / 0.4984 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.3982, allocations: 4.027 MB / 0.5023 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3984, allocations: 0 / 0.5023 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.3988, allocations: 99.5 kB / 0.5024 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.4015, allocations: 1.107 MB / 0.5035 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.4025, allocations: 366.4 kB / 0.5038 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.4031, allocations: 462.8 kB / 0.5043 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.4031, allocations: 13.56 kB / 0.5043 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.4036, allocations: 239.1 kB / 0.5045 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.4038, allocations: 167.4 kB / 0.5047 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.4039, allocations: 16 kB / 0.5047 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.4078, allocations: 2.349 MB / 0.507 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.408, allocations: 135.7 kB / 0.5071 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.4082, allocations: 171.3 kB / 0.5073 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.4107, allocations: 1.707 MB / 0.5089 GB, free: 7.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4107, allocations: 0 / 0.5089 GB, free: 7.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4107, allocations: 0 / 0.5089 GB, free: 7.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.4107, allocations: 0 / 0.5089 GB, free: 7.5 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.002235/0.413, allocations: 0.769 MB / 0.5097 GB, free: 6.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.413, allocations: 15.97 kB / 0.5097 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.4155, allocations: 264.3 kB / 0.5099 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.416, allocations: 287.4 kB / 0.5102 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.416, allocations: 20.56 kB / 0.5102 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.4161, allocations: 24 kB / 0.5103 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.4176, allocations: 0.6861 MB / 0.5109 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4176, allocations: 0 / 0.5109 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.4177, allocations: 12 kB / 0.5109 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.4177, allocations: 16.44 kB / 0.511 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.4195, allocations: 0.759 MB / 0.5117 GB, free: 4.555 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.004206/0.4237, allocations: 1.825 MB / 0.5135 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4251, allocations: 472.8 kB / 0.5139 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.4258, allocations: 233.6 kB / 0.5142 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002589/0.4284, allocations: 1.364 MB / 0.5155 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4284, allocations: 38.69 kB / 0.5155 GB, free: 296 kB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.4284, allocations: 4 kB / 0.5155 GB, free: 292 kB / 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.01493/0.4434, allocations: 3.712 MB / 0.5192 GB, free: 12.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.4435, allocations: 93.11 kB / 0.5192 GB, free: 12.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4436, allocations: 173.1 kB / 0.5194 GB, free: 12.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.4437, allocations: 37.64 kB / 0.5194 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4439, allocations: 180.1 kB / 0.5196 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.4441, allocations: 173.5 kB / 0.5198 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.4443, allocations: 118.2 kB / 0.5199 GB, free: 11.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4445, allocations: 342.7 kB / 0.5202 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/0.4453, allocations: 269.1 kB / 0.5205 GB, free: 10.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.4462, allocations: 425.5 kB / 0.5209 GB, free: 10.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.448, allocations: 0.7068 MB / 0.5216 GB, free: 9.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.448, allocations: 0 / 0.5216 GB, free: 9.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002066/0.4501, allocations: 0.7768 MB / 0.5223 GB, free: 8.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4501, allocations: 8 kB / 0.5223 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4501, allocations: 7.938 kB / 0.5223 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.4503, allocations: 50.19 kB / 0.5224 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.4516, allocations: 187.7 kB / 0.5226 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007854/0.4524, allocations: 1.077 MB / 0.5236 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008355/0.4532, allocations: 51.86 kB / 0.5237 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/0.4533, allocations: 35.98 kB / 0.5237 GB, free: 7.469 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.0002821/0.4536, allocations: 185.6 kB / 0.5239 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4538, allocations: 27.72 kB / 0.5239 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.4562, allocations: 0.7776 MB / 0.5247 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.4562, allocations: 4 kB / 0.5247 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4562, allocations: 0 / 0.5247 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4562, allocations: 7.984 kB / 0.5247 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.4598, allocations: 1.553 MB / 0.5262 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4598, allocations: 3.984 kB / 0.5262 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.4609, allocations: 147.7 kB / 0.5263 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.4611, allocations: 49.84 kB / 0.5264 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.4612, allocations: 23.97 kB / 0.5264 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.4633, allocations: 2.738 MB / 0.5291 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4633, allocations: 0 / 0.5291 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.4661, allocations: 1.076 MB / 0.5301 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.4662, allocations: 100.8 kB / 0.5302 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.4663, allocations: 12 kB / 0.5302 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.4672, allocations: 40 kB / 0.5303 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.4672, allocations: 43.83 kB / 0.5303 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.4673, allocations: 39.95 kB / 0.5304 GB, free: 196 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.4675, allocations: 128.4 kB / 0.5305 GB, free: 68 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4675, allocations: 0 / 0.5305 GB, free: 68 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.1379/0.6053, allocations: 395.7 kB / 0.5309 GB, free: 160.7 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.002685/0.608, allocations: 0.8672 MB / 0.5317 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.61, allocations: 0.6855 MB / 0.5324 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6101, allocations: 1.062 kB / 0.5324 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.6111, allocations: 0.5343 MB / 0.5329 GB, free: 160.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.6119, allocations: 100.9 kB / 0.533 GB, free: 160.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.6137, allocations: 1.125 MB / 0.5341 GB, free: 159.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.614, allocations: 0.7834 MB / 0.5349 GB, free: 159.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001168/0.6151, allocations: 185.1 kB / 0.535 GB, free: 159.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.6155, allocations: 65.27 kB / 0.5351 GB, free: 159 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6155, allocations: 1.562 kB / 0.5351 GB, free: 159 MB / 446.1 MB Notification: Performance of Templates: time 0.02255/0.638, allocations: 16.05 MB / 0.5508 GB, free: 153.5 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.1.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