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.001324/0.001324, allocations: 96.14 kB / 15.87 MB, free: 16 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.001355/0.001355, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.518/1.518, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.3063/0.3063, allocations: 43.5 MB / 313.5 MB, free: 8.562 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.00181/0.00181, allocations: 71.89 kB / 382.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1183, allocations: 57.78 MB / 439.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3311/0.4494, allocations: 149.5 MB / 0.5756 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007162/0.4566, allocations: 6.411 MB / 0.5818 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.4568, allocations: 0 / 0.5818 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.4573, allocations: 79.62 kB / 0.5819 GB, free: 456 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.463, allocations: 2.259 MB / 0.5841 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.4634, allocations: 139.2 kB / 0.5842 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.4643, allocations: 0.7517 MB / 0.585 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.4644, allocations: 12.31 kB / 0.585 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.4648, allocations: 231.1 kB / 0.5852 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.4656, allocations: 0.5103 MB / 0.5857 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.4657, allocations: 8 kB / 0.5857 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006555/0.4722, allocations: 3.865 MB / 0.5895 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.4724, allocations: 163.5 kB / 0.5896 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.4727, allocations: 207 kB / 0.5898 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004534/0.4772, allocations: 2.358 MB / 0.5921 GB, free: 5.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4772, allocations: 0 / 0.5921 GB, free: 5.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4773, allocations: 4 kB / 0.5922 GB, free: 5.953 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4773, allocations: 0 / 0.5922 GB, free: 5.953 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.002379/0.4797, allocations: 0.9202 MB / 0.5931 GB, free: 4.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.4797, allocations: 12.03 kB / 0.5931 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/0.4798, allocations: 82.72 kB / 0.5931 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4909, allocations: 1.255 MB / 0.5944 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/0.4916, allocations: 374.8 kB / 0.5947 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.4918, allocations: 135.8 kB / 0.5949 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.4919, allocations: 28 kB / 0.5949 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.4944, allocations: 1.441 MB / 0.5963 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4945, allocations: 0 / 0.5963 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.4946, allocations: 16 kB / 0.5963 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.4947, allocations: 56.97 kB / 0.5964 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/0.5, allocations: 2.634 MB / 0.5989 GB, free: 14.87 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.004338/0.5044, allocations: 3.676 MB / 0.6025 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.5046, allocations: 110.5 kB / 0.6026 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.5047, allocations: 45 kB / 0.6027 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00366/0.5084, allocations: 3.347 MB / 0.6059 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5084, allocations: 38.56 kB / 0.606 GB, free: 6.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 3.216e-06/0.5084, allocations: 0 / 0.606 GB, free: 6.699 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.001294/0.5097, allocations: 410.4 kB / 0.6064 GB, free: 6.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.5098, allocations: 51.41 kB / 0.6064 GB, free: 6.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.5101, allocations: 360.1 kB / 0.6068 GB, free: 5.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5101, allocations: 33.69 kB / 0.6068 GB, free: 5.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.5103, allocations: 353.3 kB / 0.6071 GB, free: 5.488 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.5104, allocations: 75.08 kB / 0.6072 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.5105, allocations: 158.4 kB / 0.6073 GB, free: 5.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5107, allocations: 338.8 kB / 0.6077 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.5109, allocations: 125.9 kB / 0.6078 GB, free: 4.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.5113, allocations: 0.5781 MB / 0.6084 GB, free: 3.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.512, allocations: 0.7558 MB / 0.6091 GB, free: 3.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.512, allocations: 8 kB / 0.6091 GB, free: 2.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009583/0.513, allocations: 0.6847 MB / 0.6098 GB, free: 2.305 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5131, allocations: 19.88 kB / 0.6098 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5131, allocations: 16 kB / 0.6098 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.5131, allocations: 24 kB / 0.6098 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.5136, allocations: 191.7 kB / 0.61 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003359/0.5139, allocations: 0.6178 MB / 0.6106 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.5143, allocations: 91.06 kB / 0.6107 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.5144, allocations: 63.94 kB / 0.6108 GB, free: 1.266 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.0001963/0.5146, allocations: 217.3 kB / 0.611 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.5147, allocations: 31.62 kB / 0.611 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.5152, allocations: 252.8 kB / 0.6112 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5152, allocations: 0 / 0.6112 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5152, allocations: 0 / 0.6112 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5152, allocations: 7.062 kB / 0.6112 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.516, allocations: 0.6693 MB / 0.6119 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.516, allocations: 0 / 0.6119 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5161, allocations: 31.98 kB / 0.6119 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5162, allocations: 7.938 kB / 0.6119 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.5162, allocations: 12.09 kB / 0.612 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002904/0.5165, allocations: 0.582 MB / 0.6125 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5165, allocations: 4.031 kB / 0.6125 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.5168, allocations: 271.5 kB / 0.6128 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.5169, allocations: 120.7 kB / 0.6129 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.517, allocations: 11.92 kB / 0.6129 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.5172, allocations: 8 kB / 0.6129 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.5173, allocations: 19.92 kB / 0.6129 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.5173, allocations: 15.98 kB / 0.6129 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.5175, allocations: 231 kB / 0.6132 GB, free: 14.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.5175, allocations: 0 / 0.6132 GB, free: 14.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00128/0.5188, allocations: 403.6 kB / 0.6136 GB, free: 14.22 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.002438/0.5212, allocations: 1.436 MB / 0.615 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.5218, allocations: 349.7 kB / 0.6153 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5219, allocations: 0 / 0.6153 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.522, allocations: 53.53 kB / 0.6153 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.5226, allocations: 81.44 kB / 0.6154 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.5328, allocations: 8.201 MB / 0.6234 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.5333, allocations: 0.7902 MB / 0.6242 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006157/0.5339, allocations: 173 kB / 0.6244 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.5341, allocations: 115.3 kB / 0.6245 GB, free: 2.438 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5341, allocations: 3.938 kB / 0.6245 GB, free: 2.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2023/0.7363, allocations: 14.18 MB / 0.6383 GB, free: 154.6 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.7365, allocations: 279.4 kB / 0.6386 GB, free: 154.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.024, allocations: 4 kB / 0.6386 GB, free: 154.3 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