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.001275/0.001275, allocations: 110.2 kB / 18.25 MB, free: 4.777 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.001257/0.001257, allocations: 187.3 kB / 19.18 MB, free: 3.859 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.379/1.379, allocations: 205.1 MB / 225 MB, free: 12.3 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.001193/0.001193, allocations: 55.92 kB / 281.3 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.09008, allocations: 46.62 MB / 327.9 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3504/0.4405, allocations: 154.3 MB / 482.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.4444, allocations: 3.036 MB / 485.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.4447, allocations: 0 / 485.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.4453, allocations: 111.4 kB / 485.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.4485, allocations: 1.176 MB / 486.5 MB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.4496, allocations: 383.5 kB / 486.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000682/0.4503, allocations: 462.6 kB / 487.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.4504, allocations: 9.562 kB / 487.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.4509, allocations: 223.1 kB / 487.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.4512, allocations: 151.5 kB / 487.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.4512, allocations: 16 kB / 487.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.4553, allocations: 2.131 MB / 489.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.4555, allocations: 131.7 kB / 490 MB, free: 5.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.4557, allocations: 175.3 kB / 490.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.4585, allocations: 1.563 MB / 491.7 MB, free: 3.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4585, allocations: 4 kB / 491.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4585, allocations: 0 / 491.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4585, allocations: 4 kB / 491.7 MB, free: 3.324 MB / 382.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.002348/0.4609, allocations: 0.7612 MB / 492.5 MB, free: 2.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4609, allocations: 8.031 kB / 492.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.4636, allocations: 268.8 kB / 492.8 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.464, allocations: 296.4 kB / 493.1 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.4641, allocations: 20.5 kB / 493.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.4642, allocations: 28 kB / 493.1 MB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4655, allocations: 0.6628 MB / 493.8 MB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.4656, allocations: 4 kB / 493.8 MB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.4657, allocations: 12 kB / 493.8 MB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.4657, allocations: 28.36 kB / 493.8 MB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.4674, allocations: 0.7511 MB / 494.6 MB, free: 408 kB / 382.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.004062/0.4715, allocations: 1.829 MB / 496.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4729, allocations: 476.8 kB / 496.9 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/0.4735, allocations: 236.1 kB / 497.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/0.476, allocations: 1.383 MB / 498.5 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4761, allocations: 42.56 kB / 498.5 MB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.4761, allocations: 0 / 498.5 MB, free: 12.1 MB / 398.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.01486/0.491, allocations: 3.709 MB / 0.4905 GB, free: 8.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.491, allocations: 89.11 kB / 0.4905 GB, free: 8.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4912, allocations: 178.5 kB / 0.4907 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.4913, allocations: 33.7 kB / 0.4907 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4914, allocations: 180.1 kB / 0.4909 GB, free: 7.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.4915, allocations: 177.5 kB / 0.4911 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.4918, allocations: 110.3 kB / 0.4912 GB, free: 7.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4919, allocations: 338.8 kB / 0.4915 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007883/0.4927, allocations: 269.1 kB / 0.4918 GB, free: 6.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/0.4936, allocations: 429.5 kB / 0.4922 GB, free: 6.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.4953, allocations: 0.7069 MB / 0.4929 GB, free: 5.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4953, allocations: 0 / 0.4929 GB, free: 5.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002103/0.4974, allocations: 0.78 MB / 0.4936 GB, free: 4.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4974, allocations: 4 kB / 0.4936 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4975, allocations: 11.98 kB / 0.4936 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.4977, allocations: 58.28 kB / 0.4937 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4989, allocations: 179.7 kB / 0.4939 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006457/0.4996, allocations: 1.077 MB / 0.4949 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/0.5004, allocations: 39.95 kB / 0.495 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.5005, allocations: 39.92 kB / 0.495 GB, free: 3.277 MB / 398.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.0002531/0.5008, allocations: 181.7 kB / 0.4952 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.5009, allocations: 27.72 kB / 0.4952 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.5033, allocations: 0.7816 MB / 0.496 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.5033, allocations: 7.938 kB / 0.496 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5034, allocations: 4 kB / 0.496 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5034, allocations: 0 / 0.496 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.5068, allocations: 1.558 MB / 0.4975 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5069, allocations: 4 kB / 0.4975 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.508, allocations: 143.8 kB / 0.4976 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.5082, allocations: 45.84 kB / 0.4977 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/0.5083, allocations: 31.91 kB / 0.4977 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5103, allocations: 2.726 MB / 0.5004 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5103, allocations: 7.969 kB / 0.5004 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.5131, allocations: 1.072 MB / 0.5014 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.5132, allocations: 96.83 kB / 0.5015 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.5133, allocations: 20 kB / 0.5015 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008972/0.5142, allocations: 36 kB / 0.5016 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.5143, allocations: 51.81 kB / 0.5016 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.5144, allocations: 31.97 kB / 0.5017 GB, free: 12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.947e-05/0.5145, allocations: 124.4 kB / 0.5018 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5145, allocations: 0 / 0.5018 GB, free: 11.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001501/0.516, allocations: 395.8 kB / 0.5022 GB, free: 11.5 MB / 414.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.002907/0.5189, allocations: 0.8654 MB / 0.503 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.5211, allocations: 0.6753 MB / 0.5037 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.5212, allocations: 0 / 0.5037 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.5224, allocations: 0.5378 MB / 0.5042 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.5233, allocations: 100.3 kB / 0.5043 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.5256, allocations: 1.022 MB / 0.5053 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.5259, allocations: 0.7775 MB / 0.506 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.5264, allocations: 79.36 kB / 0.5061 GB, free: 7.324 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5264, allocations: 0 / 0.5061 GB, free: 7.324 MB / 414.1 MB Notification: Performance of Templates: time 0.02309/0.5495, allocations: 14.63 MB / 0.5204 GB, free: 8.664 MB / 430.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