Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.0008427/0.0008429, allocations: 96.94 kB / 16.02 MB, free: 84 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.001012/0.001012, allocations: 176.1 kB / 16.91 MB, free: 6.648 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.433/1.433, allocations: 205.4 MB / 223.1 MB, free: 5.219 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.3911/0.3911, allocations: 43.57 MB / 315 MB, free: 8.941 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.000479/0.000479, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4332/0.5557, allocations: 147.6 MB / 0.5772 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00757/0.5634, allocations: 6.311 MB / 0.5834 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.5636, allocations: 0 / 0.5834 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.564, allocations: 79.67 kB / 0.5835 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.5706, allocations: 2.258 MB / 0.5857 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.5709, allocations: 134.8 kB / 0.5858 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.5718, allocations: 0.7498 MB / 0.5865 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.5719, allocations: 20.31 kB / 0.5866 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004176/0.5723, allocations: 227.1 kB / 0.5868 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008936/0.5732, allocations: 0.5103 MB / 0.5873 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.5732, allocations: 8 kB / 0.5873 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008164/0.5814, allocations: 3.869 MB / 0.5911 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.5816, allocations: 163.5 kB / 0.5912 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.5819, allocations: 236.7 kB / 0.5914 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004838/0.5868, allocations: 2.346 MB / 0.5937 GB, free: 6.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5868, allocations: 0 / 0.5937 GB, free: 6.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5868, allocations: 0 / 0.5937 GB, free: 6.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5868, allocations: 0 / 0.5937 GB, free: 6.598 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002261/0.5891, allocations: 0.8425 MB / 0.5946 GB, free: 5.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5892, allocations: 8.031 kB / 0.5946 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.5893, allocations: 87.52 kB / 0.5947 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.6008, allocations: 1.266 MB / 0.5959 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007411/0.6016, allocations: 367.8 kB / 0.5962 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.6017, allocations: 135.8 kB / 0.5964 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6019, allocations: 32 kB / 0.5964 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.6045, allocations: 1.437 MB / 0.5978 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.6045, allocations: 3.938 kB / 0.5978 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.6047, allocations: 16.5 kB / 0.5978 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/0.6048, allocations: 56.95 kB / 0.5979 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/0.6101, allocations: 2.634 MB / 0.6005 GB, free: 15.58 MB / 478.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.004708/0.6149, allocations: 3.673 MB / 0.604 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.6151, allocations: 110.7 kB / 0.6041 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.6152, allocations: 44.94 kB / 0.6042 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00381/0.619, allocations: 3.324 MB / 0.6074 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.619, allocations: 38.5 kB / 0.6075 GB, free: 7.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.619, allocations: 3.938 kB / 0.6075 GB, free: 7.438 MB / 478.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=18): time 0.001336/0.6204, allocations: 406.5 kB / 0.6079 GB, free: 7.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.6204, allocations: 55.41 kB / 0.6079 GB, free: 6.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.6208, allocations: 356.1 kB / 0.6083 GB, free: 6.617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.6208, allocations: 29.7 kB / 0.6083 GB, free: 6.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.6211, allocations: 361.3 kB / 0.6086 GB, free: 6.223 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.6211, allocations: 71.09 kB / 0.6087 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.6212, allocations: 61.69 kB / 0.6088 GB, free: 6.086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6213, allocations: 342.8 kB / 0.6091 GB, free: 5.742 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.6215, allocations: 121.9 kB / 0.6092 GB, free: 5.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.622, allocations: 0.5703 MB / 0.6098 GB, free: 4.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.6228, allocations: 0.7569 MB / 0.6105 GB, free: 3.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.6228, allocations: 11.94 kB / 0.6105 GB, free: 3.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001036/0.6238, allocations: 0.6923 MB / 0.6112 GB, free: 3.133 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.6239, allocations: 12 kB / 0.6112 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.6239, allocations: 16 kB / 0.6112 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.6239, allocations: 24 kB / 0.6112 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.6245, allocations: 187.7 kB / 0.6114 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003958/0.6249, allocations: 0.6139 MB / 0.612 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.6253, allocations: 103.2 kB / 0.6121 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.6254, allocations: 67.94 kB / 0.6122 GB, free: 2.094 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * 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.0002369/0.6257, allocations: 205.4 kB / 0.6124 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.6258, allocations: 31.62 kB / 0.6124 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/0.6263, allocations: 244.9 kB / 0.6126 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6263, allocations: 3.984 kB / 0.6126 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6264, allocations: 0.625 kB / 0.6126 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6264, allocations: 0 / 0.6126 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.6273, allocations: 0.6693 MB / 0.6133 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6274, allocations: 0 / 0.6133 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.6275, allocations: 41.03 kB / 0.6133 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/0.6275, allocations: 3.938 kB / 0.6133 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6276, allocations: 4 kB / 0.6133 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004116/0.628, allocations: 0.5901 MB / 0.6139 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.628, allocations: 8.062 kB / 0.6139 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.6284, allocations: 274.8 kB / 0.6142 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.6285, allocations: 124.7 kB / 0.6143 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.6286, allocations: 4 kB / 0.6143 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.6289, allocations: 8.562 kB / 0.6143 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.6289, allocations: 19.86 kB / 0.6143 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.6289, allocations: 11.98 kB / 0.6143 GB, free: 15.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.6292, allocations: 235 kB / 0.6146 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6292, allocations: 0 / 0.6146 GB, free: 15.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001875/0.6311, allocations: 403.6 kB / 0.615 GB, free: 15.06 MB / 494.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 (14): * Single equations (assignments): 13 * 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.002685/0.6338, allocations: 1.452 MB / 0.6164 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008541/0.6347, allocations: 347.5 kB / 0.6167 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.6347, allocations: 0 / 0.6167 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.6348, allocations: 51.91 kB / 0.6168 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.6356, allocations: 73.83 kB / 0.6168 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.6482, allocations: 8.243 MB / 0.6249 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.6486, allocations: 0.7879 MB / 0.6256 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006856/0.6493, allocations: 177.5 kB / 0.6258 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.6495, allocations: 115.4 kB / 0.6259 GB, free: 3.227 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6495, allocations: 0 / 0.6259 GB, free: 3.227 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2458/0.8953, allocations: 14.06 MB / 0.6396 GB, free: 150.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.8955, allocations: 283.4 kB / 0.6399 GB, free: 150 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.177, allocations: 0 / 0.6399 GB, free: 150 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches