Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 92.84 kB / 16.65 MB, free: 6.535 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.0009055/0.0009054, allocations: 173.8 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002419/0.0002419, allocations: 8 kB / 301.5 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.079, allocations: 50.41 MB / 351.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2801/0.3591, allocations: 148.4 MB / 0.4886 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004449/0.3636, allocations: 4.075 MB / 0.4925 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3638, allocations: 0 / 0.4925 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.3642, allocations: 99.5 kB / 0.4926 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.3665, allocations: 1.091 MB / 0.4937 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.3674, allocations: 359.4 kB / 0.4941 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006722/0.3681, allocations: 0.6158 MB / 0.4947 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.3682, allocations: 13.56 kB / 0.4947 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.3686, allocations: 211.2 kB / 0.4949 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3688, allocations: 159.5 kB / 0.495 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.3689, allocations: 8 kB / 0.495 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.3726, allocations: 2.49 MB / 0.4975 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3727, allocations: 131.6 kB / 0.4976 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.373, allocations: 181.1 kB / 0.4978 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.3757, allocations: 1.781 MB / 0.4995 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3758, allocations: 0 / 0.4995 GB, free: 5.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3758, allocations: 0 / 0.4995 GB, free: 5.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3758, allocations: 4 kB / 0.4995 GB, free: 5.836 MB / 414.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.001991/0.3778, allocations: 0.6873 MB / 0.5002 GB, free: 5.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3778, allocations: 8.031 kB / 0.5002 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.758e-05/0.3779, allocations: 74.66 kB / 0.5002 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.3803, allocations: 265.3 kB / 0.5005 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3807, allocations: 299.2 kB / 0.5008 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3807, allocations: 16.56 kB / 0.5008 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.3808, allocations: 32 kB / 0.5008 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3821, allocations: 0.6667 MB / 0.5015 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3822, allocations: 0 / 0.5015 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/0.3822, allocations: 12 kB / 0.5015 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3823, allocations: 20.44 kB / 0.5015 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3839, allocations: 0.7628 MB / 0.5023 GB, free: 2.902 MB / 414.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.003746/0.3877, allocations: 1.82 MB / 0.504 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.389, allocations: 471.6 kB / 0.5045 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.3896, allocations: 233.6 kB / 0.5047 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002307/0.3919, allocations: 1.383 MB / 0.5061 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.392, allocations: 42.69 kB / 0.5061 GB, free: 14.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.392, allocations: 0 / 0.5061 GB, free: 14.62 MB / 430.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.01339/0.4054, allocations: 3.635 MB / 0.5097 GB, free: 10.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.4054, allocations: 85.11 kB / 0.5097 GB, free: 10.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4056, allocations: 184.1 kB / 0.5099 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.4057, allocations: 29.7 kB / 0.5099 GB, free: 10.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.4058, allocations: 184 kB / 0.5101 GB, free: 10.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.4059, allocations: 181.5 kB / 0.5103 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.406, allocations: 53.7 kB / 0.5103 GB, free: 10.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4061, allocations: 330.8 kB / 0.5107 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.4069, allocations: 265.1 kB / 0.5109 GB, free: 9.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.4077, allocations: 429.5 kB / 0.5113 GB, free: 8.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.4093, allocations: 0.696 MB / 0.512 GB, free: 8.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4094, allocations: 0 / 0.512 GB, free: 8.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001928/0.4113, allocations: 0.7831 MB / 0.5128 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4113, allocations: 6.969 kB / 0.5128 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4113, allocations: 8 kB / 0.5128 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.4115, allocations: 57.69 kB / 0.5128 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4127, allocations: 183.7 kB / 0.513 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/0.4133, allocations: 1.077 MB / 0.5141 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.4141, allocations: 52.05 kB / 0.5141 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.4142, allocations: 43.92 kB / 0.5141 GB, free: 5.922 MB / 430.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.0002297/0.4144, allocations: 181.6 kB / 0.5143 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4145, allocations: 23.72 kB / 0.5143 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.4167, allocations: 0.7787 MB / 0.5151 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4167, allocations: 8 kB / 0.5151 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4168, allocations: 0 / 0.5151 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4168, allocations: 0 / 0.5151 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.42, allocations: 1.566 MB / 0.5166 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.42, allocations: 0 / 0.5166 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.4211, allocations: 152 kB / 0.5168 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.4212, allocations: 49.61 kB / 0.5168 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.4213, allocations: 23.97 kB / 0.5169 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.4229, allocations: 2.533 MB / 0.5193 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4229, allocations: 0 / 0.5193 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1428/0.5657, allocations: 1.073 MB / 0.5204 GB, free: 148.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.5658, allocations: 97.69 kB / 0.5205 GB, free: 148.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.5659, allocations: 21.8 kB / 0.5205 GB, free: 148.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.5667, allocations: 41.03 kB / 0.5205 GB, free: 148.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.5668, allocations: 42.02 kB / 0.5206 GB, free: 148.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.5669, allocations: 33.84 kB / 0.5206 GB, free: 148.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.342e-05/0.5669, allocations: 124.4 kB / 0.5207 GB, free: 148.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.567, allocations: 1.969 kB / 0.5207 GB, free: 148.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001337/0.5683, allocations: 402.9 kB / 0.5211 GB, free: 148.8 MB / 430.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.005225/0.5735, allocations: 2.389 MB / 0.5234 GB, free: 148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.5753, allocations: 0.6528 MB / 0.5241 GB, free: 147.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5753, allocations: 0 / 0.5241 GB, free: 147.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009594/0.5763, allocations: 0.527 MB / 0.5246 GB, free: 147.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.5771, allocations: 103.9 kB / 0.5247 GB, free: 147.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/0.5843, allocations: 4.428 MB / 0.529 GB, free: 145.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.5845, allocations: 0.7834 MB / 0.5298 GB, free: 144.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.5855, allocations: 187.3 kB / 0.53 GB, free: 144.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.5859, allocations: 133.5 kB / 0.5301 GB, free: 144.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5859, allocations: 0 / 0.5301 GB, free: 144.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/0.7529, allocations: 18.79 MB / 0.5484 GB, free: 134.1 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.7531, allocations: 223.2 kB / 0.5486 GB, free: 133.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.091, allocations: 0 / 0.5486 GB, free: 133.9 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches