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.001122/0.001122, allocations: 106.3 kB / 16.62 MB, free: 6.812 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.001198/0.001198, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.297/1.297, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 48.23 kB / 300.2 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09216, allocations: 49.45 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3085/0.4007, allocations: 150.4 MB / 0.4883 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.4051, allocations: 4.036 MB / 0.4923 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.4053, allocations: 4 kB / 0.4923 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.4057, allocations: 91.58 kB / 0.4924 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.4083, allocations: 1.103 MB / 0.4935 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009264/0.4092, allocations: 356.1 kB / 0.4938 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.4098, allocations: 470.8 kB / 0.4942 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.4099, allocations: 17.55 kB / 0.4943 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.4103, allocations: 219.2 kB / 0.4945 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.4106, allocations: 163.5 kB / 0.4946 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.4107, allocations: 12 kB / 0.4946 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.4143, allocations: 2.354 MB / 0.4969 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.4145, allocations: 139.6 kB / 0.4971 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.4147, allocations: 167.4 kB / 0.4972 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.4172, allocations: 1.695 MB / 0.4989 GB, free: 3.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4173, allocations: 7.938 kB / 0.4989 GB, free: 3.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4173, allocations: 0 / 0.4989 GB, free: 3.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.4173, allocations: 0 / 0.4989 GB, free: 3.957 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.002291/0.4196, allocations: 0.7653 MB / 0.4996 GB, free: 3.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4197, allocations: 15.97 kB / 0.4997 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.4198, allocations: 66.72 kB / 0.4997 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.4223, allocations: 268.8 kB / 0.5 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.4227, allocations: 291.2 kB / 0.5003 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.4227, allocations: 24.56 kB / 0.5003 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.4228, allocations: 24 kB / 0.5003 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4242, allocations: 0.6667 MB / 0.501 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.4242, allocations: 0 / 0.501 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.4243, allocations: 16.88 kB / 0.501 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.4243, allocations: 20.42 kB / 0.501 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.426, allocations: 0.7589 MB / 0.5017 GB, free: 0.9492 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.004024/0.43, allocations: 1.822 MB / 0.5035 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.4313, allocations: 480.8 kB / 0.504 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.432, allocations: 232.6 kB / 0.5042 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/0.4345, allocations: 1.391 MB / 0.5055 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4345, allocations: 34.69 kB / 0.5056 GB, free: 12.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.405e-06/0.4345, allocations: 0 / 0.5056 GB, free: 12.66 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.01447/0.449, allocations: 3.71 MB / 0.5092 GB, free: 8.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.4491, allocations: 85.05 kB / 0.5093 GB, free: 8.648 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.4493, allocations: 179.2 kB / 0.5095 GB, free: 8.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.4494, allocations: 37.7 kB / 0.5095 GB, free: 8.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4495, allocations: 184 kB / 0.5097 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.4497, allocations: 173.5 kB / 0.5098 GB, free: 8.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.4499, allocations: 122.2 kB / 0.5099 GB, free: 7.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.45, allocations: 338.8 kB / 0.5103 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.4508, allocations: 265.1 kB / 0.5105 GB, free: 7.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008053/0.4516, allocations: 421.5 kB / 0.5109 GB, free: 6.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.4532, allocations: 0.695 MB / 0.5116 GB, free: 6.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4532, allocations: 4 kB / 0.5116 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001957/0.4552, allocations: 0.7811 MB / 0.5124 GB, free: 5.305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4552, allocations: 11.98 kB / 0.5124 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4552, allocations: 12.03 kB / 0.5124 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.4554, allocations: 49.69 kB / 0.5124 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4565, allocations: 179.7 kB / 0.5126 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006229/0.4572, allocations: 1.077 MB / 0.5137 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/0.458, allocations: 52.05 kB / 0.5137 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.4581, allocations: 47.91 kB / 0.5138 GB, free: 3.824 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.0002447/0.4583, allocations: 169.6 kB / 0.5139 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4584, allocations: 27.72 kB / 0.5139 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.4606, allocations: 0.7891 MB / 0.5147 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4607, allocations: 4 kB / 0.5147 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4607, allocations: 4 kB / 0.5147 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4607, allocations: 0 / 0.5147 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.4639, allocations: 1.561 MB / 0.5163 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.464, allocations: 4 kB / 0.5163 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.4651, allocations: 144 kB / 0.5164 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.4652, allocations: 53.56 kB / 0.5164 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.4653, allocations: 19.97 kB / 0.5165 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.4671, allocations: 2.73 MB / 0.5191 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4671, allocations: 8 kB / 0.5191 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.4697, allocations: 1.079 MB / 0.5202 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.4698, allocations: 96.83 kB / 0.5203 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/0.4699, allocations: 16 kB / 0.5203 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.4708, allocations: 44 kB / 0.5203 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.4709, allocations: 39.88 kB / 0.5204 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/0.4709, allocations: 35.97 kB / 0.5204 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.471, allocations: 120.4 kB / 0.5205 GB, free: 12.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4711, allocations: 0 / 0.5205 GB, free: 12.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001396/0.4725, allocations: 391.8 kB / 0.5209 GB, free: 12.05 MB / 446.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.005658/0.4781, allocations: 2.391 MB / 0.5232 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.4801, allocations: 0.687 MB / 0.5239 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4801, allocations: 0 / 0.5239 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4812, allocations: 0.5326 MB / 0.5244 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.482, allocations: 96.84 kB / 0.5245 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/0.4901, allocations: 4.338 MB / 0.5288 GB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4905, allocations: 0.7774 MB / 0.5295 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.4917, allocations: 187.1 kB / 0.5297 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.4921, allocations: 135.4 kB / 0.5298 GB, free: 2.547 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4922, allocations: 0 / 0.5298 GB, free: 2.547 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/0.6703, allocations: 19.21 MB / 0.5486 GB, free: 161.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.6705, allocations: 220.6 kB / 0.5488 GB, free: 161.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.236, allocations: 0 / 0.5488 GB, free: 161.2 MB / 446.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