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.001048/0.001049, allocations: 103.5 kB / 16.51 MB, free: 6.641 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.001113/0.001113, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.275/1.275, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 47.91 kB / 300 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.0835, allocations: 49.46 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2948/0.3783, allocations: 150.3 MB / 499.8 MB, free: 14.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.3832, allocations: 4.134 MB / 0.4921 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.3834, allocations: 0 / 0.4921 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.384, allocations: 99.5 kB / 0.4922 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.3865, allocations: 1.091 MB / 0.4933 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008759/0.3874, allocations: 353.6 kB / 0.4936 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007879/0.3882, allocations: 0.6275 MB / 0.4942 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.3882, allocations: 13.56 kB / 0.4942 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.3886, allocations: 207.2 kB / 0.4944 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3889, allocations: 163.5 kB / 0.4946 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.3889, allocations: 8 kB / 0.4946 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.393, allocations: 2.486 MB / 0.497 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3931, allocations: 131.7 kB / 0.4972 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.3934, allocations: 159.3 kB / 0.4973 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.396, allocations: 1.781 MB / 0.499 GB, free: 3.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.396, allocations: 0 / 0.499 GB, free: 3.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.396, allocations: 4 kB / 0.499 GB, free: 3.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.396, allocations: 0 / 0.499 GB, free: 3.707 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.002227/0.3983, allocations: 0.7614 MB / 0.4998 GB, free: 2.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3983, allocations: 12.03 kB / 0.4998 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.471e-05/0.3984, allocations: 66.73 kB / 0.4999 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.401, allocations: 273.3 kB / 0.5001 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4013, allocations: 295.2 kB / 0.5004 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4014, allocations: 20.56 kB / 0.5004 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.4015, allocations: 28 kB / 0.5005 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.4029, allocations: 0.6744 MB / 0.5011 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4029, allocations: 0 / 0.5011 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.403, allocations: 12 kB / 0.5011 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.4031, allocations: 20.44 kB / 0.5011 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.4049, allocations: 0.7551 MB / 0.5019 GB, free: 0.6992 MB / 414.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.004066/0.4089, allocations: 1.826 MB / 0.5037 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.4103, allocations: 472.8 kB / 0.5041 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.411, allocations: 233.6 kB / 0.5043 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/0.4134, allocations: 1.383 MB / 0.5057 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4135, allocations: 42.62 kB / 0.5057 GB, free: 12.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.4135, allocations: 8 kB / 0.5057 GB, free: 12.4 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.01447/0.428, allocations: 3.713 MB / 0.5094 GB, free: 8.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.428, allocations: 88.98 kB / 0.5094 GB, free: 8.383 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.4282, allocations: 183.2 kB / 0.5096 GB, free: 8.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.4282, allocations: 29.7 kB / 0.5097 GB, free: 8.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4284, allocations: 180.1 kB / 0.5098 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4286, allocations: 189.4 kB / 0.51 GB, free: 7.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.4288, allocations: 118.2 kB / 0.5101 GB, free: 7.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.429, allocations: 330.8 kB / 0.5104 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007917/0.4299, allocations: 265.1 kB / 0.5107 GB, free: 7.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.4307, allocations: 425.5 kB / 0.5111 GB, free: 6.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4323, allocations: 0.6995 MB / 0.5118 GB, free: 5.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4324, allocations: 0 / 0.5118 GB, free: 5.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001908/0.4343, allocations: 0.785 MB / 0.5125 GB, free: 5.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.4344, allocations: 4 kB / 0.5125 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.4344, allocations: 12.03 kB / 0.5126 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.4346, allocations: 53.69 kB / 0.5126 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4358, allocations: 179.7 kB / 0.5128 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007077/0.4365, allocations: 1.074 MB / 0.5138 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.4373, allocations: 52.05 kB / 0.5139 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.4374, allocations: 39.92 kB / 0.5139 GB, free: 3.57 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.0002201/0.4376, allocations: 181.6 kB / 0.5141 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4378, allocations: 27.72 kB / 0.5141 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.44, allocations: 0.7748 MB / 0.5149 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.44, allocations: 12 kB / 0.5149 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/0.44, allocations: 0 / 0.5149 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.4401, allocations: 7.969 kB / 0.5149 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.4433, allocations: 1.558 MB / 0.5164 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4434, allocations: 4 kB / 0.5164 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.4445, allocations: 155.9 kB / 0.5166 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.4446, allocations: 41.62 kB / 0.5166 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/0.4447, allocations: 23.98 kB / 0.5166 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.4464, allocations: 2.533 MB / 0.5191 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4465, allocations: 3.938 kB / 0.5191 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.449, allocations: 1.079 MB / 0.5202 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.4491, allocations: 96.83 kB / 0.5202 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.4492, allocations: 23.97 kB / 0.5203 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008377/0.45, allocations: 35.97 kB / 0.5203 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4501, allocations: 43.88 kB / 0.5203 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.4502, allocations: 35.97 kB / 0.5204 GB, free: 12.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.4503, allocations: 120.4 kB / 0.5205 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4503, allocations: 0 / 0.5205 GB, free: 12.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4517, allocations: 407.8 kB / 0.5209 GB, free: 11.97 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.005423/0.4572, allocations: 2.385 MB / 0.5232 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.459, allocations: 0.6528 MB / 0.5239 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4591, allocations: 0 / 0.5239 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.4602, allocations: 0.5286 MB / 0.5244 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.4609, allocations: 100.7 kB / 0.5245 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.4685, allocations: 4.338 MB / 0.5287 GB, free: 3.629 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4689, allocations: 0.7852 MB / 0.5295 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.4701, allocations: 183.1 kB / 0.5296 GB, free: 2.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.4705, allocations: 131.3 kB / 0.5298 GB, free: 2.512 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4705, allocations: 0 / 0.5298 GB, free: 2.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1664/0.6369, allocations: 18.89 MB / 0.5482 GB, free: 160.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001257/0.637, allocations: 225.6 kB / 0.5484 GB, free: 160 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.079, allocations: 1.406 kB / 0.5484 GB, free: 160 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