Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.41 kB / 306.5 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07898/0.08021, allocations: 50.53 MB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2886/0.3689, allocations: 153.3 MB / 0.4984 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.3729, allocations: 4.028 MB / 0.5023 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.373, allocations: 0 / 0.5023 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.3734, allocations: 99.56 kB / 0.5024 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.3758, allocations: 1.111 MB / 0.5035 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.3767, allocations: 354.5 kB / 0.5039 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.3772, allocations: 466.8 kB / 0.5043 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.3773, allocations: 17.55 kB / 0.5043 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.3777, allocations: 239.1 kB / 0.5045 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3779, allocations: 159.5 kB / 0.5047 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.3779, allocations: 16 kB / 0.5047 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.3813, allocations: 2.361 MB / 0.507 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3815, allocations: 139.7 kB / 0.5072 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.3816, allocations: 167.4 kB / 0.5073 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.3839, allocations: 1.699 MB / 0.509 GB, free: 7.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3839, allocations: 0 / 0.509 GB, free: 7.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3839, allocations: 0 / 0.509 GB, free: 7.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3839, allocations: 4 kB / 0.509 GB, free: 7.539 MB / 430.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.002116/0.386, allocations: 0.7769 MB / 0.5097 GB, free: 6.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3861, allocations: 8.031 kB / 0.5097 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.437e-05/0.3862, allocations: 66.67 kB / 0.5098 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.3886, allocations: 269.1 kB / 0.5101 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.389, allocations: 291.3 kB / 0.5103 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.389, allocations: 20.56 kB / 0.5104 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.3891, allocations: 24 kB / 0.5104 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3905, allocations: 0.6783 MB / 0.511 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3906, allocations: 4 kB / 0.511 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.3906, allocations: 12 kB / 0.5111 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.3907, allocations: 16.44 kB / 0.5111 GB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.3924, allocations: 0.7628 MB / 0.5118 GB, free: 4.512 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.003943/0.3963, allocations: 1.818 MB / 0.5136 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.3977, allocations: 476.8 kB / 0.514 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.3983, allocations: 240.8 kB / 0.5143 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.4007, allocations: 1.364 MB / 0.5156 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4008, allocations: 38.69 kB / 0.5156 GB, free: 256 kB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/0.4008, allocations: 0 / 0.5156 GB, free: 256 kB / 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.01414/0.4149, allocations: 3.712 MB / 0.5193 GB, free: 12.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.415, allocations: 85.11 kB / 0.5194 GB, free: 12.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.4151, allocations: 177.1 kB / 0.5195 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.4152, allocations: 37.64 kB / 0.5196 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.4153, allocations: 184.1 kB / 0.5197 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.4155, allocations: 177.5 kB / 0.5199 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.4157, allocations: 114.2 kB / 0.52 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4158, allocations: 334.8 kB / 0.5203 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/0.4166, allocations: 269.1 kB / 0.5206 GB, free: 10.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.4174, allocations: 425.5 kB / 0.521 GB, free: 10.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.419, allocations: 0.7027 MB / 0.5217 GB, free: 9.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.419, allocations: 0 / 0.5217 GB, free: 9.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001918/0.4209, allocations: 0.7811 MB / 0.5224 GB, free: 8.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4209, allocations: 14.88 kB / 0.5225 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4209, allocations: 8 kB / 0.5225 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.4211, allocations: 49.69 kB / 0.5225 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4223, allocations: 187.6 kB / 0.5227 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005791/0.4229, allocations: 1.074 MB / 0.5237 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007747/0.4237, allocations: 52.05 kB / 0.5238 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.4238, allocations: 43.92 kB / 0.5238 GB, free: 7.422 MB / 446.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.0002258/0.424, allocations: 176.2 kB / 0.524 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.4241, allocations: 27.72 kB / 0.524 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.4263, allocations: 0.7865 MB / 0.5248 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4263, allocations: 11.98 kB / 0.5248 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4263, allocations: 0 / 0.5248 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4264, allocations: 0 / 0.5248 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.4295, allocations: 1.554 MB / 0.5263 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4295, allocations: 224 / 0.5263 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.4306, allocations: 147.8 kB / 0.5265 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.4308, allocations: 49.56 kB / 0.5265 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.4308, allocations: 23.97 kB / 0.5265 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.4324, allocations: 2.73 MB / 0.5292 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4324, allocations: 11.97 kB / 0.5292 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.4349, allocations: 1.073 MB / 0.5303 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.435, allocations: 100.8 kB / 0.5304 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.4351, allocations: 12 kB / 0.5304 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.4359, allocations: 44 kB / 0.5304 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.436, allocations: 47.81 kB / 0.5305 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.4361, allocations: 35.97 kB / 0.5305 GB, free: 144 kB / 446.1 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.4362, allocations: 124.4 kB / 0.5306 GB, free: 20 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4362, allocations: 0 / 0.5306 GB, free: 20 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.1426/0.5788, allocations: 388.7 kB / 0.531 GB, free: 160.8 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.005242/0.584, allocations: 2.388 MB / 0.5333 GB, free: 160 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.5859, allocations: 0.6841 MB / 0.534 GB, free: 160 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.586, allocations: 0 / 0.534 GB, free: 160 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009576/0.5869, allocations: 0.5325 MB / 0.5345 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.5877, allocations: 105.7 kB / 0.5346 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.5946, allocations: 4.345 MB / 0.5388 GB, free: 157 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.5948, allocations: 0.7832 MB / 0.5396 GB, free: 156.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001139/0.596, allocations: 189.2 kB / 0.5398 GB, free: 156.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.5963, allocations: 125.7 kB / 0.5399 GB, free: 156.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5964, allocations: 3.562 kB / 0.5399 GB, free: 156.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.6328, allocations: 19.4 MB / 0.5589 GB, free: 146.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.6329, allocations: 222.8 kB / 0.5591 GB, free: 146.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.211, allocations: 0 / 0.5591 GB, free: 146.4 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches