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.001196/0.001196, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 210.4 kB / 18.58 MB, free: 4.535 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.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 60.05 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07989, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.296/0.3759, allocations: 155.4 MB / 0.501 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.3805, allocations: 4.04 MB / 0.5049 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3807, allocations: 4 kB / 0.5049 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.3812, allocations: 111.4 kB / 0.505 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.3839, allocations: 1.177 MB / 0.5062 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.3849, allocations: 390.6 kB / 0.5065 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.3855, allocations: 454.8 kB / 0.507 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.3856, allocations: 13.55 kB / 0.507 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.3861, allocations: 247 kB / 0.5072 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3863, allocations: 143.5 kB / 0.5074 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.3863, allocations: 16 kB / 0.5074 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.3905, allocations: 2.135 MB / 0.5095 GB, free: 7.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.3907, allocations: 131.7 kB / 0.5096 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.391, allocations: 167.4 kB / 0.5097 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.3939, allocations: 1.567 MB / 0.5113 GB, free: 5.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3939, allocations: 0 / 0.5113 GB, free: 5.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3939, allocations: 7.938 kB / 0.5113 GB, free: 5.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.3939, allocations: 0 / 0.5113 GB, free: 5.27 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.002446/0.3964, allocations: 0.7691 MB / 0.512 GB, free: 4.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3964, allocations: 12.03 kB / 0.512 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.588e-05/0.3965, allocations: 66.72 kB / 0.5121 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.3992, allocations: 268.2 kB / 0.5124 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.3996, allocations: 291.3 kB / 0.5126 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.3997, allocations: 20.55 kB / 0.5127 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.3998, allocations: 24 kB / 0.5127 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.4012, allocations: 0.6705 MB / 0.5133 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4012, allocations: 0 / 0.5133 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4013, allocations: 16 kB / 0.5134 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.4014, allocations: 20.42 kB / 0.5134 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4031, allocations: 0.7628 MB / 0.5141 GB, free: 2.246 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.004018/0.4071, allocations: 1.822 MB / 0.5159 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.4085, allocations: 473.7 kB / 0.5163 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.4092, allocations: 235.7 kB / 0.5166 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/0.4117, allocations: 1.368 MB / 0.5179 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.4118, allocations: 46.69 kB / 0.518 GB, free: 13.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.4118, allocations: 4 kB / 0.518 GB, free: 13.97 MB / 446.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.01483/0.4266, allocations: 3.718 MB / 0.5216 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4267, allocations: 85.11 kB / 0.5217 GB, free: 9.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4268, allocations: 180.8 kB / 0.5218 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/0.4269, allocations: 37.7 kB / 0.5219 GB, free: 9.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.427, allocations: 176.1 kB / 0.522 GB, free: 9.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.4272, allocations: 173.5 kB / 0.5222 GB, free: 9.371 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.4274, allocations: 118.2 kB / 0.5223 GB, free: 9.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4275, allocations: 338.8 kB / 0.5226 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/0.4283, allocations: 265.1 kB / 0.5229 GB, free: 8.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008823/0.4292, allocations: 425.5 kB / 0.5233 GB, free: 8.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.431, allocations: 0.6952 MB / 0.524 GB, free: 7.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.431, allocations: 4 kB / 0.524 GB, free: 7.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002096/0.4331, allocations: 0.7806 MB / 0.5247 GB, free: 6.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4331, allocations: 8 kB / 0.5248 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4332, allocations: 4 kB / 0.5248 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.4334, allocations: 62.19 kB / 0.5248 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4346, allocations: 183.7 kB / 0.525 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006645/0.4353, allocations: 1.081 MB / 0.5261 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.4361, allocations: 43.95 kB / 0.5261 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.4362, allocations: 39.92 kB / 0.5261 GB, free: 5.141 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.0002356/0.4365, allocations: 177.7 kB / 0.5263 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.4366, allocations: 23.72 kB / 0.5263 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.4389, allocations: 0.7978 MB / 0.5271 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.4389, allocations: 4 kB / 0.5271 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4389, allocations: 0 / 0.5271 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4389, allocations: 7.984 kB / 0.5271 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.4423, allocations: 1.558 MB / 0.5286 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4423, allocations: 0 / 0.5286 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4435, allocations: 147.8 kB / 0.5288 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.4436, allocations: 53.84 kB / 0.5288 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.4437, allocations: 15.98 kB / 0.5288 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1369/0.5806, allocations: 2.722 MB / 0.5315 GB, free: 159.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5806, allocations: 7.594 kB / 0.5315 GB, free: 159.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.5833, allocations: 1.078 MB / 0.5326 GB, free: 159.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.5834, allocations: 97.81 kB / 0.5327 GB, free: 159.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.5835, allocations: 12.78 kB / 0.5327 GB, free: 159.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/0.5844, allocations: 41.09 kB / 0.5327 GB, free: 159.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.5844, allocations: 46.34 kB / 0.5327 GB, free: 159.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.5845, allocations: 33.81 kB / 0.5328 GB, free: 159.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.5846, allocations: 130.5 kB / 0.5329 GB, free: 159.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5846, allocations: 1.312 kB / 0.5329 GB, free: 159.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001304/0.5859, allocations: 391.2 kB / 0.5333 GB, free: 159.3 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.005376/0.5913, allocations: 2.369 MB / 0.5356 GB, free: 158.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.5933, allocations: 0.6903 MB / 0.5363 GB, free: 158.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5933, allocations: 4.844 kB / 0.5363 GB, free: 158.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5944, allocations: 0.5309 MB / 0.5368 GB, free: 158 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.5951, allocations: 106 kB / 0.5369 GB, free: 158 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/0.6023, allocations: 4.209 MB / 0.541 GB, free: 155.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.6026, allocations: 0.7932 MB / 0.5418 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.6038, allocations: 189.1 kB / 0.542 GB, free: 154.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.6042, allocations: 124.6 kB / 0.5421 GB, free: 154.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6042, allocations: 0 / 0.5421 GB, free: 154.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.484/3.088, allocations: 19.52 MB / 0.5611 GB, free: 144 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/17.2, allocations: 8.047 kB / 0.5611 GB, free: 144 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