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: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_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.001242/0.001242, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001255/0.001255, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.32/1.32, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00161/0.001611, allocations: 48.34 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08405/0.08567, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3178/0.4035, allocations: 154.3 MB / 0.5165 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.4071, allocations: 3.048 MB / 0.5195 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.4072, allocations: 0 / 0.5195 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.4076, allocations: 111.4 kB / 0.5196 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.41, allocations: 1.171 MB / 0.5207 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/0.411, allocations: 384 kB / 0.5211 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.4116, allocations: 454.8 kB / 0.5215 GB, free: 80 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.4117, allocations: 13.56 kB / 0.5215 GB, free: 68 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.4121, allocations: 234.6 kB / 0.5218 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.4123, allocations: 139.5 kB / 0.5219 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.4124, allocations: 16 kB / 0.5219 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.4163, allocations: 2.071 MB / 0.5239 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.4165, allocations: 131.7 kB / 0.5241 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.4167, allocations: 159.4 kB / 0.5242 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.419, allocations: 1.543 MB / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.419, allocations: 0 / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.419, allocations: 0 / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4191, allocations: 3.938 kB / 0.5257 GB, free: 11.78 MB / 462.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.002143/0.4212, allocations: 0.7789 MB / 0.5265 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4213, allocations: 8.031 kB / 0.5265 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.03e-05/0.4213, allocations: 70.72 kB / 0.5266 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006816/0.422, allocations: 108.7 kB / 0.5267 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.4224, allocations: 287.5 kB / 0.5269 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.4225, allocations: 16.56 kB / 0.527 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.4225, allocations: 31.98 kB / 0.527 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4237, allocations: 0.5848 MB / 0.5276 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4237, allocations: 8 kB / 0.5276 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.4238, allocations: 15.98 kB / 0.5276 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.4238, allocations: 16.44 kB / 0.5276 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.4251, allocations: 0.638 MB / 0.5282 GB, free: 9.113 MB / 462.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.002873/0.428, allocations: 1.291 MB / 0.5295 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.429, allocations: 358.2 kB / 0.5298 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.4295, allocations: 173.6 kB / 0.53 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/0.432, allocations: 1.384 MB / 0.5313 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4321, allocations: 35.38 kB / 0.5314 GB, free: 5.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.4321, allocations: 0 / 0.5314 GB, free: 5.574 MB / 462.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.01482/0.4469, allocations: 3.492 MB / 0.5348 GB, free: 1.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.447, allocations: 89.05 kB / 0.5349 GB, free: 1.777 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.4472, allocations: 186.5 kB / 0.535 GB, free: 1.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.4472, allocations: 33.7 kB / 0.5351 GB, free: 1.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4473, allocations: 176.6 kB / 0.5352 GB, free: 1.367 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.4475, allocations: 186.4 kB / 0.5354 GB, free: 1.184 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.4477, allocations: 110.3 kB / 0.5355 GB, free: 1.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4479, allocations: 338.8 kB / 0.5359 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008001/0.4487, allocations: 269.1 kB / 0.5361 GB, free: 480 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009038/0.4496, allocations: 425.5 kB / 0.5365 GB, free: 15.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.4513, allocations: 0.7027 MB / 0.5372 GB, free: 15.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4514, allocations: 4 kB / 0.5372 GB, free: 15.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002062/0.4534, allocations: 0.7881 MB / 0.538 GB, free: 14.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4535, allocations: 8.625 kB / 0.538 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4535, allocations: 4 kB / 0.538 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.4537, allocations: 49.69 kB / 0.538 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4548, allocations: 184.1 kB / 0.5382 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007729/0.4556, allocations: 1.081 MB / 0.5393 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.4563, allocations: 44.16 kB / 0.5393 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.4564, allocations: 39.97 kB / 0.5393 GB, free: 12.95 MB / 478.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.00022/0.4566, allocations: 173.6 kB / 0.5395 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4568, allocations: 35.73 kB / 0.5395 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.459, allocations: 0.7857 MB / 0.5403 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.459, allocations: 8 kB / 0.5403 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.459, allocations: 0 / 0.5403 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.459, allocations: 0 / 0.5403 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.4623, allocations: 1.559 MB / 0.5418 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4624, allocations: 4 kB / 0.5418 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.4634, allocations: 144 kB / 0.542 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/0.4636, allocations: 49.58 kB / 0.542 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.4637, allocations: 27.97 kB / 0.5421 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.4656, allocations: 2.723 MB / 0.5447 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4657, allocations: 4.031 kB / 0.5447 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.4684, allocations: 1.08 MB / 0.5458 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.4685, allocations: 104.9 kB / 0.5459 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.4685, allocations: 12.88 kB / 0.5459 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.4693, allocations: 40 kB / 0.5459 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.4694, allocations: 43.89 kB / 0.546 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.4695, allocations: 35.95 kB / 0.546 GB, free: 5.676 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.487e-05/0.4696, allocations: 124.4 kB / 0.5461 GB, free: 5.555 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4696, allocations: 0 / 0.5461 GB, free: 5.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001212/0.4708, allocations: 395.2 kB / 0.5465 GB, free: 5.168 MB / 478.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.005099/0.4759, allocations: 2.377 MB / 0.5488 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4779, allocations: 0.6519 MB / 0.5495 GB, free: 2.086 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4779, allocations: 0 / 0.5495 GB, free: 2.086 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.479, allocations: 0.5332 MB / 0.55 GB, free: 1.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.4797, allocations: 91.84 kB / 0.5501 GB, free: 1.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1543/0.6341, allocations: 4.236 MB / 0.5542 GB, free: 165.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.6343, allocations: 0.7852 MB / 0.555 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008308/0.6352, allocations: 184.5 kB / 0.5551 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.6355, allocations: 131.3 kB / 0.5553 GB, free: 164.6 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6355, allocations: 0 / 0.5553 GB, free: 164.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.6819, allocations: 19.66 MB / 0.5745 GB, free: 158.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.38, allocations: 11.25 kB / 0.5745 GB, free: 158.2 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > 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