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.001303/0.001303, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.00156/0.00156, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.288/1.288, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001271/0.001271, allocations: 44.16 kB / 280.2 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08512, allocations: 46.63 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3083/0.3935, allocations: 152.1 MB / 479 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.3967, allocations: 3.043 MB / 482 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.3969, allocations: 0 / 482 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.3974, allocations: 99.52 kB / 482.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.3998, allocations: 1.111 MB / 483.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.4007, allocations: 351.9 kB / 483.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.4013, allocations: 458.7 kB / 484 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.4014, allocations: 21.55 kB / 484.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.4017, allocations: 231 kB / 484.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.4019, allocations: 159.5 kB / 484.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.402, allocations: 16 kB / 484.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.4055, allocations: 2.345 MB / 486.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4057, allocations: 143.6 kB / 486.9 MB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.4058, allocations: 167.3 kB / 487.1 MB, free: 7.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.408, allocations: 1.695 MB / 488.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.408, allocations: 0 / 488.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.408, allocations: 0 / 488.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.408, allocations: 0 / 488.8 MB, free: 5.52 MB / 382.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.002038/0.41, allocations: 0.7652 MB / 489.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4101, allocations: 12.03 kB / 489.6 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.988e-05/0.4102, allocations: 70.72 kB / 489.6 MB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.4126, allocations: 269.7 kB / 489.9 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.4131, allocations: 295.6 kB / 490.2 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4131, allocations: 16.56 kB / 490.2 MB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.4132, allocations: 32 kB / 490.2 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4145, allocations: 0.6667 MB / 490.9 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.4145, allocations: 4 kB / 490.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.4146, allocations: 12 kB / 490.9 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.4146, allocations: 24.42 kB / 490.9 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.4163, allocations: 0.7551 MB / 491.7 MB, free: 2.504 MB / 382.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.004011/0.4203, allocations: 1.833 MB / 493.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.4216, allocations: 476.9 kB / 494 MB, free: 96 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.4223, allocations: 230.3 kB / 494.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002498/0.4248, allocations: 1.391 MB / 495.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.4248, allocations: 38.56 kB / 495.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/0.4248, allocations: 0 / 495.7 MB, free: 14.2 MB / 398.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.01428/0.4391, allocations: 3.708 MB / 499.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4392, allocations: 89.05 kB / 499.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4394, allocations: 182.5 kB / 499.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.4394, allocations: 29.7 kB / 499.7 MB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4396, allocations: 180.1 kB / 499.8 MB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.4397, allocations: 177.5 kB / 0.4883 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.44, allocations: 118.3 kB / 0.4884 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4401, allocations: 338.8 kB / 0.4887 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.4408, allocations: 261.1 kB / 0.489 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.4417, allocations: 433.5 kB / 0.4894 GB, free: 8.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.4432, allocations: 0.7107 MB / 0.4901 GB, free: 7.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4433, allocations: 0 / 0.4901 GB, free: 7.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001931/0.4452, allocations: 0.78 MB / 0.4908 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4452, allocations: 7.984 kB / 0.4908 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4452, allocations: 8.625 kB / 0.4909 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.4455, allocations: 61.62 kB / 0.4909 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4466, allocations: 175.7 kB / 0.4911 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007257/0.4473, allocations: 1.074 MB / 0.4921 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.4481, allocations: 44.14 kB / 0.4922 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.4482, allocations: 43.97 kB / 0.4922 GB, free: 5.375 MB / 398.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.0002592/0.4485, allocations: 181.5 kB / 0.4924 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4486, allocations: 27.72 kB / 0.4924 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.4509, allocations: 0.7822 MB / 0.4932 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4509, allocations: 8 kB / 0.4932 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4509, allocations: 4 kB / 0.4932 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4509, allocations: 0 / 0.4932 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.4542, allocations: 1.549 MB / 0.4947 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4542, allocations: 4 kB / 0.4947 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.4553, allocations: 152 kB / 0.4949 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.4556, allocations: 37.69 kB / 0.4949 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.4556, allocations: 31.91 kB / 0.4949 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.4573, allocations: 2.726 MB / 0.4976 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4573, allocations: 8.016 kB / 0.4976 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.4599, allocations: 1.075 MB / 0.4986 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.46, allocations: 100.8 kB / 0.4987 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.4601, allocations: 15.94 kB / 0.4987 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.4609, allocations: 36 kB / 0.4988 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.461, allocations: 55.81 kB / 0.4988 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.461, allocations: 31.97 kB / 0.4989 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.082e-05/0.4611, allocations: 124.4 kB / 0.499 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4611, allocations: 0 / 0.499 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001409/0.4626, allocations: 391.8 kB / 0.4994 GB, free: 13.6 MB / 414.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.005616/0.4682, allocations: 2.385 MB / 0.5017 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.4701, allocations: 0.6714 MB / 0.5023 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4702, allocations: 0 / 0.5023 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4712, allocations: 0.5327 MB / 0.5029 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.4721, allocations: 108.2 kB / 0.503 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/0.4799, allocations: 4.331 MB / 0.5072 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4802, allocations: 0.7928 MB / 0.508 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00123/0.4815, allocations: 191.1 kB / 0.5082 GB, free: 4.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.4819, allocations: 123.4 kB / 0.5083 GB, free: 4.098 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4819, allocations: 4 kB / 0.5083 GB, free: 4.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6747/1.157, allocations: 19.22 MB / 0.527 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/1.157, allocations: 215.9 kB / 0.5272 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.734, allocations: 0 / 0.5272 GB, free: 0.5586 MB / 430.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","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches