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.001486/0.001486, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001833, allocations: 205.2 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.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2472, allocations: 50.53 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3567/0.604, allocations: 155.4 MB / 0.5509 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.6075, allocations: 4.036 MB / 0.5549 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.6077, allocations: 2.344 kB / 0.5549 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.6081, allocations: 107.8 kB / 0.555 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.6105, allocations: 1.188 MB / 0.5561 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.6113, allocations: 392.2 kB / 0.5565 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000488/0.6118, allocations: 458.6 kB / 0.5569 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.6119, allocations: 13.2 kB / 0.557 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.6123, allocations: 246.9 kB / 0.5572 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.6125, allocations: 144.7 kB / 0.5573 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.6125, allocations: 20.5 kB / 0.5573 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.6156, allocations: 2.072 MB / 0.5594 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.6157, allocations: 129.6 kB / 0.5595 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.6159, allocations: 167.9 kB / 0.5597 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.6179, allocations: 1.548 MB / 0.5612 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6179, allocations: 4 kB / 0.5612 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6179, allocations: 3.094 kB / 0.5612 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.6179, 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.002181/0.6201, allocations: 0.7826 MB / 0.5619 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6202, allocations: 8.781 kB / 0.5619 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.6203, allocations: 73.64 kB / 0.562 GB, free: 16.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.621, allocations: 109.6 kB / 0.5621 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.6214, allocations: 276.1 kB / 0.5624 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6214, allocations: 17.81 kB / 0.5624 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.6215, allocations: 29.84 kB / 0.5624 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.6225, allocations: 0.5969 MB / 0.563 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.6225, allocations: 2.25 kB / 0.563 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.6226, allocations: 14.28 kB / 0.563 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.6226, allocations: 19.94 kB / 0.563 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.6237, allocations: 0.6501 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.002602/0.6263, allocations: 1.268 MB / 0.5649 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.6272, allocations: 362.9 kB / 0.5653 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.6276, allocations: 171.9 kB / 0.5654 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002254/0.6299, allocations: 1.37 MB / 0.5668 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.6299, allocations: 47.47 kB / 0.5668 GB, free: 14.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.6299, allocations: 0 / 0.5668 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.01486/0.6448, allocations: 3.492 MB / 0.5702 GB, free: 13.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.6449, allocations: 83.08 kB / 0.5703 GB, free: 12.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.645, allocations: 185.1 kB / 0.5705 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.6451, allocations: 34.48 kB / 0.5705 GB, free: 12.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.6452, allocations: 179.9 kB / 0.5707 GB, free: 12.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.6454, allocations: 181.6 kB / 0.5709 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.6456, allocations: 118 kB / 0.571 GB, free: 12.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6457, allocations: 339.6 kB / 0.5713 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007372/0.6464, allocations: 266.5 kB / 0.5715 GB, free: 12.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.6473, allocations: 428.8 kB / 0.572 GB, free: 12.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.6488, allocations: 0.6957 MB / 0.5726 GB, free: 11.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6488, allocations: 3.406 kB / 0.5726 GB, free: 11.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001876/0.6507, allocations: 0.7845 MB / 0.5734 GB, free: 11.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6507, allocations: 6.844 kB / 0.5734 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6507, allocations: 3.219 kB / 0.5734 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.6509, allocations: 63 kB / 0.5735 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.6521, allocations: 177 kB / 0.5736 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006243/0.6527, allocations: 1.074 MB / 0.5747 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/0.6536, allocations: 54.88 kB / 0.5747 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.6536, allocations: 39.25 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.0002367/0.6539, allocations: 177.9 kB / 0.5749 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.654, allocations: 36.86 kB / 0.575 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.6561, allocations: 0.7746 MB / 0.5757 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.6561, allocations: 6.266 kB / 0.5757 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6561, allocations: 2.125 kB / 0.5757 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6561, allocations: 0 / 0.5757 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.6593, allocations: 1.571 MB / 0.5773 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6593, allocations: 3.594 kB / 0.5773 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6604, allocations: 145.4 kB / 0.5774 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.6605, allocations: 44.09 kB / 0.5775 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.6606, allocations: 28.17 kB / 0.5775 GB, free: 9.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.6622, allocations: 2.724 MB / 0.5802 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6622, allocations: 8.812 kB / 0.5802 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.6647, allocations: 1.074 MB / 0.5812 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.6648, allocations: 101.3 kB / 0.5813 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/0.6649, allocations: 18.69 kB / 0.5813 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.6657, allocations: 44.58 kB / 0.5814 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.6658, allocations: 47.7 kB / 0.5814 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.6659, allocations: 34.09 kB / 0.5814 GB, free: 6.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.763e-05/0.666, allocations: 129.4 kB / 0.5816 GB, free: 6.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.666, allocations: 3.938 kB / 0.5816 GB, free: 6.586 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001321/0.6673, allocations: 387.3 kB / 0.5819 GB, free: 6.539 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.004887/0.6722, allocations: 2.378 MB / 0.5843 GB, free: 5.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.674, allocations: 0.652 MB / 0.5849 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.674, allocations: 320 / 0.5849 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6751, allocations: 0.5349 MB / 0.5854 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.6759, allocations: 104.4 kB / 0.5855 GB, free: 5.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/0.6834, allocations: 4.247 MB / 0.5897 GB, free: 3.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.6838, allocations: 0.7845 MB / 0.5904 GB, free: 2.367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008474/0.6847, allocations: 186.3 kB / 0.5906 GB, free: 2.277 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.685, allocations: 126.4 kB / 0.5907 GB, free: 2.266 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.685, allocations: 0 / 0.5907 GB, free: 2.266 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04258/0.7276, allocations: 19.84 MB / 0.6101 GB, free: 4.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.21, allocations: 9.938 kB / 0.6101 GB, free: 4.121 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.csv","/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