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.001056/0.00106, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001088, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2017, allocations: 50.54 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3403/0.542, allocations: 155.4 MB / 0.5521 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.5452, allocations: 4.038 MB / 0.556 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.5453, allocations: 0 / 0.556 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.5456, allocations: 105.1 kB / 0.5561 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.5475, allocations: 1.176 MB / 0.5573 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.5483, allocations: 390.8 kB / 0.5576 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.5487, allocations: 461.6 kB / 0.5581 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.5487, allocations: 12.86 kB / 0.5581 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.549, allocations: 251.6 kB / 0.5583 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.5492, allocations: 137.8 kB / 0.5585 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.5492, allocations: 15.59 kB / 0.5585 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.5518, allocations: 2.07 MB / 0.5605 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5519, allocations: 132.7 kB / 0.5606 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.5521, allocations: 167.7 kB / 0.5608 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.5536, allocations: 1.541 MB / 0.5623 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5536, allocations: 3.594 kB / 0.5623 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5536, allocations: 0 / 0.5623 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.5536, allocations: 0 / 0.5623 GB, free: 0.7227 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.001979/0.5556, allocations: 0.7689 MB / 0.563 GB, free: 16.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5557, allocations: 11.06 kB / 0.5631 GB, free: 16.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.5564, allocations: 107.2 kB / 0.5632 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.5567, allocations: 293.6 kB / 0.5634 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5568, allocations: 18.34 kB / 0.5635 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.5568, allocations: 26.91 kB / 0.5635 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.5578, allocations: 0.5885 MB / 0.5641 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5578, allocations: 6.953 kB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.5579, allocations: 14.81 kB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.5579, allocations: 16.69 kB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.559, allocations: 0.6476 MB / 0.5647 GB, free: 15.94 MB / 478.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.002542/0.5616, allocations: 1.271 MB / 0.566 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.5625, allocations: 350.6 kB / 0.5663 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.5629, allocations: 172.6 kB / 0.5665 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.5651, allocations: 1.373 MB / 0.5678 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.5651, allocations: 44.42 kB / 0.5679 GB, free: 14.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.5651, allocations: 1.203 kB / 0.5679 GB, free: 14.27 MB / 478.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.01466/0.5798, allocations: 3.494 MB / 0.5713 GB, free: 13.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.5799, allocations: 84.95 kB / 0.5713 GB, free: 13.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.58, allocations: 181.7 kB / 0.5715 GB, free: 12.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.5801, allocations: 32.64 kB / 0.5715 GB, free: 12.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.5802, allocations: 182.5 kB / 0.5717 GB, free: 12.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.5803, allocations: 172.8 kB / 0.5719 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.5805, allocations: 117.9 kB / 0.572 GB, free: 12.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5806, allocations: 340.4 kB / 0.5723 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.5813, allocations: 265.6 kB / 0.5726 GB, free: 12.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/0.5821, allocations: 430.7 kB / 0.573 GB, free: 12.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.5836, allocations: 0.694 MB / 0.5737 GB, free: 11.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5836, allocations: 4 kB / 0.5737 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001796/0.5854, allocations: 0.7807 MB / 0.5744 GB, free: 11.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5855, allocations: 7.344 kB / 0.5744 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5855, allocations: 3.469 kB / 0.5744 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.5857, allocations: 50.47 kB / 0.5745 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5868, allocations: 186.7 kB / 0.5747 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006093/0.5874, allocations: 1.08 MB / 0.5757 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.5883, allocations: 47.23 kB / 0.5758 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.5883, allocations: 35.69 kB / 0.5758 GB, free: 10.76 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.0002057/0.5885, allocations: 187.1 kB / 0.576 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5887, allocations: 27.09 kB / 0.576 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.5907, allocations: 0.7776 MB / 0.5768 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5907, allocations: 2.484 kB / 0.5768 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5908, allocations: 2.125 kB / 0.5768 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.5908, allocations: 100.2 kB / 0.5769 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.5909, allocations: 11.05 kB / 0.5769 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/0.5917, allocations: 32.69 kB / 0.5769 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.5918, allocations: 45.06 kB / 0.577 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002747/0.5946, allocations: 0.81 MB / 0.5777 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002324/0.5969, allocations: 1.032 MB / 0.5788 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000681/0.5976, allocations: 247.7 kB / 0.579 GB, free: 9.867 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.952e-05/0.5977, allocations: 128.5 kB / 0.5791 GB, free: 9.789 MB / 478.1 MB Notification: Performance of Backend: time 3.5e-07/0.5977, allocations: 0 / 0.5791 GB, free: 9.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.6013, allocations: 1.306 MB / 0.5804 GB, free: 9.559 MB / 478.1 MB Notification: Performance of SimCode: time 0.001247/0.6025, allocations: 1.235 MB / 0.5816 GB, free: 8.641 MB / 478.1 MB Notification: Performance of Templates: time 0.02321/0.6257, allocations: 18.74 MB / 0.5999 GB, free: 15.16 MB / 494.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/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_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches