Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 59.91 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.092, allocations: 53.33 MB / 426.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3419/0.4339, allocations: 155.9 MB / 0.5685 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.4388, allocations: 4.043 MB / 0.5725 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.4389, allocations: 0 / 0.5725 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004638/0.4394, allocations: 115.4 kB / 0.5726 GB, free: 456 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.4421, allocations: 1.172 MB / 0.5737 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.4431, allocations: 399.8 kB / 0.5741 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00064/0.4438, allocations: 454.9 kB / 0.5745 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.4438, allocations: 6.094 kB / 0.5745 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.4443, allocations: 258.3 kB / 0.5748 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.4445, allocations: 151.5 kB / 0.5749 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.4445, allocations: 16 kB / 0.575 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.4484, allocations: 2.173 MB / 0.5771 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.4486, allocations: 143.6 kB / 0.5772 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.4488, allocations: 167.4 kB / 0.5774 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.4512, allocations: 1.543 MB / 0.5789 GB, free: 9.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4512, allocations: 0 / 0.5789 GB, free: 9.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4512, allocations: 3.938 kB / 0.5789 GB, free: 9.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4512, allocations: 0 / 0.5789 GB, free: 9.984 MB / 494.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.002213/0.4534, allocations: 0.7905 MB / 0.5797 GB, free: 9.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4534, allocations: 8.031 kB / 0.5797 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.743e-05/0.4535, allocations: 70.66 kB / 0.5797 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.4542, allocations: 112.7 kB / 0.5798 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.4546, allocations: 275.2 kB / 0.5801 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.4547, allocations: 25.12 kB / 0.5801 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.4547, allocations: 28 kB / 0.5802 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4559, allocations: 0.5887 MB / 0.5807 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4559, allocations: 0 / 0.5807 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.4559, allocations: 12 kB / 0.5807 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.456, allocations: 24.42 kB / 0.5808 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.4574, allocations: 0.6423 MB / 0.5814 GB, free: 7.312 MB / 494.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.003031/0.4604, allocations: 1.281 MB / 0.5826 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.4614, allocations: 346 kB / 0.583 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.4619, allocations: 169.6 kB / 0.5831 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/0.4645, allocations: 1.365 MB / 0.5845 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.4645, allocations: 42.5 kB / 0.5845 GB, free: 3.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.415e-06/0.4645, allocations: 4 kB / 0.5845 GB, free: 3.809 MB / 494.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.0159/0.4804, allocations: 3.492 MB / 0.5879 GB, free: 124 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4805, allocations: 85.05 kB / 0.588 GB, free: 20 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4807, allocations: 187.2 kB / 0.5882 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.4807, allocations: 33.7 kB / 0.5882 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4808, allocations: 176.6 kB / 0.5884 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.481, allocations: 186.4 kB / 0.5886 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.4813, allocations: 114.3 kB / 0.5887 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4814, allocations: 338.8 kB / 0.589 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.4822, allocations: 265.1 kB / 0.5892 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/0.4831, allocations: 421.5 kB / 0.5896 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.4849, allocations: 0.7047 MB / 0.5903 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4849, allocations: 0 / 0.5903 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00212/0.487, allocations: 0.7827 MB / 0.5911 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.487, allocations: 8 kB / 0.5911 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.487, allocations: 4 kB / 0.5911 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.4873, allocations: 53.62 kB / 0.5912 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4884, allocations: 182 kB / 0.5913 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007481/0.4892, allocations: 1.078 MB / 0.5924 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/0.49, allocations: 43.89 kB / 0.5924 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.4901, allocations: 39.98 kB / 0.5925 GB, free: 11.21 MB / 0.4981 GB 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.0002616/0.4903, allocations: 175.6 kB / 0.5926 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.4904, allocations: 31.81 kB / 0.5927 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.4928, allocations: 0.7903 MB / 0.5934 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4928, allocations: 4 kB / 0.5934 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4928, allocations: 4 kB / 0.5934 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4928, allocations: 3.984 kB / 0.5934 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.4963, allocations: 1.552 MB / 0.595 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4963, allocations: 4.219 kB / 0.595 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4974, allocations: 151.7 kB / 0.5951 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.4976, allocations: 41.69 kB / 0.5952 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.4976, allocations: 23.97 kB / 0.5952 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.4997, allocations: 2.732 MB / 0.5978 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4997, allocations: 8.156 kB / 0.5978 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.5024, allocations: 1.076 MB / 0.5989 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.5025, allocations: 96.97 kB / 0.599 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.5026, allocations: 15.94 kB / 0.599 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.5034, allocations: 43.94 kB / 0.5991 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.5035, allocations: 55.8 kB / 0.5991 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.5036, allocations: 35.97 kB / 0.5991 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001032/0.5037, allocations: 124.4 kB / 0.5993 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5e-08/0.5037, allocations: 0 / 0.5993 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001345/0.5051, allocations: 391.2 kB / 0.5996 GB, free: 3.422 MB / 0.4981 GB 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.005369/0.5104, allocations: 2.369 MB / 0.6019 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.5125, allocations: 0.6401 MB / 0.6026 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5125, allocations: 0 / 0.6026 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.5137, allocations: 0.5216 MB / 0.6031 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.5144, allocations: 113.2 kB / 0.6032 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/0.5229, allocations: 4.244 MB / 0.6073 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5233, allocations: 0.7813 MB / 0.6081 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008381/0.5241, allocations: 191.1 kB / 0.6083 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.5245, allocations: 127.4 kB / 0.6084 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.5245, allocations: 0 / 0.6084 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2233/0.7479, allocations: 19.89 MB / 0.6278 GB, free: 175 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.74, allocations: 5.094 kB / 0.6278 GB, free: 175 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.344251679023728]