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.00117/0.00117, allocations: 104.4 kB / 16.27 MB, free: 6.41 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.001312/0.001312, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.488/1.488, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2137/0.2137, allocations: 43.53 MB / 313.9 MB, free: 0.5117 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.001494/0.001494, allocations: 71.45 kB / 382.8 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.0978, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3878/0.4857, allocations: 151.4 MB / 0.5781 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.4902, allocations: 4.709 MB / 0.5827 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.4905, allocations: 6.719 kB / 0.5827 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.4909, allocations: 49.86 kB / 0.5828 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.4956, allocations: 1.555 MB / 0.5843 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.496, allocations: 145.2 kB / 0.5844 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.4967, allocations: 395.8 kB / 0.5848 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.4968, allocations: 19.78 kB / 0.5848 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.4972, allocations: 165.1 kB / 0.585 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.4976, allocations: 165.9 kB / 0.5851 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.4977, allocations: 7.562 kB / 0.5851 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.5007, allocations: 1.214 MB / 0.5863 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5008, allocations: 51.27 kB / 0.5864 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.5011, allocations: 104.5 kB / 0.5865 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.5043, allocations: 0.9714 MB / 0.5874 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5044, allocations: 0 / 0.5874 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5044, allocations: 0 / 0.5874 GB, free: 10.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.5044, allocations: 0 / 0.5874 GB, free: 10.71 MB / 430.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.001861/0.5063, allocations: 0.7216 MB / 0.5881 GB, free: 10.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5063, allocations: 17.94 kB / 0.5881 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.5064, allocations: 58.58 kB / 0.5882 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007949/0.5144, allocations: 0.5847 MB / 0.5888 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.515, allocations: 261.9 kB / 0.589 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.5152, allocations: 130.2 kB / 0.5891 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5154, allocations: 22.41 kB / 0.5892 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.5166, allocations: 0.5602 MB / 0.5897 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.5167, allocations: 2.875 kB / 0.5897 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.5168, allocations: 9.438 kB / 0.5897 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.5168, allocations: 7.531 kB / 0.5897 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.5183, allocations: 0.6345 MB / 0.5903 GB, free: 9.043 MB / 430.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.002324/0.5206, allocations: 1.64 MB / 0.5919 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.521, allocations: 159.5 kB / 0.5921 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.5212, allocations: 76.06 kB / 0.5922 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/0.5233, allocations: 2.077 MB / 0.5942 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.5233, allocations: 40 kB / 0.5942 GB, free: 5.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.5233, allocations: 0 / 0.5942 GB, free: 5.492 MB / 430.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.001021/0.5244, allocations: 342.9 kB / 0.5946 GB, free: 5.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.5244, allocations: 62.11 kB / 0.5946 GB, free: 5.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.5246, allocations: 175.1 kB / 0.5948 GB, free: 5.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.5247, allocations: 30.8 kB / 0.5948 GB, free: 5.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.5248, allocations: 174.7 kB / 0.595 GB, free: 5.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.5249, allocations: 77.92 kB / 0.5951 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.525, allocations: 86.69 kB / 0.5951 GB, free: 4.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5251, allocations: 332.3 kB / 0.5955 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.5253, allocations: 62.84 kB / 0.5955 GB, free: 4.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.5256, allocations: 270.5 kB / 0.5958 GB, free: 4.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.526, allocations: 373.4 kB / 0.5961 GB, free: 4.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.526, allocations: 2.094 kB / 0.5961 GB, free: 4.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005792/0.5266, allocations: 368.8 kB / 0.5965 GB, free: 3.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5266, allocations: 8.594 kB / 0.5965 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5267, allocations: 8.969 kB / 0.5965 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5267, allocations: 10.41 kB / 0.5965 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.5271, allocations: 120.7 kB / 0.5966 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003509/0.5274, allocations: 0.6076 MB / 0.5972 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.5277, allocations: 37.22 kB / 0.5973 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.5278, allocations: 40.89 kB / 0.5973 GB, free: 3.258 MB / 430.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.0002036/0.528, allocations: 151.5 kB / 0.5974 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.528, allocations: 18.5 kB / 0.5975 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.5288, allocations: 335.8 kB / 0.5978 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.5288, allocations: 0 / 0.5978 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5288, allocations: 0 / 0.5978 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5288, allocations: 2.688 kB / 0.5978 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007702/0.5296, allocations: 0.5263 MB / 0.5983 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5296, allocations: 6.812 kB / 0.5983 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5299, allocations: 61.11 kB / 0.5984 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5299, allocations: 3.312 kB / 0.5984 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.5299, allocations: 6.125 kB / 0.5984 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004024/0.5303, allocations: 0.6007 MB / 0.599 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5303, allocations: 3.938 kB / 0.599 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.5308, allocations: 273.2 kB / 0.5992 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.5309, allocations: 108.6 kB / 0.5993 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.531, allocations: 9.969 kB / 0.5993 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5313, allocations: 11.58 kB / 0.5993 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.5313, allocations: 22.08 kB / 0.5994 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.5314, allocations: 17.45 kB / 0.5994 GB, free: 1.586 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.5315, allocations: 141.8 kB / 0.5995 GB, free: 1.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5315, allocations: 0 / 0.5995 GB, free: 1.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009413/0.5325, allocations: 200.6 kB / 0.5997 GB, free: 1.465 MB / 430.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.001779/0.5343, allocations: 1.058 MB / 0.6007 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.5348, allocations: 230 kB / 0.601 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5348, allocations: 4.062 kB / 0.601 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.535, allocations: 81.7 kB / 0.601 GB, free: 0.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.5357, allocations: 78.22 kB / 0.6011 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/0.5422, allocations: 4.109 MB / 0.6051 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.5426, allocations: 0.7214 MB / 0.6058 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.5432, allocations: 99.5 kB / 0.6059 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.5433, allocations: 73.17 kB / 0.606 GB, free: 13.24 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5433, allocations: 0 / 0.606 GB, free: 13.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/0.7086, allocations: 8.786 MB / 0.6146 GB, free: 7.387 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.84, allocations: 7.875 kB / 0.6146 GB, free: 7.379 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches