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.001415/0.001415, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001555/0.001556, allocations: 187 kB / 18.66 MB, free: 4.398 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.33/1.33, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001263/0.001263, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08298, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.335/0.418, allocations: 154.3 MB / 0.5165 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.4214, allocations: 3.043 MB / 0.5195 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.4216, allocations: 8 kB / 0.5195 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.4221, allocations: 107.4 kB / 0.5196 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.4247, allocations: 1.173 MB / 0.5207 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.4257, allocations: 384.9 kB / 0.5211 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.4263, allocations: 462.8 kB / 0.5215 GB, free: 52 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.4264, allocations: 17.55 kB / 0.5216 GB, free: 36 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.4269, allocations: 227 kB / 0.5218 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.4271, allocations: 139.5 kB / 0.5219 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.4272, allocations: 16 kB / 0.5219 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.4307, allocations: 2.072 MB / 0.5239 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.4309, allocations: 127.7 kB / 0.5241 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.4311, allocations: 167.4 kB / 0.5242 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.4335, allocations: 1.532 MB / 0.5257 GB, free: 11.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4336, allocations: 0 / 0.5257 GB, free: 11.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4336, allocations: 0 / 0.5257 GB, free: 11.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.4336, allocations: 0 / 0.5257 GB, free: 11.76 MB / 462.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.002202/0.4358, allocations: 0.7728 MB / 0.5265 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4358, allocations: 12.03 kB / 0.5265 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.4359, allocations: 70.7 kB / 0.5266 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007251/0.4367, allocations: 112.5 kB / 0.5267 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.4372, allocations: 275.5 kB / 0.5269 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4372, allocations: 24.5 kB / 0.5269 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.4373, allocations: 27.98 kB / 0.527 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4384, allocations: 0.5926 MB / 0.5276 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.4384, allocations: 3.984 kB / 0.5276 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.4385, allocations: 12 kB / 0.5276 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.4385, allocations: 24.42 kB / 0.5276 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.4398, allocations: 0.6379 MB / 0.5282 GB, free: 9.094 MB / 462.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.003017/0.4429, allocations: 1.286 MB / 0.5295 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.4439, allocations: 356.9 kB / 0.5298 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.4444, allocations: 169.6 kB / 0.53 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002457/0.4468, allocations: 1.387 MB / 0.5313 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4469, allocations: 39.61 kB / 0.5314 GB, free: 5.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.294e-06/0.4469, allocations: 4 kB / 0.5314 GB, free: 5.551 MB / 462.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.01559/0.4625, allocations: 3.467 MB / 0.5348 GB, free: 1.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.4626, allocations: 93.05 kB / 0.5348 GB, free: 1.777 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4627, allocations: 182.5 kB / 0.535 GB, free: 1.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.4628, allocations: 29.7 kB / 0.535 GB, free: 1.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4629, allocations: 176.1 kB / 0.5352 GB, free: 1.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.4631, allocations: 177.5 kB / 0.5354 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.4633, allocations: 118.2 kB / 0.5355 GB, free: 1.078 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4634, allocations: 338.8 kB / 0.5358 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.4642, allocations: 265.1 kB / 0.5361 GB, free: 492 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/0.4652, allocations: 429.6 kB / 0.5365 GB, free: 15.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.4669, allocations: 0.6961 MB / 0.5372 GB, free: 15.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4669, allocations: 4 kB / 0.5372 GB, free: 15.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002098/0.469, allocations: 0.784 MB / 0.5379 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.4691, allocations: 11.28 kB / 0.5379 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4691, allocations: 4 kB / 0.5379 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.4693, allocations: 53.69 kB / 0.538 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.4705, allocations: 184.2 kB / 0.5382 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000756/0.4713, allocations: 1.081 MB / 0.5392 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.4721, allocations: 48.52 kB / 0.5393 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/0.4722, allocations: 35.98 kB / 0.5393 GB, free: 12.96 MB / 478.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.0002679/0.4725, allocations: 173.6 kB / 0.5395 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.4726, allocations: 31.75 kB / 0.5395 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.475, allocations: 0.7902 MB / 0.5403 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.475, allocations: 4 kB / 0.5403 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.475, allocations: 0 / 0.5403 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.475, allocations: 8.484 kB / 0.5403 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.4785, allocations: 1.551 MB / 0.5418 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.4785, allocations: 224 / 0.5418 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4796, allocations: 148.5 kB / 0.5419 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.4798, allocations: 45.62 kB / 0.542 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.4798, allocations: 23.97 kB / 0.542 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.4816, allocations: 2.734 MB / 0.5447 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.4817, allocations: 4.062 kB / 0.5447 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.4844, allocations: 1.08 MB / 0.5457 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.4845, allocations: 96.83 kB / 0.5458 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.4846, allocations: 8 kB / 0.5458 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.4854, allocations: 40 kB / 0.5459 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.4855, allocations: 47.88 kB / 0.5459 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.4856, allocations: 35.97 kB / 0.546 GB, free: 5.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.179e-05/0.4857, allocations: 124.4 kB / 0.5461 GB, free: 5.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4857, allocations: 0 / 0.5461 GB, free: 5.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001341/0.4871, allocations: 387.8 kB / 0.5464 GB, free: 5.191 MB / 478.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.005294/0.4924, allocations: 2.374 MB / 0.5488 GB, free: 2.762 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.4944, allocations: 0.6519 MB / 0.5494 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4944, allocations: 0 / 0.5494 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4955, allocations: 0.5365 MB / 0.5499 GB, free: 1.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.4963, allocations: 96.98 kB / 0.55 GB, free: 1.457 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1622/0.6586, allocations: 4.222 MB / 0.5541 GB, free: 165.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.6589, allocations: 0.7875 MB / 0.5549 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009599/0.6599, allocations: 183 kB / 0.5551 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.6604, allocations: 122.4 kB / 0.5552 GB, free: 164.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6604, allocations: 1.594 kB / 0.5552 GB, free: 164.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/0.711, allocations: 19.81 MB / 0.5745 GB, free: 158 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.68, allocations: 14.97 kB / 0.5746 GB, free: 158 MB / 478.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