Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",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.001043/0.001043, allocations: 103.2 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.3 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 223.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3358/0.3358, allocations: 43.58 MB / 315 MB, free: 8.699 MB / 254.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.0004693/0.0004695, allocations: 12 kB / 384.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3637/0.4712, allocations: 147.2 MB / 0.5769 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.4764, allocations: 4.755 MB / 0.5816 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.4765, allocations: 0 / 0.5816 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.4768, allocations: 47.73 kB / 0.5816 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.4804, allocations: 1.363 MB / 0.5829 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.4807, allocations: 131.7 kB / 0.5831 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.4813, allocations: 462 kB / 0.5835 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.4813, allocations: 13.67 kB / 0.5835 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.4816, allocations: 167.3 kB / 0.5837 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.4819, allocations: 179.4 kB / 0.5838 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.4819, allocations: 8 kB / 0.5838 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.4843, allocations: 1.22 MB / 0.585 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.4844, allocations: 47.75 kB / 0.5851 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.4845, allocations: 137.2 kB / 0.5852 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.4859, allocations: 0.9784 MB / 0.5862 GB, free: 14.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.486, allocations: 0 / 0.5862 GB, free: 14.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.486, allocations: 0 / 0.5862 GB, free: 14.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.486, allocations: 0 / 0.5862 GB, free: 14.5 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00128/0.4873, allocations: 0.6549 MB / 0.5868 GB, free: 13.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4873, allocations: 12.03 kB / 0.5868 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.4874, allocations: 66.66 kB / 0.5869 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00761/0.495, allocations: 0.5913 MB / 0.5875 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.4955, allocations: 264 kB / 0.5877 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.4957, allocations: 135.3 kB / 0.5878 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.4958, allocations: 20 kB / 0.5879 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.497, allocations: 0.5595 MB / 0.5884 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.497, allocations: 0 / 0.5884 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.4971, allocations: 12 kB / 0.5884 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.4972, allocations: 4 kB / 0.5884 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.4986, allocations: 0.6338 MB / 0.589 GB, free: 11.42 MB / 462.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.002168/0.5008, allocations: 1.628 MB / 0.5906 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.5012, allocations: 166.5 kB / 0.5908 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5013, allocations: 72.88 kB / 0.5909 GB, free: 9.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002267/0.5036, allocations: 2.086 MB / 0.5929 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.5037, allocations: 34.56 kB / 0.5929 GB, free: 6.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.5037, allocations: 4 kB / 0.5929 GB, free: 6.941 MB / 462.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.001116/0.5048, allocations: 334 kB / 0.5933 GB, free: 6.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5049, allocations: 51.41 kB / 0.5933 GB, free: 6.547 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.5051, allocations: 186.2 kB / 0.5935 GB, free: 6.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.5051, allocations: 33.7 kB / 0.5935 GB, free: 6.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.5053, allocations: 183.3 kB / 0.5937 GB, free: 6.129 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.5054, allocations: 70.94 kB / 0.5938 GB, free: 6.059 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.5054, allocations: 37.7 kB / 0.5938 GB, free: 6.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5056, allocations: 330.8 kB / 0.5941 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.5058, allocations: 64.7 kB / 0.5942 GB, free: 5.621 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.5061, allocations: 259.8 kB / 0.5944 GB, free: 5.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.5066, allocations: 374.1 kB / 0.5948 GB, free: 4.812 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5066, allocations: 4 kB / 0.5948 GB, free: 4.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006038/0.5072, allocations: 366 kB / 0.5951 GB, free: 4.445 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5072, allocations: 8.906 kB / 0.5951 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5073, allocations: 8 kB / 0.5951 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.5073, allocations: 8 kB / 0.5951 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.5077, allocations: 123.9 kB / 0.5953 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005079/0.5082, allocations: 0.6093 MB / 0.5959 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.5084, allocations: 48.09 kB / 0.5959 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.5085, allocations: 35.98 kB / 0.5959 GB, free: 3.586 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.5087, allocations: 145.8 kB / 0.5961 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.5087, allocations: 23.75 kB / 0.5961 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.5096, allocations: 326.6 kB / 0.5964 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5096, allocations: 7.938 kB / 0.5964 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5096, allocations: 0 / 0.5964 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5096, allocations: 0 / 0.5964 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.5104, allocations: 0.5269 MB / 0.5969 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5104, allocations: 0 / 0.5969 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.5106, allocations: 55.97 kB / 0.597 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5106, allocations: 4 kB / 0.597 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.5107, allocations: 7.984 kB / 0.597 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003927/0.5111, allocations: 0.597 MB / 0.5976 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5111, allocations: 3.938 kB / 0.5976 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.5115, allocations: 282.2 kB / 0.5979 GB, free: 1.477 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.5116, allocations: 120.7 kB / 0.598 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.5117, allocations: 0 / 0.598 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.5119, allocations: 15.98 kB / 0.598 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.512, allocations: 15.92 kB / 0.598 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.512, allocations: 19.98 kB / 0.598 GB, free: 1.289 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.5121, allocations: 141.2 kB / 0.5982 GB, free: 1.152 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5121, allocations: 0 / 0.5982 GB, free: 1.152 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.513, allocations: 196 kB / 0.5983 GB, free: 0.9609 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001533/0.5145, allocations: 1.081 MB / 0.5994 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004972/0.515, allocations: 213.2 kB / 0.5996 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.515, allocations: 4.25 kB / 0.5996 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.5152, allocations: 87.83 kB / 0.5997 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.5158, allocations: 70.73 kB / 0.5998 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.5214, allocations: 4.215 MB / 0.6039 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.5218, allocations: 0.7245 MB / 0.6046 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.5223, allocations: 106.2 kB / 0.6047 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.5225, allocations: 71.41 kB / 0.6047 GB, free: 10.07 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5225, allocations: 0 / 0.6047 GB, free: 10.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.5451, allocations: 8.434 MB / 0.613 GB, free: 1.703 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.5454, allocations: 261.4 kB / 0.6132 GB, free: 1.348 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.629, allocations: 0 / 0.6132 GB, free: 1.348 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches