Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 104.2 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 57.88 kB / 306.3 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.08416, allocations: 50.53 MB / 356.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2774/0.3616, allocations: 153.2 MB / 0.4981 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.3658, allocations: 4.144 MB / 0.5022 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3659, allocations: 3.938 kB / 0.5022 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.3664, allocations: 95.56 kB / 0.5022 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3685, allocations: 1.1 MB / 0.5033 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.3693, allocations: 350.6 kB / 0.5037 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006079/0.3699, allocations: 0.6197 MB / 0.5043 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.37, allocations: 17.5 kB / 0.5043 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.3704, allocations: 223.1 kB / 0.5045 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.3706, allocations: 167.4 kB / 0.5046 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.3707, allocations: 12 kB / 0.5047 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.3742, allocations: 2.49 MB / 0.5071 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.3744, allocations: 135.6 kB / 0.5072 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3746, allocations: 155.4 kB / 0.5074 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.3769, allocations: 1.789 MB / 0.5091 GB, free: 7.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3769, allocations: 0 / 0.5091 GB, free: 7.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3769, allocations: 0 / 0.5091 GB, free: 7.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3769, allocations: 0 / 0.5091 GB, free: 7.309 MB / 430.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.002113/0.3791, allocations: 0.7692 MB / 0.5099 GB, free: 6.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3791, allocations: 12.03 kB / 0.5099 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.606e-05/0.3792, allocations: 70.7 kB / 0.5099 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.3815, allocations: 268.2 kB / 0.5102 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3819, allocations: 279.4 kB / 0.5105 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3819, allocations: 20.56 kB / 0.5105 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.382, allocations: 28 kB / 0.5105 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3833, allocations: 0.6783 MB / 0.5112 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3833, allocations: 0 / 0.5112 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.3834, allocations: 16 kB / 0.5112 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3834, allocations: 20.42 kB / 0.5112 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.385, allocations: 0.7551 MB / 0.5119 GB, free: 4.293 MB / 430.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.003664/0.3887, allocations: 1.826 MB / 0.5137 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3899, allocations: 472.9 kB / 0.5142 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.3905, allocations: 233.5 kB / 0.5144 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002133/0.3926, allocations: 1.376 MB / 0.5157 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3927, allocations: 38.69 kB / 0.5158 GB, free: 16 kB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.3927, allocations: 0 / 0.5158 GB, free: 16 kB / 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.01354/0.4062, allocations: 3.713 MB / 0.5194 GB, free: 12.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.4063, allocations: 89.05 kB / 0.5195 GB, free: 12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4064, allocations: 179.9 kB / 0.5197 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.4065, allocations: 37.7 kB / 0.5197 GB, free: 11.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.4066, allocations: 184 kB / 0.5199 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.4067, allocations: 173.5 kB / 0.52 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.4069, allocations: 118.2 kB / 0.5202 GB, free: 11.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.4071, allocations: 338.8 kB / 0.5205 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.4078, allocations: 265.1 kB / 0.5207 GB, free: 10.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.4086, allocations: 421.5 kB / 0.5211 GB, free: 10.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.4101, allocations: 0.7036 MB / 0.5218 GB, free: 9.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4101, allocations: 4 kB / 0.5218 GB, free: 9.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001839/0.412, allocations: 0.7846 MB / 0.5226 GB, free: 8.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.412, allocations: 8 kB / 0.5226 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.412, allocations: 4 kB / 0.5226 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.4122, allocations: 49.69 kB / 0.5227 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4133, allocations: 184.1 kB / 0.5228 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005676/0.4139, allocations: 1.078 MB / 0.5239 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/0.4146, allocations: 43.88 kB / 0.5239 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.4147, allocations: 51.84 kB / 0.524 GB, free: 7.191 MB / 446.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.0002081/0.415, allocations: 174.2 kB / 0.5241 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4151, allocations: 31.72 kB / 0.5242 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.4172, allocations: 0.7891 MB / 0.5249 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4172, allocations: 8 kB / 0.5249 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4172, allocations: 4 kB / 0.525 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4172, allocations: 3.984 kB / 0.525 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.4202, allocations: 1.55 MB / 0.5265 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4203, allocations: 4 kB / 0.5265 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.4214, allocations: 139.8 kB / 0.5266 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.4215, allocations: 53.84 kB / 0.5267 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.4216, allocations: 19.97 kB / 0.5267 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.423, allocations: 2.536 MB / 0.5292 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.423, allocations: 4.281 kB / 0.5292 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.4254, allocations: 1.079 MB / 0.5302 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.4255, allocations: 100.8 kB / 0.5303 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.4256, allocations: 11.94 kB / 0.5303 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.4264, allocations: 40 kB / 0.5304 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.4264, allocations: 43.89 kB / 0.5304 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.4265, allocations: 43.95 kB / 0.5304 GB, free: 120 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1343/0.5609, allocations: 122.3 kB / 0.5306 GB, free: 160.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5609, allocations: 0 / 0.5306 GB, free: 160.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001589/0.5625, allocations: 410.6 kB / 0.5309 GB, free: 160.6 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.005112/0.5676, allocations: 2.384 MB / 0.5333 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.5694, allocations: 0.6553 MB / 0.5339 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5694, allocations: 0.6875 kB / 0.5339 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.5704, allocations: 0.5342 MB / 0.5344 GB, free: 159.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.5711, allocations: 102.2 kB / 0.5345 GB, free: 159.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/0.5778, allocations: 4.325 MB / 0.5388 GB, free: 156.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.578, allocations: 0.7859 MB / 0.5395 GB, free: 156.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.5791, allocations: 186.1 kB / 0.5397 GB, free: 156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.5795, allocations: 130.3 kB / 0.5398 GB, free: 155.9 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5795, allocations: 0 / 0.5398 GB, free: 155.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.6093, allocations: 19.09 MB / 0.5585 GB, free: 146.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.6094, allocations: 224 kB / 0.5587 GB, free: 146.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.915, allocations: 0 / 0.5587 GB, free: 146.6 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches