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.001229/0.001229, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 59.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2116, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3747/0.5864, allocations: 155.4 MB / 0.551 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.5895, allocations: 4.037 MB / 0.5549 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.5896, allocations: 2.969 kB / 0.5549 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.59, allocations: 108.3 kB / 0.555 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.5922, allocations: 1.178 MB / 0.5562 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.593, allocations: 389.3 kB / 0.5566 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.5935, allocations: 458.5 kB / 0.557 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.5935, allocations: 22.44 kB / 0.557 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.5938, allocations: 238.3 kB / 0.5572 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.594, allocations: 143.7 kB / 0.5574 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.5941, allocations: 15.8 kB / 0.5574 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.5971, allocations: 2.07 MB / 0.5594 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.5972, allocations: 138.2 kB / 0.5596 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.5974, allocations: 165.4 kB / 0.5597 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.5992, allocations: 1.549 MB / 0.5612 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5993, allocations: 6.438 kB / 0.5612 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5993, allocations: 0 / 0.5612 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.5993, allocations: 0 / 0.5612 GB, free: 0.7188 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.00195/0.6012, allocations: 0.7843 MB / 0.562 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6013, allocations: 7.688 kB / 0.562 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.6014, allocations: 69.81 kB / 0.5621 GB, free: 16.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.602, allocations: 108.6 kB / 0.5622 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.6024, allocations: 279 kB / 0.5624 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6024, allocations: 21.75 kB / 0.5625 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.6025, allocations: 24.56 kB / 0.5625 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.6034, allocations: 0.5955 MB / 0.5631 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6035, allocations: 3.312 kB / 0.5631 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.6035, allocations: 14.98 kB / 0.5631 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.6036, allocations: 18.58 kB / 0.5631 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.6047, allocations: 0.649 MB / 0.5637 GB, free: 15.89 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.002542/0.6073, allocations: 1.262 MB / 0.565 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009221/0.6082, allocations: 359 kB / 0.5653 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.6087, allocations: 177.3 kB / 0.5655 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.6109, allocations: 1.365 MB / 0.5668 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.611, allocations: 44.47 kB / 0.5669 GB, free: 14.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.394e-06/0.611, allocations: 0 / 0.5669 GB, free: 14.21 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.01436/0.6254, allocations: 3.498 MB / 0.5703 GB, free: 13.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.6254, allocations: 84.66 kB / 0.5704 GB, free: 12.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.6256, allocations: 189.9 kB / 0.5705 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.6257, allocations: 34.89 kB / 0.5706 GB, free: 12.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6258, allocations: 188.5 kB / 0.5707 GB, free: 12.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.626, allocations: 180.6 kB / 0.5709 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.6262, allocations: 117.6 kB / 0.571 GB, free: 12.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6263, allocations: 341.5 kB / 0.5714 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.627, allocations: 265.2 kB / 0.5716 GB, free: 12.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008451/0.6279, allocations: 426.4 kB / 0.572 GB, free: 12.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.6295, allocations: 0.6981 MB / 0.5727 GB, free: 11.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6295, allocations: 3.375 kB / 0.5727 GB, free: 11.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001849/0.6313, allocations: 0.7807 MB / 0.5735 GB, free: 11.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6313, allocations: 8.656 kB / 0.5735 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6314, allocations: 4.719 kB / 0.5735 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.6316, allocations: 58.14 kB / 0.5735 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6327, allocations: 181.8 kB / 0.5737 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007145/0.6334, allocations: 1.078 MB / 0.5748 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.6342, allocations: 43.14 kB / 0.5748 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/0.6343, allocations: 42.28 kB / 0.5748 GB, free: 10.68 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.0002365/0.6345, allocations: 170.6 kB / 0.575 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6346, allocations: 29.34 kB / 0.575 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.6367, allocations: 0.7911 MB / 0.5758 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.6367, allocations: 5.938 kB / 0.5758 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6368, allocations: 0 / 0.5758 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6368, allocations: 2.953 kB / 0.5758 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.6398, allocations: 1.558 MB / 0.5773 GB, free: 9.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.6398, allocations: 6.594 kB / 0.5773 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6409, allocations: 151.9 kB / 0.5775 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.641, allocations: 43.97 kB / 0.5775 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.6411, allocations: 23.97 kB / 0.5775 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.643, allocations: 2.728 MB / 0.5802 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.643, allocations: 7.438 kB / 0.5802 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.6455, allocations: 1.073 MB / 0.5813 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.6456, allocations: 103.8 kB / 0.5814 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.6457, allocations: 22.58 kB / 0.5814 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.6465, allocations: 37.03 kB / 0.5814 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.6465, allocations: 51.08 kB / 0.5815 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.6466, allocations: 35.48 kB / 0.5815 GB, free: 6.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.459e-05/0.6467, allocations: 124.1 kB / 0.5816 GB, free: 6.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6467, allocations: 0 / 0.5816 GB, free: 6.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001286/0.648, allocations: 390.8 kB / 0.582 GB, free: 6.547 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.004925/0.6529, allocations: 2.381 MB / 0.5843 GB, free: 5.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.6547, allocations: 0.6553 MB / 0.585 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6548, allocations: 0 / 0.585 GB, free: 5.543 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6558, allocations: 0.535 MB / 0.5855 GB, free: 5.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.6566, allocations: 96.16 kB / 0.5856 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.6645, allocations: 4.243 MB / 0.5897 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.6649, allocations: 0.7796 MB / 0.5905 GB, free: 2.379 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008595/0.6658, allocations: 188.2 kB / 0.5907 GB, free: 2.285 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.6661, allocations: 127.5 kB / 0.5908 GB, free: 2.277 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6661, allocations: 4 kB / 0.5908 GB, free: 2.273 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/0.7187, allocations: 19.87 MB / 0.6102 GB, free: 4.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.43, allocations: 10.55 kB / 0.6102 GB, free: 4.16 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.1.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