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.001631/0.001631, allocations: 104.1 kB / 17.58 MB, free: 5.555 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.00199/0.00199, allocations: 192.1 kB / 18.51 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001907/0.001908, allocations: 47.92 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1482, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.617/0.7652, allocations: 154.3 MB / 481.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006699/0.772, allocations: 3.047 MB / 484.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.7724, allocations: 4 kB / 484.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.7732, allocations: 99.45 kB / 484.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.778, allocations: 1.18 MB / 486 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.7797, allocations: 381.2 kB / 486.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.7808, allocations: 458.7 kB / 486.8 MB, free: 7.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.7809, allocations: 13.56 kB / 486.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.7818, allocations: 231 kB / 487 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.7823, allocations: 139.5 kB / 487.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.812e-05/0.7824, allocations: 16 kB / 487.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007191/0.7896, allocations: 2.131 MB / 489.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.79, allocations: 135.7 kB / 489.4 MB, free: 4.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.7906, allocations: 171.3 kB / 489.6 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.7959, allocations: 1.563 MB / 491.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.796, allocations: 4 kB / 491.2 MB, free: 3.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.796, allocations: 3.938 kB / 491.2 MB, free: 3.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.691e-05/0.796, allocations: 0 / 491.2 MB, free: 3.242 MB / 382.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.00457/0.8006, allocations: 0.7574 MB / 491.9 MB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.251e-05/0.8007, allocations: 12.03 kB / 491.9 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/0.8009, allocations: 74.7 kB / 492 MB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.8049, allocations: 272.8 kB / 492.3 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.8057, allocations: 291.6 kB / 492.6 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.8057, allocations: 16.56 kB / 492.6 MB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.8059, allocations: 28 kB / 492.6 MB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.8081, allocations: 0.6667 MB / 493.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.8082, allocations: 0 / 493.3 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.8083, allocations: 12 kB / 493.3 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.8084, allocations: 24.42 kB / 493.3 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.8111, allocations: 0.7628 MB / 494.1 MB, free: 236 kB / 382.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.006733/0.8178, allocations: 1.825 MB / 495.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.8199, allocations: 476.8 kB / 496.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/0.8209, allocations: 234.4 kB / 496.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004072/0.825, allocations: 1.391 MB / 498 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.751e-05/0.8251, allocations: 42.56 kB / 498 MB, free: 11.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 6.562e-06/0.8251, allocations: 0 / 498 MB, free: 11.93 MB / 398.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.02206/0.8472, allocations: 3.709 MB / 0.49 GB, free: 8.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.8473, allocations: 81.11 kB / 0.4901 GB, free: 7.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.8476, allocations: 182.5 kB / 0.4902 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-05/0.8477, allocations: 29.7 kB / 0.4903 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.8479, allocations: 180.1 kB / 0.4904 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.8482, allocations: 177.5 kB / 0.4906 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003812/0.8486, allocations: 118.3 kB / 0.4907 GB, free: 7.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.8488, allocations: 334.8 kB / 0.491 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.85, allocations: 265.1 kB / 0.4913 GB, free: 6.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.8515, allocations: 437.5 kB / 0.4917 GB, free: 6.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.8543, allocations: 0.703 MB / 0.4924 GB, free: 5.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.8543, allocations: 4 kB / 0.4924 GB, free: 5.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003353/0.8577, allocations: 0.78 MB / 0.4932 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.8577, allocations: 11.12 kB / 0.4932 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.8578, allocations: 4 kB / 0.4932 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.8581, allocations: 62.31 kB / 0.4932 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.8599, allocations: 175.7 kB / 0.4934 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.861, allocations: 1.081 MB / 0.4945 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.8622, allocations: 43.89 kB / 0.4945 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.8624, allocations: 43.91 kB / 0.4945 GB, free: 3.094 MB / 398.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.0004223/0.8628, allocations: 177.8 kB / 0.4947 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.8631, allocations: 27.72 kB / 0.4947 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.8668, allocations: 0.7745 MB / 0.4955 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8668, allocations: 4 kB / 0.4955 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.8668, allocations: 0 / 0.4955 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.8668, allocations: 4 kB / 0.4955 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.8722, allocations: 1.558 MB / 0.497 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.8722, allocations: 4 kB / 0.497 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.8739, allocations: 139.8 kB / 0.4972 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.8741, allocations: 45.91 kB / 0.4972 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8742, allocations: 27.91 kB / 0.4972 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.8771, allocations: 2.734 MB / 0.4999 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8771, allocations: 0 / 0.4999 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/0.8813, allocations: 1.084 MB / 0.501 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.8815, allocations: 100.8 kB / 0.501 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.8817, allocations: 20.03 kB / 0.5011 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.883, allocations: 31.97 kB / 0.5011 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.8831, allocations: 43.97 kB / 0.5011 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.8833, allocations: 39.97 kB / 0.5012 GB, free: 11.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.8834, allocations: 120.4 kB / 0.5013 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8834, allocations: 3.938 kB / 0.5013 GB, free: 11.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002534/0.886, allocations: 395.8 kB / 0.5017 GB, free: 11.32 MB / 414.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.0097/0.8957, allocations: 2.381 MB / 0.504 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.899, allocations: 0.6677 MB / 0.5047 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-05/0.8991, allocations: 4.5 kB / 0.5047 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.9009, allocations: 0.5454 MB / 0.5052 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.9025, allocations: 99.84 kB / 0.5053 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.9162, allocations: 4.195 MB / 0.5094 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.917, allocations: 0.7928 MB / 0.5102 GB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002131/0.9191, allocations: 183.1 kB / 0.5103 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.9198, allocations: 127.4 kB / 0.5104 GB, free: 1.961 MB / 414.1 MB Notification: Performance of SimCode: time 1.924e-06/0.9199, allocations: 0 / 0.5104 GB, free: 1.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08028/1, allocations: 19.33 MB / 0.5293 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/22.28, allocations: 12.48 kB / 0.5293 GB, free: 14.51 MB / 446.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/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