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.0007637/0.0007637, allocations: 100.4 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009211/0.0009211, allocations: 198.2 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.7 MB / 246.4 MB, free: 9.719 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002133, allocations: 4 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08766, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3067/0.3944, allocations: 141.3 MB / 499.9 MB, free: 14.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.3981, allocations: 3.747 MB / 0.4918 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.3982, allocations: 4 kB / 0.4918 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.3985, allocations: 71.59 kB / 0.4919 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4002, allocations: 0.8049 MB / 0.4927 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.4009, allocations: 286.3 kB / 0.493 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.4015, allocations: 0.5105 MB / 0.4935 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.4016, allocations: 13.55 kB / 0.4935 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.4019, allocations: 219.2 kB / 0.4937 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.4022, allocations: 175.3 kB / 0.4938 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.4022, allocations: 12 kB / 0.4939 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.4051, allocations: 1.574 MB / 0.4954 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.4052, allocations: 135.7 kB / 0.4955 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.4053, allocations: 85.58 kB / 0.4956 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.4064, allocations: 0.9174 MB / 0.4965 GB, free: 6.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4064, allocations: 0 / 0.4965 GB, free: 6.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4064, allocations: 0 / 0.4965 GB, free: 6.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4064, allocations: 0 / 0.4965 GB, free: 6.371 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.001634/0.4081, allocations: 0.7103 MB / 0.4972 GB, free: 5.613 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.4081, allocations: 8.031 kB / 0.4972 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.4101, allocations: 259.4 kB / 0.4974 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.4105, allocations: 290.5 kB / 0.4977 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4105, allocations: 16.56 kB / 0.4977 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.4106, allocations: 28 kB / 0.4978 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.4118, allocations: 0.671 MB / 0.4984 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4119, allocations: 7.938 kB / 0.4984 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.4119, allocations: 12 kB / 0.4984 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.412, allocations: 20.44 kB / 0.4985 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.4135, allocations: 0.7594 MB / 0.4992 GB, free: 3.496 MB / 414.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.003634/0.4172, allocations: 1.804 MB / 0.501 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4184, allocations: 481.9 kB / 0.5014 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.4191, allocations: 237.5 kB / 0.5017 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/0.4213, allocations: 1.364 MB / 0.503 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.4214, allocations: 43.39 kB / 0.503 GB, free: 15.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.4214, allocations: 0 / 0.503 GB, free: 15.24 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.0125/0.4339, allocations: 3.646 MB / 0.5066 GB, free: 11.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.434, allocations: 85.11 kB / 0.5067 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.4342, allocations: 177.1 kB / 0.5068 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.4342, allocations: 29.7 kB / 0.5069 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4343, allocations: 176.1 kB / 0.507 GB, free: 10.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.4345, allocations: 177.5 kB / 0.5072 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.4346, allocations: 12 kB / 0.5072 GB, free: 10.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4347, allocations: 342.8 kB / 0.5075 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/0.4354, allocations: 257.1 kB / 0.5078 GB, free: 10.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007768/0.4362, allocations: 429.6 kB / 0.5082 GB, free: 9.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.437, allocations: 306.6 kB / 0.5085 GB, free: 9.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.437, allocations: 0 / 0.5085 GB, free: 9.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001806/0.4388, allocations: 0.7769 MB / 0.5092 GB, free: 8.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4388, allocations: 4.625 kB / 0.5093 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4389, allocations: 12 kB / 0.5093 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.4391, allocations: 57.58 kB / 0.5093 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.4401, allocations: 183.7 kB / 0.5095 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007604/0.4409, allocations: 1.073 MB / 0.5105 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000697/0.4416, allocations: 52.14 kB / 0.5106 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.4417, allocations: 35.98 kB / 0.5106 GB, free: 7.078 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.442, allocations: 181.2 kB / 0.5108 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.4421, allocations: 23.72 kB / 0.5108 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.4442, allocations: 0.7784 MB / 0.5116 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.4443, allocations: 15.95 kB / 0.5116 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4443, allocations: 3.938 kB / 0.5116 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4443, allocations: 3.984 kB / 0.5116 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.4473, allocations: 1.543 MB / 0.5131 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4474, allocations: 7.984 kB / 0.5131 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009832/0.4484, allocations: 152 kB / 0.5133 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.4485, allocations: 45.56 kB / 0.5133 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.4486, allocations: 31.92 kB / 0.5133 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.4503, allocations: 2.525 MB / 0.5158 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4503, allocations: 3.938 kB / 0.5158 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.4527, allocations: 1.078 MB / 0.5169 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.4527, allocations: 100.9 kB / 0.517 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.4528, allocations: 12 kB / 0.517 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/0.4535, allocations: 43.95 kB / 0.517 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.4536, allocations: 43.84 kB / 0.5171 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.4537, allocations: 31.97 kB / 0.5171 GB, free: 24 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4538, allocations: 128.4 kB / 0.5172 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4538, allocations: 0 / 0.5172 GB, free: 15.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001321/0.4551, allocations: 387.7 kB / 0.5176 GB, free: 15.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002135/0.4573, allocations: 0.6782 MB / 0.5182 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.459, allocations: 0.6501 MB / 0.5189 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.459, allocations: 0 / 0.5189 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.46, allocations: 0.5323 MB / 0.5194 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.4608, allocations: 105.6 kB / 0.5195 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.4628, allocations: 1.188 MB / 0.5207 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4631, allocations: 0.789 MB / 0.5214 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001175/0.4643, allocations: 191.1 kB / 0.5216 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.4646, allocations: 63.39 kB / 0.5217 GB, free: 11.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4647, allocations: 3.938 kB / 0.5217 GB, free: 11.21 MB / 446.1 MB Notification: Performance of Templates: time 0.1686/0.6332, allocations: 15.42 MB / 0.5367 GB, free: 156.9 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