Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_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.001351/0.001351, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001614/0.001614, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009435/0.0009436, allocations: 47.2 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.0828, allocations: 49.43 MB / 350.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3013/0.3842, allocations: 152.5 MB / 0.4909 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.388, allocations: 4.034 MB / 0.4948 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.3881, allocations: 0 / 0.4948 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.3886, allocations: 115.4 kB / 0.4949 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.3909, allocations: 1.169 MB / 0.4961 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.3918, allocations: 385.5 kB / 0.4964 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.3923, allocations: 466.8 kB / 0.4969 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.3924, allocations: 13.55 kB / 0.4969 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.3927, allocations: 231.1 kB / 0.4971 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3929, allocations: 135.5 kB / 0.4973 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.393, allocations: 16 kB / 0.4973 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.3963, allocations: 2.131 MB / 0.4993 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3965, allocations: 139.6 kB / 0.4995 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.3967, allocations: 167.3 kB / 0.4996 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.3985, allocations: 1.555 MB / 0.5012 GB, free: 1.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3985, allocations: 3.938 kB / 0.5012 GB, free: 1.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3986, allocations: 4 kB / 0.5012 GB, free: 1.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3986, allocations: 0 / 0.5012 GB, free: 1.684 MB / 414.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.002046/0.4006, allocations: 0.7692 MB / 0.5019 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4007, allocations: 8.031 kB / 0.5019 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.4008, allocations: 66.67 kB / 0.502 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.4033, allocations: 268.8 kB / 0.5022 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.4037, allocations: 299.2 kB / 0.5025 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4037, allocations: 21.44 kB / 0.5026 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.4038, allocations: 24 kB / 0.5026 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.405, allocations: 0.6783 MB / 0.5032 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4051, allocations: 0 / 0.5032 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.4051, allocations: 15.94 kB / 0.5033 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.4052, allocations: 16.44 kB / 0.5033 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.4068, allocations: 0.759 MB / 0.504 GB, free: 14.66 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.003701/0.4105, allocations: 1.814 MB / 0.5058 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.4118, allocations: 486.1 kB / 0.5062 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.4124, allocations: 237.6 kB / 0.5065 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002306/0.4148, allocations: 1.376 MB / 0.5078 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4148, allocations: 42.69 kB / 0.5079 GB, free: 10.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.4148, allocations: 0 / 0.5079 GB, free: 10.38 MB / 430.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.01381/0.4286, allocations: 3.729 MB / 0.5115 GB, free: 6.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4287, allocations: 85.11 kB / 0.5116 GB, free: 6.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4288, allocations: 177.1 kB / 0.5117 GB, free: 6.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/0.4289, allocations: 41.64 kB / 0.5118 GB, free: 6.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.429, allocations: 188 kB / 0.512 GB, free: 5.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.4292, allocations: 173.5 kB / 0.5121 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.4294, allocations: 118.2 kB / 0.5122 GB, free: 5.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4295, allocations: 338.8 kB / 0.5126 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.4302, allocations: 265.1 kB / 0.5128 GB, free: 5.039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.4311, allocations: 421.5 kB / 0.5132 GB, free: 4.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4327, allocations: 0.6922 MB / 0.5139 GB, free: 3.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4327, allocations: 0 / 0.5139 GB, free: 3.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001939/0.4346, allocations: 0.7879 MB / 0.5147 GB, free: 3.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4347, allocations: 8 kB / 0.5147 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4347, allocations: 4 kB / 0.5147 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.4349, allocations: 57.62 kB / 0.5147 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4361, allocations: 183.7 kB / 0.5149 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/0.4367, allocations: 1.074 MB / 0.516 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/0.4374, allocations: 44.14 kB / 0.516 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.4375, allocations: 43.92 kB / 0.516 GB, free: 1.539 MB / 430.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.0002068/0.4377, allocations: 165.7 kB / 0.5162 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.4378, allocations: 27.72 kB / 0.5162 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.44, allocations: 0.7939 MB / 0.517 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.44, allocations: 8 kB / 0.517 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.44, allocations: 0 / 0.517 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.44, allocations: 3.984 kB / 0.517 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.443, allocations: 1.555 MB / 0.5185 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.443, allocations: 8.219 kB / 0.5185 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4441, allocations: 147.8 kB / 0.5187 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.4442, allocations: 49.56 kB / 0.5187 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.4443, allocations: 19.98 kB / 0.5187 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.4458, allocations: 2.734 MB / 0.5214 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4458, allocations: 4.031 kB / 0.5214 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.4482, allocations: 1.076 MB / 0.5225 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.4483, allocations: 108.8 kB / 0.5226 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.4484, allocations: 12 kB / 0.5226 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/0.4492, allocations: 43.95 kB / 0.5226 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.4493, allocations: 43.83 kB / 0.5227 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.4494, allocations: 31.97 kB / 0.5227 GB, free: 10.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.4495, allocations: 123.2 kB / 0.5228 GB, free: 10.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4495, allocations: 4 kB / 0.5228 GB, free: 10.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001309/0.4508, allocations: 383.8 kB / 0.5232 GB, free: 9.754 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.00528/0.4561, allocations: 2.385 MB / 0.5255 GB, free: 7.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.458, allocations: 0.6908 MB / 0.5262 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4581, allocations: 0 / 0.5262 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.4591, allocations: 0.5252 MB / 0.5267 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.4599, allocations: 99.84 kB / 0.5268 GB, free: 5.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.4677, allocations: 4.219 MB / 0.5309 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4681, allocations: 0.7774 MB / 0.5317 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.4692, allocations: 187.1 kB / 0.5319 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.4696, allocations: 135.4 kB / 0.532 GB, free: 388 kB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4696, allocations: 0 / 0.532 GB, free: 388 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.756/2.225, allocations: 19.3 MB / 0.5508 GB, free: 160.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/15.52, allocations: 23.06 kB / 0.5509 GB, free: 160.2 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches