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.0007374/0.0007374, allocations: 96.44 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009504/0.0009504, allocations: 204.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002071/0.0002072, allocations: 7.938 kB / 307.8 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.07868, allocations: 51.51 MB / 359.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2801/0.3588, allocations: 151.3 MB / 0.4986 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.363, allocations: 4.082 MB / 0.5026 GB, free: 372 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3631, allocations: 0 / 0.5026 GB, free: 372 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.3635, allocations: 95.58 kB / 0.5027 GB, free: 276 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.3657, allocations: 1.103 MB / 0.5038 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008212/0.3666, allocations: 349.1 kB / 0.5041 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000643/0.3672, allocations: 0.6197 MB / 0.5047 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.3673, allocations: 13.55 kB / 0.5047 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.3677, allocations: 231.1 kB / 0.505 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3679, allocations: 155.5 kB / 0.5051 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.3679, allocations: 12 kB / 0.5051 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.3714, allocations: 2.49 MB / 0.5075 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3716, allocations: 135.5 kB / 0.5077 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.3718, allocations: 189.1 kB / 0.5079 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.374, allocations: 1.781 MB / 0.5096 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.374, allocations: 0 / 0.5096 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.374, allocations: 4 kB / 0.5096 GB, free: 9.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.374, allocations: 0 / 0.5096 GB, free: 9.195 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.001887/0.3759, allocations: 0.695 MB / 0.5103 GB, free: 8.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3759, allocations: 8.031 kB / 0.5103 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.644e-05/0.376, allocations: 70.72 kB / 0.5104 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.3784, allocations: 264.3 kB / 0.5106 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3788, allocations: 295.1 kB / 0.5109 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3788, allocations: 20.56 kB / 0.5109 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.3789, allocations: 27.98 kB / 0.5109 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.3801, allocations: 0.6706 MB / 0.5116 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3802, allocations: 4 kB / 0.5116 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.3803, allocations: 12 kB / 0.5116 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.3803, allocations: 24.42 kB / 0.5116 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.382, allocations: 0.7638 MB / 0.5124 GB, free: 6.242 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.003639/0.3856, allocations: 1.807 MB / 0.5141 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.3869, allocations: 488.8 kB / 0.5146 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/0.3875, allocations: 229.6 kB / 0.5148 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.3897, allocations: 1.36 MB / 0.5162 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3897, allocations: 47.17 kB / 0.5162 GB, free: 1.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.754e-06/0.3898, allocations: 0 / 0.5162 GB, free: 1.98 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.01286/0.4026, allocations: 3.631 MB / 0.5197 GB, free: 14.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.4027, allocations: 85.11 kB / 0.5198 GB, free: 14.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4028, allocations: 185 kB / 0.52 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.4029, allocations: 33.7 kB / 0.52 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.403, allocations: 180.1 kB / 0.5202 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4031, allocations: 177.4 kB / 0.5204 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.4032, allocations: 49.69 kB / 0.5204 GB, free: 13.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.4033, allocations: 338.8 kB / 0.5207 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.4041, allocations: 265.1 kB / 0.521 GB, free: 12.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.4049, allocations: 425.5 kB / 0.5214 GB, free: 12.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.4065, allocations: 0.6991 MB / 0.5221 GB, free: 11.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4065, allocations: 4 kB / 0.5221 GB, free: 11.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001893/0.4084, allocations: 0.7848 MB / 0.5229 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4085, allocations: 8 kB / 0.5229 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4085, allocations: 4 kB / 0.5229 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.4087, allocations: 53.67 kB / 0.5229 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4098, allocations: 187.9 kB / 0.5231 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005598/0.4103, allocations: 1.074 MB / 0.5241 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/0.4111, allocations: 52.05 kB / 0.5242 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.4112, allocations: 43.92 kB / 0.5242 GB, free: 9.293 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.0002183/0.4114, allocations: 180 kB / 0.5244 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.4115, allocations: 27.72 kB / 0.5244 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.4137, allocations: 0.7788 MB / 0.5252 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.4137, allocations: 4 kB / 0.5252 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4137, allocations: 0 / 0.5252 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4137, allocations: 7.984 kB / 0.5252 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.4168, allocations: 1.55 MB / 0.5267 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4168, allocations: 4 kB / 0.5267 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.4178, allocations: 143.8 kB / 0.5269 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.418, allocations: 49.62 kB / 0.5269 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.418, allocations: 24.09 kB / 0.5269 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.4195, allocations: 2.544 MB / 0.5294 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4195, allocations: 0 / 0.5294 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.4219, allocations: 1.081 MB / 0.5305 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.422, allocations: 104.8 kB / 0.5306 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.4221, allocations: 15.97 kB / 0.5306 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.4229, allocations: 47.89 kB / 0.5306 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.423, allocations: 35.95 kB / 0.5307 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.423, allocations: 35.97 kB / 0.5307 GB, free: 2.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.4231, allocations: 124.4 kB / 0.5308 GB, free: 2.105 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4231, allocations: 0 / 0.5308 GB, free: 2.105 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001201/0.4243, allocations: 411.8 kB / 0.5312 GB, free: 1.703 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.1495/0.5739, allocations: 2.377 MB / 0.5335 GB, free: 159.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.5759, allocations: 0.6543 MB / 0.5342 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5759, allocations: 0 / 0.5342 GB, free: 159.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009759/0.5769, allocations: 0.5397 MB / 0.5347 GB, free: 159.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.5777, allocations: 100.5 kB / 0.5348 GB, free: 159.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.5847, allocations: 4.431 MB / 0.5391 GB, free: 157.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5849, allocations: 0.7825 MB / 0.5399 GB, free: 156.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001031/0.586, allocations: 184.2 kB / 0.5401 GB, free: 156.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.5863, allocations: 135 kB / 0.5402 GB, free: 156.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5863, allocations: 0 / 0.5402 GB, free: 156.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.6178, allocations: 18.98 MB / 0.5587 GB, free: 148.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.618, allocations: 212.1 kB / 0.5589 GB, free: 147.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.972, allocations: 0 / 0.5589 GB, free: 147.9 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