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.001517/0.001517, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001313/0.001313, allocations: 191 kB / 19.29 MB, free: 3.703 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.284/1.284, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001214/0.001214, allocations: 51.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07519/0.07641, allocations: 46.62 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2861/0.3625, allocations: 154.3 MB / 483 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.3657, allocations: 3.039 MB / 486 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.3658, allocations: 0 / 486 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.3662, allocations: 107.4 kB / 486.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.3685, allocations: 1.18 MB / 487.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.3694, allocations: 387.6 kB / 487.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.3699, allocations: 450.9 kB / 488.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.3699, allocations: 17.55 kB / 488.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.3703, allocations: 222.9 kB / 488.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.3705, allocations: 143.5 kB / 488.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3705, allocations: 16 kB / 488.5 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.3737, allocations: 2.06 MB / 490.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3738, allocations: 143.7 kB / 490.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.374, allocations: 163.3 kB / 490.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.3758, allocations: 1.543 MB / 492.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3758, allocations: 0 / 492.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3758, allocations: 0 / 492.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3759, allocations: 0 / 492.4 MB, free: 2.91 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.001953/0.3778, allocations: 0.769 MB / 493.2 MB, free: 2.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3779, allocations: 8.031 kB / 493.2 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006996/0.3786, allocations: 108.5 kB / 493.3 MB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.379, allocations: 279.9 kB / 493.6 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.379, allocations: 20.5 kB / 493.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.3791, allocations: 31.98 kB / 493.6 MB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.3802, allocations: 0.5848 MB / 494.2 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3802, allocations: 7.938 kB / 494.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.3803, allocations: 15.98 kB / 494.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.3803, allocations: 20.44 kB / 494.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3816, allocations: 0.6379 MB / 494.9 MB, free: 344 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.002892/0.3845, allocations: 1.295 MB / 496.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.3854, allocations: 354.5 kB / 496.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/0.3858, allocations: 168.7 kB / 496.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002358/0.3882, allocations: 1.391 MB / 498.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3883, allocations: 38.56 kB / 498.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.377e-06/0.3883, allocations: 0 / 498.1 MB, free: 12.79 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.01448/0.4028, allocations: 3.481 MB / 0.4899 GB, free: 9.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4028, allocations: 81.11 kB / 0.4899 GB, free: 9.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.403, allocations: 174.6 kB / 0.4901 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.403, allocations: 33.7 kB / 0.4901 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.4032, allocations: 180 kB / 0.4903 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.4033, allocations: 181.6 kB / 0.4905 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.4035, allocations: 118.2 kB / 0.4906 GB, free: 8.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4036, allocations: 334.8 kB / 0.4909 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/0.4044, allocations: 265.1 kB / 0.4912 GB, free: 7.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.4052, allocations: 429.5 kB / 0.4916 GB, free: 7.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.4068, allocations: 0.6953 MB / 0.4923 GB, free: 6.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4068, allocations: 0 / 0.4923 GB, free: 6.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001936/0.4087, allocations: 0.7882 MB / 0.493 GB, free: 5.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4087, allocations: 4.062 kB / 0.493 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4088, allocations: 12 kB / 0.493 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.409, allocations: 53.69 kB / 0.4931 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4102, allocations: 183.6 kB / 0.4933 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006477/0.4108, allocations: 1.085 MB / 0.4943 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/0.4116, allocations: 44.14 kB / 0.4944 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.4117, allocations: 35.98 kB / 0.4944 GB, free: 4.203 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.000238/0.4119, allocations: 173.6 kB / 0.4946 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.412, allocations: 27.72 kB / 0.4946 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.4142, allocations: 0.7822 MB / 0.4954 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.4142, allocations: 7.938 kB / 0.4954 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.4142, allocations: 4 kB / 0.4954 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4142, allocations: 4 kB / 0.4954 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.4175, allocations: 1.562 MB / 0.4969 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4175, allocations: 4 kB / 0.4969 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.4186, allocations: 140 kB / 0.497 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.4188, allocations: 49.62 kB / 0.4971 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.4188, allocations: 31.91 kB / 0.4971 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.4206, allocations: 2.728 MB / 0.4998 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4206, allocations: 7.938 kB / 0.4998 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.4232, allocations: 1.069 MB / 0.5008 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.4233, allocations: 100.7 kB / 0.5009 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.4233, allocations: 16 kB / 0.5009 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.4242, allocations: 40 kB / 0.501 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.4242, allocations: 47.81 kB / 0.501 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.4243, allocations: 39.91 kB / 0.5011 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.232e-05/0.4244, allocations: 120.4 kB / 0.5012 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4244, allocations: 4 kB / 0.5012 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001284/0.4257, allocations: 383.8 kB / 0.5015 GB, free: 12.43 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.002387/0.4281, allocations: 0.8499 MB / 0.5024 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.43, allocations: 0.6557 MB / 0.503 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.43, allocations: 0 / 0.503 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4311, allocations: 0.5379 MB / 0.5035 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.4318, allocations: 95.84 kB / 0.5036 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4339, allocations: 0.9874 MB / 0.5046 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4342, allocations: 0.7813 MB / 0.5054 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008152/0.4351, allocations: 187.1 kB / 0.5055 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.4354, allocations: 59.39 kB / 0.5056 GB, free: 8.168 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4354, allocations: 4 kB / 0.5056 GB, free: 8.164 MB / 414.1 MB Notification: Performance of Templates: time 0.02363/0.459, allocations: 16.12 MB / 0.5213 GB, free: 8.008 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 -s gbode -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