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.001431/0.001431, allocations: 99.95 kB / 17.58 MB, free: 5.418 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.00169/0.00169, allocations: 192 kB / 18.51 MB, free: 4.508 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.224/1.224, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001194/0.001194, allocations: 48.39 kB / 280.7 MB, free: 3.105 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07409/0.07529, allocations: 46.64 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2807/0.356, allocations: 154.3 MB / 481.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3593, allocations: 3.043 MB / 484.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.868e-05/0.3594, allocations: 0 / 484.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.3599, allocations: 115.4 kB / 484.8 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.3622, allocations: 1.177 MB / 486 MB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008466/0.363, allocations: 379.5 kB / 486.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.3635, allocations: 466.6 kB / 486.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.3636, allocations: 13.56 kB / 486.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.3639, allocations: 227.1 kB / 487 MB, free: 7.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.3642, allocations: 143.5 kB / 487.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.3642, allocations: 16 kB / 487.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.3675, allocations: 2.131 MB / 489.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3677, allocations: 135.7 kB / 489.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3679, allocations: 163.4 kB / 489.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.3699, allocations: 1.571 MB / 491.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.3699, allocations: 0 / 491.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3699, allocations: 0 / 491.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3699, allocations: 0 / 491.2 MB, free: 3.258 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.001917/0.3718, allocations: 0.7691 MB / 491.9 MB, free: 2.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3719, allocations: 11.97 kB / 492 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.143e-05/0.372, allocations: 66.72 kB / 492 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.3744, allocations: 268.8 kB / 492.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.3748, allocations: 287.6 kB / 492.6 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3749, allocations: 28.55 kB / 492.6 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.3749, allocations: 24 kB / 492.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3762, allocations: 0.6667 MB / 493.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3762, allocations: 0 / 493.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.3763, allocations: 23.97 kB / 493.3 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.3764, allocations: 23.8 kB / 493.3 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.378, allocations: 0.7589 MB / 494.1 MB, free: 244 kB / 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.003813/0.3819, allocations: 1.814 MB / 495.9 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3832, allocations: 480.8 kB / 496.4 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/0.3839, allocations: 229.6 kB / 496.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.3862, allocations: 1.383 MB / 498 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3862, allocations: 42.55 kB / 498 MB, free: 11.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.3862, allocations: 0 / 498 MB, free: 11.95 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.01417/0.4004, allocations: 3.72 MB / 0.49 GB, free: 8.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.4004, allocations: 81.11 kB / 0.4901 GB, free: 7.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.4006, allocations: 178.5 kB / 0.4902 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.4007, allocations: 37.7 kB / 0.4903 GB, free: 7.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.4008, allocations: 176.1 kB / 0.4904 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.4009, allocations: 177.5 kB / 0.4906 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.4011, allocations: 110.3 kB / 0.4907 GB, free: 7.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4013, allocations: 342.8 kB / 0.491 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/0.4021, allocations: 269.1 kB / 0.4913 GB, free: 6.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000867/0.4029, allocations: 421.5 kB / 0.4917 GB, free: 6.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.4046, allocations: 0.7069 MB / 0.4924 GB, free: 5.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4046, allocations: 0 / 0.4924 GB, free: 5.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00203/0.4067, allocations: 0.7805 MB / 0.4931 GB, free: 4.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4067, allocations: 11.12 kB / 0.4932 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4067, allocations: 12.05 kB / 0.4932 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.4069, allocations: 53.69 kB / 0.4932 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4081, allocations: 179.7 kB / 0.4934 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005814/0.4087, allocations: 1.081 MB / 0.4944 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.4095, allocations: 48.14 kB / 0.4945 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.4095, allocations: 39.97 kB / 0.4945 GB, free: 3.117 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.0002138/0.4098, allocations: 173.6 kB / 0.4947 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4099, allocations: 27.72 kB / 0.4947 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.4121, allocations: 0.7823 MB / 0.4955 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4121, allocations: 11.98 kB / 0.4955 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4121, allocations: 0 / 0.4955 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4122, allocations: 0 / 0.4955 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.4153, allocations: 1.554 MB / 0.497 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4153, allocations: 0 / 0.497 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.4164, allocations: 148 kB / 0.4972 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.4166, allocations: 41.69 kB / 0.4972 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.4166, allocations: 27.91 kB / 0.4972 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.4183, allocations: 2.738 MB / 0.4999 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4183, allocations: 4.031 kB / 0.4999 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.4209, allocations: 1.076 MB / 0.5009 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.421, allocations: 100.8 kB / 0.501 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.4211, allocations: 12 kB / 0.5011 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.4219, allocations: 40 kB / 0.5011 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.422, allocations: 47.88 kB / 0.5011 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.4221, allocations: 31.97 kB / 0.5012 GB, free: 11.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.389e-05/0.4222, allocations: 124.4 kB / 0.5013 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4222, allocations: 0 / 0.5013 GB, free: 11.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001178/0.4234, allocations: 391.8 kB / 0.5017 GB, free: 11.35 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.00521/0.4286, allocations: 2.385 MB / 0.504 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.4305, allocations: 0.676 MB / 0.5047 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4305, allocations: 0 / 0.5047 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4316, allocations: 0.5449 MB / 0.5052 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.4324, allocations: 103.9 kB / 0.5053 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.4399, allocations: 4.2 MB / 0.5094 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.4402, allocations: 0.7772 MB / 0.5101 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.4413, allocations: 199 kB / 0.5103 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.4416, allocations: 131.3 kB / 0.5105 GB, free: 1.969 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4416, allocations: 4 kB / 0.5105 GB, free: 1.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06549/0.5071, allocations: 19.31 MB / 0.5293 GB, free: 14.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/16.9, allocations: 16.48 kB / 0.5293 GB, free: 14.54 MB / 446.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