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.00698/0.00698, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.00149/0.00149, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.508/1.508, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3512/0.3512, allocations: 43.49 MB / 313.5 MB, free: 8.484 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.001359/0.001359, allocations: 67.91 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3361/0.438, allocations: 149.1 MB / 0.5752 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.4432, allocations: 4.831 MB / 0.58 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.4434, allocations: 0 / 0.58 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.4437, allocations: 47.72 kB / 0.58 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.4469, allocations: 1.354 MB / 0.5813 GB, free: 0.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.4472, allocations: 141.1 kB / 0.5815 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.4477, allocations: 470 kB / 0.5819 GB, free: 164 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.4477, allocations: 13.69 kB / 0.5819 GB, free: 152 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.448, allocations: 163.4 kB / 0.5821 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.4483, allocations: 179.4 kB / 0.5822 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.4483, allocations: 8 kB / 0.5823 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.4504, allocations: 1.224 MB / 0.5835 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.4504, allocations: 43.81 kB / 0.5835 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4506, allocations: 111.5 kB / 0.5836 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.4519, allocations: 0.9784 MB / 0.5846 GB, free: 13.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4519, allocations: 3.984 kB / 0.5846 GB, free: 13.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.4519, allocations: 0 / 0.5846 GB, free: 13.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4519, allocations: 0 / 0.5846 GB, free: 13.44 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.00129/0.4532, allocations: 0.7216 MB / 0.5853 GB, free: 12.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4533, allocations: 8.031 kB / 0.5853 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.4533, allocations: 58.73 kB / 0.5853 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/0.4606, allocations: 0.5952 MB / 0.5859 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.461, allocations: 264.1 kB / 0.5862 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4612, allocations: 127.2 kB / 0.5863 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.4613, allocations: 20 kB / 0.5863 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4624, allocations: 0.5634 MB / 0.5869 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4624, allocations: 0 / 0.5869 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.4625, allocations: 16 kB / 0.5869 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.4625, allocations: 8 kB / 0.5869 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.4639, allocations: 0.626 MB / 0.5875 GB, free: 10.3 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.002283/0.4662, allocations: 1.647 MB / 0.5891 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.4666, allocations: 158.4 kB / 0.5892 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.4668, allocations: 76.86 kB / 0.5893 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002177/0.469, allocations: 2.078 MB / 0.5913 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.469, allocations: 42.55 kB / 0.5914 GB, free: 5.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.469, allocations: 0 / 0.5914 GB, free: 5.809 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.001026/0.4701, allocations: 337.8 kB / 0.5917 GB, free: 5.473 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4701, allocations: 55.41 kB / 0.5918 GB, free: 5.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4703, allocations: 182.2 kB / 0.5919 GB, free: 5.215 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.4703, allocations: 29.7 kB / 0.592 GB, free: 5.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4704, allocations: 171.4 kB / 0.5921 GB, free: 5.008 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.4705, allocations: 74.98 kB / 0.5922 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4706, allocations: 85.97 kB / 0.5923 GB, free: 4.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4708, allocations: 338.8 kB / 0.5926 GB, free: 4.504 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4709, allocations: 56.72 kB / 0.5927 GB, free: 4.449 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.4712, allocations: 267.8 kB / 0.5929 GB, free: 4.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.4716, allocations: 378.9 kB / 0.5933 GB, free: 3.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4717, allocations: 0 / 0.5933 GB, free: 3.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005695/0.4722, allocations: 367.1 kB / 0.5936 GB, free: 3.266 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4723, allocations: 8 kB / 0.5936 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4723, allocations: 8 kB / 0.5936 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4723, allocations: 8 kB / 0.5936 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.4727, allocations: 124.3 kB / 0.5938 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003564/0.4731, allocations: 0.6015 MB / 0.5944 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.4733, allocations: 47.78 kB / 0.5944 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.4734, allocations: 43.98 kB / 0.5944 GB, free: 2.406 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.000141/0.4735, allocations: 145.7 kB / 0.5946 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.4736, allocations: 16.31 kB / 0.5946 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/0.4744, allocations: 331.5 kB / 0.5949 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.4744, allocations: 8.625 kB / 0.5949 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4744, allocations: 3.938 kB / 0.5949 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4744, allocations: 0 / 0.5949 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.4751, allocations: 0.5146 MB / 0.5954 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4751, allocations: 7.125 kB / 0.5954 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.4754, allocations: 68.05 kB / 0.5955 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4754, allocations: 0 / 0.5955 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.4754, allocations: 7.938 kB / 0.5955 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002961/0.4757, allocations: 0.5937 MB / 0.5961 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.4757, allocations: 11.91 kB / 0.5961 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4761, allocations: 266.4 kB / 0.5964 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.4762, allocations: 112.8 kB / 0.5965 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4763, allocations: 8 kB / 0.5965 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4765, allocations: 7.984 kB / 0.5965 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.4765, allocations: 27.86 kB / 0.5965 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.4766, allocations: 19.98 kB / 0.5965 GB, free: 116 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4767, allocations: 141.2 kB / 0.5967 GB, free: 15.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4767, allocations: 0 / 0.5967 GB, free: 15.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006804/0.4774, allocations: 196 kB / 0.5968 GB, free: 15.79 MB / 478.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.001317/0.4787, allocations: 1.064 MB / 0.5979 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.4792, allocations: 220.3 kB / 0.5981 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4792, allocations: 0 / 0.5981 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.4794, allocations: 83.83 kB / 0.5982 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.48, allocations: 71.78 kB / 0.5982 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.4848, allocations: 4.189 MB / 0.6023 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.4851, allocations: 0.7245 MB / 0.603 GB, free: 9.113 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.4856, allocations: 102.1 kB / 0.6031 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4858, allocations: 71.41 kB / 0.6032 GB, free: 8.941 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4858, allocations: 0 / 0.6032 GB, free: 8.941 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.5093, allocations: 8.547 MB / 0.6115 GB, free: 460 kB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.5096, allocations: 266.3 kB / 0.6118 GB, free: 92 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.401, allocations: 3.938 kB / 0.6118 GB, free: 88 kB / 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