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.001405/0.001404, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.00156/0.00156, allocations: 191 kB / 19.29 MB, free: 3.715 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.29 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.001164/0.001164, allocations: 48.39 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.07837, allocations: 46.63 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2829/0.3613, allocations: 154.3 MB / 483 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.3647, allocations: 3.037 MB / 486 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.3648, allocations: 0 / 486 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.3653, allocations: 111.4 kB / 486.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.3676, allocations: 1.176 MB / 487.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.3685, allocations: 381.8 kB / 487.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.369, allocations: 458.8 kB / 488.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.369, allocations: 13.56 kB / 488.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.3694, allocations: 234.9 kB / 488.4 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3696, allocations: 139.5 kB / 488.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.3696, allocations: 16 kB / 488.5 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.3728, allocations: 2.06 MB / 490.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3729, allocations: 139.7 kB / 490.7 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.3731, allocations: 167.4 kB / 490.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.3752, allocations: 1.536 MB / 492.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3752, allocations: 3.938 kB / 492.4 MB, free: 2.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3752, allocations: 4 kB / 492.4 MB, free: 2.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3752, 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.001922/0.3771, allocations: 0.7651 MB / 493.2 MB, free: 2.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3772, allocations: 12.02 kB / 493.2 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.3779, allocations: 104.6 kB / 493.3 MB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.3783, allocations: 283.9 kB / 493.6 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3784, allocations: 24.5 kB / 493.6 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.3784, allocations: 24 kB / 493.6 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3795, allocations: 0.5965 MB / 494.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3795, allocations: 3.984 kB / 494.2 MB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.3796, allocations: 12 kB / 494.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.3796, allocations: 20.42 kB / 494.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.3808, 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.002789/0.3836, allocations: 1.295 MB / 496.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.3845, allocations: 356.2 kB / 496.5 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.385, allocations: 174 kB / 496.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.3872, allocations: 1.391 MB / 498.1 MB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3873, allocations: 38.56 kB / 498.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.3873, 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.01427/0.4016, allocations: 3.465 MB / 0.4898 GB, free: 9.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.4016, allocations: 89.05 kB / 0.4899 GB, free: 9.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4018, allocations: 174.6 kB / 0.4901 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.4018, allocations: 33.7 kB / 0.4901 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.4019, allocations: 184 kB / 0.4903 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.4021, allocations: 173.6 kB / 0.4905 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.4023, allocations: 114.2 kB / 0.4906 GB, free: 8.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4024, allocations: 338.8 kB / 0.4909 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007117/0.4031, allocations: 273.1 kB / 0.4912 GB, free: 7.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/0.404, allocations: 417.5 kB / 0.4916 GB, free: 7.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.4055, allocations: 0.6953 MB / 0.4922 GB, free: 6.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4055, allocations: 0 / 0.4922 GB, free: 6.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001901/0.4074, allocations: 0.7921 MB / 0.493 GB, free: 5.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4074, allocations: 8.062 kB / 0.493 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4075, allocations: 8 kB / 0.493 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.4077, allocations: 49.69 kB / 0.4931 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.4088, allocations: 179.7 kB / 0.4932 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006194/0.4094, allocations: 1.077 MB / 0.4943 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.4102, allocations: 48.08 kB / 0.4943 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.4103, allocations: 43.92 kB / 0.4944 GB, free: 4.211 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.0002102/0.4105, allocations: 173.6 kB / 0.4946 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4106, allocations: 35.64 kB / 0.4946 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.4127, allocations: 0.7782 MB / 0.4953 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.4127, allocations: 11.94 kB / 0.4954 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4127, allocations: 0 / 0.4954 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4127, allocations: 7.984 kB / 0.4954 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.4159, allocations: 1.555 MB / 0.4969 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4159, allocations: 4 kB / 0.4969 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.417, allocations: 149.2 kB / 0.497 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.4171, allocations: 41.7 kB / 0.4971 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.4172, allocations: 27.91 kB / 0.4971 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.4188, allocations: 2.738 MB / 0.4998 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4188, allocations: 4.031 kB / 0.4998 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.4212, allocations: 1.073 MB / 0.5008 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.4213, allocations: 100.7 kB / 0.5009 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.252e-05/0.4214, allocations: 20.03 kB / 0.5009 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/0.4222, allocations: 43.95 kB / 0.501 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.4222, allocations: 39.89 kB / 0.501 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.4223, allocations: 31.97 kB / 0.5011 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.522e-05/0.4224, allocations: 120.4 kB / 0.5012 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4224, allocations: 7.938 kB / 0.5012 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4236, allocations: 387.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.002127/0.4257, allocations: 0.8498 MB / 0.5024 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.4275, allocations: 0.6596 MB / 0.503 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4275, allocations: 0 / 0.503 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4285, allocations: 0.5304 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.0007019/0.4292, allocations: 100.2 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.001899/0.4311, allocations: 0.9952 MB / 0.5046 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4315, allocations: 0.7774 MB / 0.5054 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007982/0.4323, allocations: 195.1 kB / 0.5055 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.4326, allocations: 63.38 kB / 0.5056 GB, free: 8.152 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4326, allocations: 4 kB / 0.5056 GB, free: 8.148 MB / 414.1 MB Notification: Performance of Templates: time 0.02205/0.4547, allocations: 16.1 MB / 0.5213 GB, free: 8.004 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 cvode -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