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.001042/0.001042, allocations: 105.6 kB / 17.73 MB, free: 5.367 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.001059/0.001059, allocations: 188.1 kB / 18.66 MB, free: 4.445 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.242/1.242, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001223/0.001223, allocations: 52.39 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.0815, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3179/0.3995, allocations: 154.3 MB / 0.5165 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.4032, allocations: 3.043 MB / 0.5195 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.4034, allocations: 8 kB / 0.5195 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.404, allocations: 107.4 kB / 0.5196 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.4068, allocations: 1.177 MB / 0.5207 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.4079, allocations: 384.8 kB / 0.5211 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000642/0.4086, allocations: 458.8 kB / 0.5215 GB, free: 76 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.4087, allocations: 13.56 kB / 0.5216 GB, free: 64 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.4092, allocations: 227.2 kB / 0.5218 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.4094, allocations: 139.5 kB / 0.5219 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.4095, allocations: 16 kB / 0.5219 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.4135, allocations: 2.072 MB / 0.5239 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.4137, allocations: 135.7 kB / 0.5241 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.4139, allocations: 159.4 kB / 0.5242 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.4166, allocations: 1.539 MB / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4166, allocations: 0 / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4166, allocations: 0 / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.4166, allocations: 0 / 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.002387/0.419, allocations: 0.769 MB / 0.5265 GB, free: 10.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4191, allocations: 12.03 kB / 0.5265 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/0.4192, allocations: 70.72 kB / 0.5266 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/0.4199, allocations: 104.6 kB / 0.5267 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.4204, allocations: 287.4 kB / 0.5269 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4204, allocations: 16.56 kB / 0.5269 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.4205, allocations: 24 kB / 0.527 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.4216, allocations: 0.5964 MB / 0.5276 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4216, allocations: 0 / 0.5276 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.4217, allocations: 12 kB / 0.5276 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.4217, allocations: 24.42 kB / 0.5276 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.423, allocations: 0.6418 MB / 0.5282 GB, free: 9.121 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.002892/0.4259, allocations: 1.29 MB / 0.5295 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.4268, allocations: 352.9 kB / 0.5298 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.4272, allocations: 170.8 kB / 0.53 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/0.4296, allocations: 1.387 MB / 0.5313 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.4297, allocations: 39.62 kB / 0.5314 GB, free: 5.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.366e-06/0.4297, allocations: 4 kB / 0.5314 GB, free: 5.578 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.01478/0.4445, allocations: 3.469 MB / 0.5348 GB, free: 1.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4446, allocations: 85.11 kB / 0.5348 GB, free: 1.809 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.4447, allocations: 182.5 kB / 0.535 GB, free: 1.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.4448, allocations: 33.7 kB / 0.535 GB, free: 1.582 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4449, allocations: 180.1 kB / 0.5352 GB, free: 1.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.4451, allocations: 177.5 kB / 0.5354 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.4453, allocations: 118.2 kB / 0.5355 GB, free: 1.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4454, allocations: 338.8 kB / 0.5358 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.4462, allocations: 265.1 kB / 0.5361 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008252/0.447, allocations: 429.5 kB / 0.5365 GB, free: 16 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.4485, allocations: 0.6922 MB / 0.5372 GB, free: 15.26 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4485, allocations: 7.938 kB / 0.5372 GB, free: 15.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001905/0.4505, allocations: 0.7723 MB / 0.5379 GB, free: 14.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4505, allocations: 8.625 kB / 0.5379 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4505, allocations: 11.92 kB / 0.5379 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.4508, allocations: 58.22 kB / 0.538 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4519, allocations: 179.7 kB / 0.5382 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006666/0.4526, allocations: 1.085 MB / 0.5392 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/0.4534, allocations: 40.58 kB / 0.5393 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.4535, allocations: 35.98 kB / 0.5393 GB, free: 13 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.0002778/0.4537, allocations: 181.6 kB / 0.5395 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4539, allocations: 35.75 kB / 0.5395 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.456, allocations: 0.7778 MB / 0.5403 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.456, allocations: 4 kB / 0.5403 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.456, allocations: 4 kB / 0.5403 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.456, allocations: 8.422 kB / 0.5403 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.4592, allocations: 1.551 MB / 0.5418 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4593, allocations: 8.219 kB / 0.5418 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.4604, allocations: 144.5 kB / 0.5419 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.4605, allocations: 45.62 kB / 0.542 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.4606, allocations: 23.97 kB / 0.542 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.4624, allocations: 2.738 MB / 0.5447 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4624, allocations: 3.938 kB / 0.5447 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.4649, allocations: 1.069 MB / 0.5457 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.465, allocations: 100.9 kB / 0.5458 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.4651, allocations: 16 kB / 0.5458 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008079/0.4659, allocations: 31.95 kB / 0.5459 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.466, allocations: 47.89 kB / 0.5459 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.4661, allocations: 35.97 kB / 0.546 GB, free: 5.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.4662, allocations: 132.3 kB / 0.5461 GB, free: 5.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4662, allocations: 0 / 0.5461 GB, free: 5.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001361/0.4675, allocations: 387.8 kB / 0.5464 GB, free: 5.215 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.005257/0.4728, allocations: 2.366 MB / 0.5488 GB, free: 2.793 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.4747, allocations: 0.6597 MB / 0.5494 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4747, allocations: 7.938 kB / 0.5494 GB, free: 2.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.4758, allocations: 0.5255 MB / 0.5499 GB, free: 1.578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.4766, allocations: 95.95 kB / 0.55 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1597/0.6364, allocations: 4.217 MB / 0.5541 GB, free: 165.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.6367, allocations: 0.7848 MB / 0.5549 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008246/0.6376, allocations: 188.1 kB / 0.5551 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.6379, allocations: 126.5 kB / 0.5552 GB, free: 164.6 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6379, allocations: 0 / 0.5552 GB, free: 164.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.6872, allocations: 19.81 MB / 0.5745 GB, free: 158 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.1, allocations: 19.17 kB / 0.5746 GB, free: 158 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