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.001114/0.001114, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001165/0.001165, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2084/0.2084, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 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.001727/0.001728, allocations: 69.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1155, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4182/0.5337, allocations: 151.7 MB / 0.6356 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006273/0.54, allocations: 6.237 MB / 0.6417 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.5402, allocations: 0 / 0.6417 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.5406, allocations: 83.55 kB / 0.6417 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.5461, allocations: 2.478 MB / 0.6442 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.5465, allocations: 143.8 kB / 0.6443 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.5472, allocations: 0.51 MB / 0.6448 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.5473, allocations: 24.25 kB / 0.6448 GB, free: 9.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.5478, allocations: 246 kB / 0.6451 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008523/0.5486, allocations: 466.6 kB / 0.6455 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.5487, allocations: 12 kB / 0.6455 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006321/0.555, allocations: 2.985 MB / 0.6484 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.5553, allocations: 175.5 kB / 0.6486 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.5558, allocations: 211 kB / 0.6488 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.5612, allocations: 2.022 MB / 0.6508 GB, free: 3.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5612, allocations: 0 / 0.6508 GB, free: 3.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5612, allocations: 0 / 0.6508 GB, free: 3.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.5612, allocations: 0 / 0.6508 GB, free: 3.648 MB / 494.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.002555/0.5638, allocations: 0.938 MB / 0.6517 GB, free: 2.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5639, allocations: 11.89 kB / 0.6517 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.564, allocations: 78.72 kB / 0.6518 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.5676, allocations: 496.1 kB / 0.6522 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.5684, allocations: 371.8 kB / 0.6526 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.5686, allocations: 131.8 kB / 0.6527 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.5688, allocations: 32 kB / 0.6528 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5704, allocations: 1.109 MB / 0.6538 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5705, allocations: 8 kB / 0.6538 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5706, allocations: 19.56 kB / 0.6539 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/0.5707, allocations: 56.91 kB / 0.6539 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.5738, allocations: 2.264 MB / 0.6561 GB, free: 14 MB / 0.4981 GB 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.003579/0.5774, allocations: 2.484 MB / 0.6586 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.5776, allocations: 126.6 kB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.5778, allocations: 68.95 kB / 0.6587 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003939/0.5817, allocations: 3.349 MB / 0.662 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.5818, allocations: 38.55 kB / 0.662 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.5818, allocations: 0 / 0.662 GB, free: 7.254 MB / 0.4981 GB 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=22): time 0.00117/0.583, allocations: 365.3 kB / 0.6624 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.583, allocations: 51.41 kB / 0.6624 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.5833, allocations: 348.2 kB / 0.6628 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.5834, allocations: 33.7 kB / 0.6628 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.5836, allocations: 354.9 kB / 0.6631 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.5837, allocations: 91.27 kB / 0.6632 GB, free: 6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.5838, allocations: 162.5 kB / 0.6634 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5839, allocations: 338.8 kB / 0.6637 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.5842, allocations: 125.9 kB / 0.6638 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.5847, allocations: 0.5686 MB / 0.6644 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008465/0.5855, allocations: 0.765 MB / 0.6651 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.5856, allocations: 4 kB / 0.6651 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001338/0.5869, allocations: 0.7283 MB / 0.6658 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.5869, allocations: 12 kB / 0.6659 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.587, allocations: 20.03 kB / 0.6659 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.587, allocations: 31.94 kB / 0.6659 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.5875, allocations: 179.7 kB / 0.6661 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.5879, allocations: 0.621 MB / 0.6667 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.5884, allocations: 87.36 kB / 0.6668 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.5885, allocations: 63.98 kB / 0.6668 GB, free: 1.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002275/0.5887, allocations: 221.2 kB / 0.667 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.5891, allocations: 87.73 kB / 0.6671 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.5896, allocations: 272.8 kB / 0.6674 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5896, allocations: 0 / 0.6674 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.5896, allocations: 4 kB / 0.6674 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5896, allocations: 0 / 0.6674 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009673/0.5906, allocations: 0.735 MB / 0.6681 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5906, allocations: 4.094 kB / 0.6681 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.5908, allocations: 51.84 kB / 0.6682 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5908, allocations: 4.875 kB / 0.6682 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5908, allocations: 7.938 kB / 0.6682 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000331/0.5911, allocations: 0.5902 MB / 0.6688 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5912, allocations: 7.938 kB / 0.6688 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.5915, allocations: 306.9 kB / 0.6691 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.5917, allocations: 124.8 kB / 0.6692 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.5918, allocations: 7.953 kB / 0.6692 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.592, allocations: 16.8 kB / 0.6692 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.5921, allocations: 19.92 kB / 0.6692 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.5921, allocations: 16 kB / 0.6692 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002359/0.5924, allocations: 231 kB / 0.6694 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5924, allocations: 0 / 0.6694 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001278/0.5936, allocations: 391.1 kB / 0.6698 GB, free: 14.55 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.002617/0.5963, allocations: 1.492 MB / 0.6713 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006187/0.5969, allocations: 362.3 kB / 0.6716 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5969, allocations: 0 / 0.6716 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.5971, allocations: 65.41 kB / 0.6717 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.5977, allocations: 100 kB / 0.6718 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6087, allocations: 8.818 MB / 0.6804 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.609, allocations: 0.7879 MB / 0.6812 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.6095, allocations: 159.3 kB / 0.6813 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.6097, allocations: 115.4 kB / 0.6814 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.6097, allocations: 4 kB / 0.6814 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.6469, allocations: 14.84 MB / 0.6959 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.03, allocations: 11.94 kB / 0.6959 GB, free: 3.156 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches