Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 100.2 kB / 18.39 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 184.3 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08633, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3752/0.4615, allocations: 154.3 MB / 0.5176 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.4655, allocations: 3.051 MB / 0.5206 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.4657, allocations: 3.938 kB / 0.5206 GB, free: 1.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.4664, allocations: 103.4 kB / 0.5207 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.4695, allocations: 1.18 MB / 0.5219 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.4706, allocations: 383.5 kB / 0.5222 GB, free: 136 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.4714, allocations: 454.9 kB / 0.5227 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.4715, allocations: 13.55 kB / 0.5227 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.472, allocations: 230.7 kB / 0.5229 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.4724, allocations: 135.5 kB / 0.523 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.4724, allocations: 16 kB / 0.5231 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.4768, allocations: 2.068 MB / 0.5251 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.4771, allocations: 139.6 kB / 0.5252 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.4773, allocations: 163.4 kB / 0.5254 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.4801, allocations: 1.539 MB / 0.5269 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4802, allocations: 0 / 0.5269 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4802, allocations: 4 kB / 0.5269 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.4802, allocations: 0 / 0.5269 GB, free: 11.39 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.002514/0.4827, allocations: 0.7612 MB / 0.5276 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4828, allocations: 11.97 kB / 0.5276 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.4836, allocations: 116.5 kB / 0.5277 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.4841, allocations: 279.6 kB / 0.528 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.4841, allocations: 16.56 kB / 0.528 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.4842, allocations: 35.92 kB / 0.5281 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.4855, allocations: 0.5926 MB / 0.5286 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.4855, allocations: 4 kB / 0.5286 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/0.4856, allocations: 15.98 kB / 0.5287 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.4856, allocations: 20.44 kB / 0.5287 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.487, allocations: 0.6379 MB / 0.5293 GB, free: 8.805 MB / 462.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.00305/0.49, allocations: 1.278 MB / 0.5305 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.4911, allocations: 360.9 kB / 0.5309 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.4916, allocations: 170.5 kB / 0.5311 GB, free: 6.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002606/0.4942, allocations: 1.38 MB / 0.5324 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.4942, allocations: 42.56 kB / 0.5324 GB, free: 5.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/0.4943, allocations: 0 / 0.5324 GB, free: 5.273 MB / 462.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.01621/0.5105, allocations: 3.474 MB / 0.5358 GB, free: 1.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.5106, allocations: 97.05 kB / 0.5359 GB, free: 1.488 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.5108, allocations: 178.5 kB / 0.5361 GB, free: 1.305 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.5108, allocations: 33.64 kB / 0.5361 GB, free: 1.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.511, allocations: 180.1 kB / 0.5363 GB, free: 1.082 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.5112, allocations: 173.5 kB / 0.5365 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.5114, allocations: 118.2 kB / 0.5366 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5115, allocations: 334.8 kB / 0.5369 GB, free: 464 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.5123, allocations: 265.1 kB / 0.5371 GB, free: 200 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/0.5132, allocations: 429.5 kB / 0.5376 GB, free: 15.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.5149, allocations: 0.6991 MB / 0.5382 GB, free: 14.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.515, allocations: 0 / 0.5382 GB, free: 14.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002093/0.5171, allocations: 0.7839 MB / 0.539 GB, free: 14.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5171, allocations: 8.719 kB / 0.539 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5171, allocations: 9.625 kB / 0.539 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.5174, allocations: 50.25 kB / 0.5391 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.5186, allocations: 183.7 kB / 0.5392 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007453/0.5194, allocations: 1.081 MB / 0.5403 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.5202, allocations: 47.89 kB / 0.5403 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.5203, allocations: 35.98 kB / 0.5404 GB, free: 12.68 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.0002941/0.5206, allocations: 173.7 kB / 0.5405 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.5208, allocations: 39.7 kB / 0.5406 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.523, allocations: 0.7778 MB / 0.5413 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.5231, allocations: 4 kB / 0.5414 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.5231, allocations: 4 kB / 0.5414 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5231, allocations: 0 / 0.5414 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.5266, allocations: 1.562 MB / 0.5429 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5266, allocations: 8.031 kB / 0.5429 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.5278, allocations: 146.1 kB / 0.543 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.5279, allocations: 37.69 kB / 0.5431 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.528, allocations: 31.91 kB / 0.5431 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.53, allocations: 2.731 MB / 0.5458 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.53, allocations: 4 kB / 0.5458 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.5327, allocations: 1.076 MB / 0.5468 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.5328, allocations: 96.83 kB / 0.5469 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.5329, allocations: 12 kB / 0.5469 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/0.5338, allocations: 40 kB / 0.547 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.5339, allocations: 43.88 kB / 0.547 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.534, allocations: 36.84 kB / 0.547 GB, free: 5.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.5341, allocations: 124.4 kB / 0.5472 GB, free: 5.289 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5341, allocations: 0 / 0.5472 GB, free: 5.289 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001419/0.5355, allocations: 387.8 kB / 0.5475 GB, free: 4.91 MB / 478.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.002652/0.5382, allocations: 0.8575 MB / 0.5484 GB, free: 4.043 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.5403, allocations: 0.6558 MB / 0.549 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5404, allocations: 3.938 kB / 0.549 GB, free: 3.387 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.5415, allocations: 0.5332 MB / 0.5495 GB, free: 2.828 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/0.5425, allocations: 95.45 kB / 0.5496 GB, free: 2.738 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5447, allocations: 1.017 MB / 0.5506 GB, free: 1.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.5451, allocations: 0.7892 MB / 0.5514 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.5456, allocations: 79.36 kB / 0.5515 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5456, allocations: 0 / 0.5515 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of Templates: time 0.195/0.7406, allocations: 14.64 MB / 0.5657 GB, free: 162.9 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches