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.00148/0.00148, allocations: 114.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 204.5 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.92 kB / 308.3 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1009, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3302/0.4312, allocations: 155.4 MB / 0.5022 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004244/0.4355, allocations: 4.036 MB / 0.5062 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4356, allocations: 3.938 kB / 0.5062 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.436, allocations: 107.4 kB / 0.5063 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.4385, allocations: 1.175 MB / 0.5074 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.4394, allocations: 387.1 kB / 0.5078 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.44, allocations: 464.5 kB / 0.5082 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.44, allocations: 9.562 kB / 0.5083 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.4404, allocations: 242.9 kB / 0.5085 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.4406, allocations: 151.4 kB / 0.5086 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.4407, allocations: 16 kB / 0.5086 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.444, allocations: 2.064 MB / 0.5107 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.4442, allocations: 131.7 kB / 0.5108 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.4444, allocations: 167.4 kB / 0.511 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.4464, allocations: 1.539 MB / 0.5125 GB, free: 4.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4465, allocations: 0 / 0.5125 GB, free: 4.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4465, allocations: 4 kB / 0.5125 GB, free: 4.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4465, allocations: 3.938 kB / 0.5125 GB, free: 4.844 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.002094/0.4486, allocations: 0.7729 MB / 0.5132 GB, free: 4.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4486, allocations: 8.031 kB / 0.5132 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007203/0.4494, allocations: 108.6 kB / 0.5133 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.4498, allocations: 279.5 kB / 0.5136 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4499, allocations: 24.5 kB / 0.5136 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.4499, allocations: 27.98 kB / 0.5136 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.451, allocations: 0.6047 MB / 0.5142 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.451, allocations: 0 / 0.5142 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.4511, allocations: 12 kB / 0.5142 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.4511, allocations: 20.42 kB / 0.5143 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.4523, allocations: 0.638 MB / 0.5149 GB, free: 2.254 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.002762/0.4551, allocations: 1.275 MB / 0.5161 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.456, allocations: 356 kB / 0.5165 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.4564, allocations: 185.6 kB / 0.5166 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/0.4589, allocations: 1.368 MB / 0.518 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4589, allocations: 34.75 kB / 0.518 GB, free: 14.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.4589, allocations: 4 kB / 0.518 GB, free: 14.74 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.01402/0.473, allocations: 3.487 MB / 0.5214 GB, free: 11.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.473, allocations: 93.05 kB / 0.5215 GB, free: 10.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4732, allocations: 180.9 kB / 0.5217 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.4733, allocations: 29.7 kB / 0.5217 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.4734, allocations: 176.1 kB / 0.5219 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.4735, allocations: 181.5 kB / 0.5221 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4738, allocations: 114.3 kB / 0.5222 GB, free: 10.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4739, allocations: 334.8 kB / 0.5225 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.4746, allocations: 265.1 kB / 0.5227 GB, free: 9.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.4754, allocations: 433.5 kB / 0.5232 GB, free: 9.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.4769, allocations: 0.6966 MB / 0.5238 GB, free: 8.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.477, allocations: 0 / 0.5238 GB, free: 8.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001891/0.4789, allocations: 0.7876 MB / 0.5246 GB, free: 7.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4789, allocations: 4 kB / 0.5246 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.4789, allocations: 8 kB / 0.5246 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.4791, allocations: 53.67 kB / 0.5247 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.4803, allocations: 184.2 kB / 0.5248 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007193/0.481, allocations: 1.077 MB / 0.5259 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.4817, allocations: 43.95 kB / 0.5259 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.4818, allocations: 39.92 kB / 0.526 GB, free: 6.152 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.0002492/0.4821, allocations: 177.5 kB / 0.5261 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4822, allocations: 35.81 kB / 0.5262 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4843, allocations: 0.7849 MB / 0.5269 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4843, allocations: 4 kB / 0.5269 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4843, allocations: 4 kB / 0.527 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4844, allocations: 0 / 0.527 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4876, allocations: 1.552 MB / 0.5285 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4876, allocations: 8.219 kB / 0.5285 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4887, allocations: 147.7 kB / 0.5286 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.4889, allocations: 45.53 kB / 0.5287 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.4889, allocations: 27.97 kB / 0.5287 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.4906, allocations: 2.73 MB / 0.5314 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4906, allocations: 4 kB / 0.5314 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1488/0.6395, allocations: 1.071 MB / 0.5324 GB, free: 160.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.6396, allocations: 99.53 kB / 0.5325 GB, free: 160.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.6397, allocations: 14.3 kB / 0.5325 GB, free: 160.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.6406, allocations: 39.55 kB / 0.5325 GB, free: 160.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.6407, allocations: 53 kB / 0.5326 GB, free: 160.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6408, allocations: 33.69 kB / 0.5326 GB, free: 160.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.801e-05/0.6409, allocations: 121.2 kB / 0.5327 GB, free: 160.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6409, allocations: 1.75 kB / 0.5327 GB, free: 160.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001486/0.6424, allocations: 388.1 kB / 0.5331 GB, free: 160.3 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.002646/0.6451, allocations: 0.8613 MB / 0.534 GB, free: 160.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.647, allocations: 0.6446 MB / 0.5346 GB, free: 160.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6471, allocations: 4.719 kB / 0.5346 GB, free: 160.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009935/0.6481, allocations: 0.541 MB / 0.5351 GB, free: 159.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.6488, allocations: 98.86 kB / 0.5352 GB, free: 159.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.6507, allocations: 0.9893 MB / 0.5362 GB, free: 159.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.651, allocations: 0.7901 MB / 0.537 GB, free: 158.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007684/0.6517, allocations: 190.4 kB / 0.5371 GB, free: 158.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.6521, allocations: 64.75 kB / 0.5372 GB, free: 158.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6521, allocations: 0 / 0.5372 GB, free: 158.8 MB / 446.1 MB Notification: Performance of Templates: time 0.02261/0.6747, allocations: 16.27 MB / 0.5531 GB, free: 152.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 -s cvode -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