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.001549/0.00155, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2454, allocations: 50.55 MB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3797/0.6251, allocations: 155.4 MB / 0.5509 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.6284, allocations: 4.039 MB / 0.5549 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.6285, allocations: 2.562 kB / 0.5549 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.6289, allocations: 105.3 kB / 0.555 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.6311, allocations: 1.175 MB / 0.5561 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.6319, allocations: 388.8 kB / 0.5565 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.6323, allocations: 460.8 kB / 0.5569 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.6324, allocations: 17.44 kB / 0.5569 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.6328, allocations: 244.5 kB / 0.5572 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.633, allocations: 141.7 kB / 0.5573 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.633, allocations: 15.69 kB / 0.5573 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.6358, allocations: 2.068 MB / 0.5593 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6359, allocations: 138.1 kB / 0.5595 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.6361, allocations: 168.3 kB / 0.5596 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.6377, allocations: 1.542 MB / 0.5611 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6377, allocations: 1.203 kB / 0.5611 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.6377, allocations: 4 kB / 0.5611 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.6378, allocations: 0 / 0.5611 GB, free: 0.7227 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.001858/0.6396, allocations: 0.7671 MB / 0.5619 GB, free: 16.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6397, allocations: 12.08 kB / 0.5619 GB, free: 16.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.6397, allocations: 68.78 kB / 0.562 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/0.6404, allocations: 116.4 kB / 0.5621 GB, free: 16.19 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.6408, allocations: 286.4 kB / 0.5624 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.6408, allocations: 15.91 kB / 0.5624 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.6409, allocations: 25.69 kB / 0.5624 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.6418, allocations: 0.5977 MB / 0.563 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.6419, allocations: 3.188 kB / 0.563 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.6419, allocations: 9.25 kB / 0.563 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.6419, allocations: 24.89 kB / 0.563 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.643, allocations: 0.6399 MB / 0.5636 GB, free: 15.91 MB / 478.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.002584/0.6456, allocations: 1.27 MB / 0.5649 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.6465, allocations: 357.8 kB / 0.5652 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.6469, allocations: 175 kB / 0.5654 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.6491, allocations: 1.366 MB / 0.5667 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6491, allocations: 45.44 kB / 0.5668 GB, free: 14.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.6491, allocations: 0 / 0.5668 GB, free: 14.23 MB / 478.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.01394/0.6631, allocations: 3.499 MB / 0.5702 GB, free: 13.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6632, allocations: 86.36 kB / 0.5703 GB, free: 12.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.6633, allocations: 182.1 kB / 0.5704 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.6633, allocations: 34.95 kB / 0.5705 GB, free: 12.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.6634, allocations: 178.1 kB / 0.5706 GB, free: 12.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.6636, allocations: 172.5 kB / 0.5708 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.6638, allocations: 117.6 kB / 0.5709 GB, free: 12.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.6639, allocations: 334.5 kB / 0.5712 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.6646, allocations: 267.5 kB / 0.5715 GB, free: 12.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.6654, allocations: 426.2 kB / 0.5719 GB, free: 12.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.6669, allocations: 0.6947 MB / 0.5726 GB, free: 11.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6669, allocations: 0 / 0.5726 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001796/0.6687, allocations: 0.7876 MB / 0.5733 GB, free: 11.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6687, allocations: 8 kB / 0.5734 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6688, allocations: 5.969 kB / 0.5734 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.669, allocations: 58.84 kB / 0.5734 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.6701, allocations: 184.9 kB / 0.5736 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006531/0.6707, allocations: 1.074 MB / 0.5746 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.6715, allocations: 46.42 kB / 0.5747 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.6716, allocations: 34.05 kB / 0.5747 GB, free: 10.72 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.0002212/0.6718, allocations: 184.1 kB / 0.5749 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6719, allocations: 29.47 kB / 0.5749 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.6739, allocations: 0.7757 MB / 0.5757 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.674, allocations: 4.688 kB / 0.5757 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.674, allocations: 3.281 kB / 0.5757 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.674, allocations: 2.953 kB / 0.5757 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.6772, allocations: 1.556 MB / 0.5772 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6772, allocations: 6.562 kB / 0.5772 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.6782, allocations: 149.2 kB / 0.5774 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.6784, allocations: 47.33 kB / 0.5774 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.6785, allocations: 24.14 kB / 0.5774 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.6802, allocations: 2.734 MB / 0.5801 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6802, allocations: 2.219 kB / 0.5801 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.6827, allocations: 1.077 MB / 0.5812 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.6828, allocations: 102.2 kB / 0.5812 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.6829, allocations: 15.41 kB / 0.5813 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/0.6836, allocations: 33.52 kB / 0.5813 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.6837, allocations: 55.34 kB / 0.5813 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.6838, allocations: 34.48 kB / 0.5814 GB, free: 6.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.6839, allocations: 125.5 kB / 0.5815 GB, free: 6.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6839, allocations: 0 / 0.5815 GB, free: 6.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001406/0.6853, allocations: 387 kB / 0.5819 GB, free: 6.594 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.004942/0.6903, allocations: 2.37 MB / 0.5842 GB, free: 5.617 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.6921, allocations: 0.658 MB / 0.5848 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6921, allocations: 1.203 kB / 0.5848 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.6932, allocations: 0.5338 MB / 0.5853 GB, free: 5.371 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007707/0.694, allocations: 109 kB / 0.5855 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/0.7016, allocations: 4.225 MB / 0.5896 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.7019, allocations: 0.7777 MB / 0.5903 GB, free: 2.449 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008285/0.7028, allocations: 190.7 kB / 0.5905 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.7031, allocations: 129.2 kB / 0.5906 GB, free: 2.344 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7031, allocations: 3.188 kB / 0.5906 GB, free: 2.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.7509, allocations: 20.01 MB / 0.6102 GB, free: 4.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.64, allocations: 15.25 kB / 0.6102 GB, free: 4.035 MB / 494.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