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.001544/0.001544, allocations: 101 kB / 16.27 MB, free: 6.344 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.001653/0.001654, allocations: 193.2 kB / 17.2 MB, free: 5.945 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.67/1.67, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2052/0.2052, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001498/0.001498, allocations: 76.94 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4507/0.5581, allocations: 151.4 MB / 0.5781 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.5625, allocations: 4.715 MB / 0.5827 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.5626, allocations: 3.031 kB / 0.5827 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.5629, allocations: 54.41 kB / 0.5828 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.5665, allocations: 1.539 MB / 0.5843 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.5668, allocations: 146.4 kB / 0.5844 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.5673, allocations: 394.6 kB / 0.5848 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.5673, allocations: 23.03 kB / 0.5848 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.5676, allocations: 169.2 kB / 0.585 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.5679, allocations: 166.7 kB / 0.5851 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.5679, allocations: 10.16 kB / 0.5851 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.5704, allocations: 1.21 MB / 0.5863 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.5705, allocations: 51.09 kB / 0.5864 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.5706, allocations: 105.6 kB / 0.5865 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.5722, allocations: 0.9701 MB / 0.5874 GB, free: 10.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5722, allocations: 0 / 0.5874 GB, free: 10.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5723, allocations: 0 / 0.5874 GB, free: 10.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5723, allocations: 0 / 0.5874 GB, free: 10.75 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.001345/0.5736, allocations: 0.719 MB / 0.5881 GB, free: 10.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5737, allocations: 13.98 kB / 0.5881 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.5737, allocations: 60.25 kB / 0.5882 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00786/0.5816, allocations: 0.59 MB / 0.5888 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.5821, allocations: 263.3 kB / 0.589 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.5822, allocations: 132.5 kB / 0.5891 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.5823, allocations: 22.06 kB / 0.5892 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5835, allocations: 0.5565 MB / 0.5897 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5835, allocations: 1.781 kB / 0.5897 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.5836, allocations: 10 kB / 0.5897 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5836, allocations: 7.688 kB / 0.5897 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.5851, allocations: 0.6366 MB / 0.5903 GB, free: 9.074 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.002383/0.5875, allocations: 1.643 MB / 0.5919 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.5879, allocations: 158.3 kB / 0.5921 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.5881, allocations: 73.41 kB / 0.5922 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002256/0.5903, allocations: 2.078 MB / 0.5942 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5904, allocations: 45.06 kB / 0.5942 GB, free: 5.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 2.215e-06/0.5904, allocations: 0 / 0.5942 GB, free: 5.516 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.001028/0.5914, allocations: 343.4 kB / 0.5946 GB, free: 5.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5915, allocations: 53.81 kB / 0.5946 GB, free: 5.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.5916, allocations: 178.8 kB / 0.5948 GB, free: 5.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.5917, allocations: 28.95 kB / 0.5948 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5918, allocations: 177.4 kB / 0.595 GB, free: 5.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.5918, allocations: 74.56 kB / 0.5951 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.592, allocations: 84 kB / 0.5951 GB, free: 4.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5921, allocations: 330.5 kB / 0.5954 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.5922, allocations: 71.77 kB / 0.5955 GB, free: 4.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.5925, allocations: 263 kB / 0.5958 GB, free: 4.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.593, allocations: 372.2 kB / 0.5961 GB, free: 4.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.593, allocations: 2.812 kB / 0.5961 GB, free: 4.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005801/0.5936, allocations: 363.5 kB / 0.5965 GB, free: 3.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5936, allocations: 15.42 kB / 0.5965 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5937, allocations: 7.5 kB / 0.5965 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.5937, allocations: 10.09 kB / 0.5965 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5941, allocations: 119.9 kB / 0.5966 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000356/0.5944, allocations: 0.6057 MB / 0.5972 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5947, allocations: 37.94 kB / 0.5972 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.5947, allocations: 38.41 kB / 0.5973 GB, free: 3.289 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.0001421/0.5949, allocations: 156.1 kB / 0.5974 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.5949, allocations: 18.03 kB / 0.5974 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.5957, allocations: 328.8 kB / 0.5978 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5957, allocations: 6.109 kB / 0.5978 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5957, allocations: 3.938 kB / 0.5978 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5957, allocations: 0 / 0.5978 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.5964, allocations: 0.5315 MB / 0.5983 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5964, allocations: 0 / 0.5983 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.5966, allocations: 60.64 kB / 0.5983 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5966, allocations: 0 / 0.5983 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5966, allocations: 7.531 kB / 0.5984 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002995/0.5969, allocations: 0.6061 MB / 0.5989 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5969, allocations: 5.719 kB / 0.599 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.5973, allocations: 276.3 kB / 0.5992 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.5974, allocations: 106.7 kB / 0.5993 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.5974, allocations: 12.5 kB / 0.5993 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.5977, allocations: 12.98 kB / 0.5993 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.5977, allocations: 19.45 kB / 0.5994 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.5977, allocations: 20.17 kB / 0.5994 GB, free: 1.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5979, allocations: 133.2 kB / 0.5995 GB, free: 1.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5979, allocations: 0 / 0.5995 GB, free: 1.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007001/0.5986, allocations: 201.3 kB / 0.5997 GB, free: 1.488 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.001283/0.5999, allocations: 1.062 MB / 0.6007 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.6004, allocations: 227.5 kB / 0.601 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6004, allocations: 2.844 kB / 0.601 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6006, allocations: 85.77 kB / 0.601 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.6012, allocations: 70.31 kB / 0.6011 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.6061, allocations: 4.116 MB / 0.6051 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.6064, allocations: 0.7214 MB / 0.6058 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005438/0.607, allocations: 104.3 kB / 0.6059 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.6071, allocations: 72.44 kB / 0.606 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6071, allocations: 0 / 0.606 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.637, allocations: 8.79 MB / 0.6146 GB, free: 7.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.12, allocations: 11.8 kB / 0.6146 GB, free: 7.387 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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