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.001549/0.001549, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001661/0.001661, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.425/1.425, allocations: 230.6 MB / 254.8 MB, free: 15.09 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09812, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3729/0.471, allocations: 155.9 MB / 0.5692 GB, free: 4.562 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00486/0.4759, allocations: 4.047 MB / 0.5732 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.4761, allocations: 4 kB / 0.5732 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.4765, allocations: 115.4 kB / 0.5733 GB, free: 404 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.4795, allocations: 1.174 MB / 0.5744 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4806, allocations: 392.8 kB / 0.5748 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.4813, allocations: 462.8 kB / 0.5752 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.4813, allocations: 6.094 kB / 0.5752 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004802/0.4818, allocations: 255 kB / 0.5755 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.482, allocations: 143.5 kB / 0.5756 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.4821, allocations: 16 kB / 0.5756 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/0.4864, allocations: 2.182 MB / 0.5778 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.4866, allocations: 139.6 kB / 0.5779 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.4868, allocations: 171.3 kB / 0.5781 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.4893, allocations: 1.543 MB / 0.5796 GB, free: 9.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4893, allocations: 3.938 kB / 0.5796 GB, free: 9.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4893, allocations: 0 / 0.5796 GB, free: 9.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.4893, allocations: 0 / 0.5796 GB, free: 9.934 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.002272/0.4916, allocations: 0.7866 MB / 0.5803 GB, free: 9.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.4917, allocations: 12.03 kB / 0.5804 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.098e-05/0.4917, allocations: 8.75 kB / 0.5804 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.891e-05/0.4918, allocations: 66.73 kB / 0.5804 GB, free: 9.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.4925, allocations: 109.1 kB / 0.5805 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.4929, allocations: 282.6 kB / 0.5808 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.4929, allocations: 24.56 kB / 0.5808 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.493, allocations: 24 kB / 0.5808 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.4941, allocations: 0.5938 MB / 0.5814 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4941, allocations: 0 / 0.5814 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.4942, allocations: 12 kB / 0.5814 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.4942, allocations: 20.44 kB / 0.5815 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.4956, allocations: 0.6385 MB / 0.5821 GB, free: 7.262 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.00291/0.4985, allocations: 1.283 MB / 0.5833 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4995, allocations: 348.9 kB / 0.5837 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.5, allocations: 170.4 kB / 0.5838 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002439/0.5024, allocations: 1.369 MB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5025, allocations: 42.5 kB / 0.5852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.5025, allocations: 0 / 0.5852 GB, free: 3.75 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.01545/0.5179, allocations: 3.501 MB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.518, allocations: 89.03 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.5182, allocations: 179.2 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.5182, allocations: 37.64 kB / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.5183, allocations: 180.6 kB / 0.5891 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.5185, allocations: 182.5 kB / 0.5893 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.5187, allocations: 118.2 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.5189, allocations: 334.8 kB / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/0.5197, allocations: 265.1 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009037/0.5206, allocations: 425.5 kB / 0.5904 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.5223, allocations: 0.6913 MB / 0.591 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5223, allocations: 4 kB / 0.591 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002103/0.5244, allocations: 0.7828 MB / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5244, allocations: 10.34 kB / 0.5918 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5244, allocations: 4 kB / 0.5918 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.5247, allocations: 65.56 kB / 0.5919 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.5258, allocations: 171.8 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.5266, allocations: 1.074 MB / 0.5931 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/0.5273, allocations: 52.08 kB / 0.5931 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-05/0.5274, allocations: 39.97 kB / 0.5932 GB, free: 11.14 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.0002688/0.5277, allocations: 177.6 kB / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5278, allocations: 28.81 kB / 0.5934 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.5301, allocations: 0.7746 MB / 0.5941 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5301, allocations: 7.984 kB / 0.5941 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5301, allocations: 4 kB / 0.5941 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5301, allocations: 0 / 0.5941 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.5335, allocations: 1.56 MB / 0.5957 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.5335, allocations: 3.938 kB / 0.5957 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5346, allocations: 152 kB / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.5348, allocations: 45.25 kB / 0.5959 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.5348, allocations: 27.97 kB / 0.5959 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.5368, allocations: 2.726 MB / 0.5985 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5368, allocations: 4.031 kB / 0.5985 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.5395, allocations: 1.077 MB / 0.5996 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.5396, allocations: 100.9 kB / 0.5997 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.5397, allocations: 20 kB / 0.5997 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.5405, allocations: 35.95 kB / 0.5997 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.5405, allocations: 51.77 kB / 0.5998 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.5406, allocations: 31.97 kB / 0.5998 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001048/0.5407, allocations: 132.4 kB / 0.6 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5407, allocations: 0 / 0.6 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001378/0.5421, allocations: 391.2 kB / 0.6003 GB, free: 3.363 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.005291/0.5474, allocations: 2.374 MB / 0.6026 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.5494, allocations: 0.6323 MB / 0.6033 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.5494, allocations: 0 / 0.6033 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.5506, allocations: 0.5293 MB / 0.6038 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.5514, allocations: 105.2 kB / 0.6039 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008394/0.5598, allocations: 4.24 MB / 0.608 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.5602, allocations: 0.7852 MB / 0.6088 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007893/0.561, allocations: 183.1 kB / 0.609 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.5614, allocations: 135.3 kB / 0.6091 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of SimCode: time 7.02e-07/0.5614, allocations: 0 / 0.6091 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2384/0.7998, allocations: 19.93 MB / 0.6286 GB, free: 175 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.94, allocations: 10.39 kB / 0.6286 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.881736761017237]