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.002374/0.002374, allocations: 103 kB / 16.27 MB, free: 5.93 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.00223/0.00223, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.567/1.567, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2331/0.2331, allocations: 43.51 MB / 313.9 MB, free: 0.5234 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.00156/0.00156, allocations: 79.77 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4243/0.5462, allocations: 151.7 MB / 0.5784 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.5526, allocations: 6.223 MB / 0.5845 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.5528, allocations: 0 / 0.5845 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.5532, allocations: 83.47 kB / 0.5846 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006036/0.5593, allocations: 2.451 MB / 0.587 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.5596, allocations: 149.1 kB / 0.5871 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007969/0.5605, allocations: 0.5209 MB / 0.5876 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.933e-05/0.5605, allocations: 18.39 kB / 0.5877 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.5611, allocations: 246 kB / 0.5879 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008278/0.5619, allocations: 458.8 kB / 0.5883 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.562, allocations: 14.77 kB / 0.5884 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006166/0.5681, allocations: 3.069 MB / 0.5913 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.5683, allocations: 162.7 kB / 0.5915 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.5686, allocations: 216.7 kB / 0.5917 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.5735, allocations: 2.09 MB / 0.5938 GB, free: 8.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5736, allocations: 3.938 kB / 0.5938 GB, free: 8.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.5736, allocations: 0 / 0.5938 GB, free: 8.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.5736, allocations: 3.938 kB / 0.5938 GB, free: 8.871 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002569/0.5762, allocations: 0.9062 MB / 0.5946 GB, free: 8.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.5762, allocations: 14.17 kB / 0.5947 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.5764, allocations: 94.89 kB / 0.5947 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.5887, allocations: 1.249 MB / 0.596 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.5896, allocations: 376.9 kB / 0.5963 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.5898, allocations: 132.8 kB / 0.5965 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.59, allocations: 30.81 kB / 0.5965 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.5928, allocations: 1.442 MB / 0.5979 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5929, allocations: 4 kB / 0.5979 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.593, allocations: 15.09 kB / 0.5979 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.973e-05/0.5931, allocations: 50.25 kB / 0.598 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005422/0.5986, allocations: 2.635 MB / 0.6005 GB, free: 6.164 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.005003/0.6036, allocations: 3.682 MB / 0.6041 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.6038, allocations: 104.8 kB / 0.6042 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.6039, allocations: 55.89 kB / 0.6043 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003991/0.6079, allocations: 3.345 MB / 0.6075 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.608, allocations: 40.73 kB / 0.6076 GB, free: 40 kB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.495e-06/0.608, allocations: 0 / 0.6076 GB, free: 40 kB / 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=18): time 0.001523/0.6095, allocations: 413.4 kB / 0.608 GB, free: 15.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6096, allocations: 53.59 kB / 0.608 GB, free: 15.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.6099, allocations: 363.5 kB / 0.6084 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.61, allocations: 32.02 kB / 0.6084 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.6102, allocations: 358.7 kB / 0.6087 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.6102, allocations: 70.38 kB / 0.6088 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.6104, allocations: 159.2 kB / 0.609 GB, free: 15.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6105, allocations: 341 kB / 0.6093 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.6107, allocations: 119.7 kB / 0.6094 GB, free: 14.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.6113, allocations: 0.578 MB / 0.61 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.6121, allocations: 0.7498 MB / 0.6107 GB, free: 13.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6121, allocations: 6.188 kB / 0.6107 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001067/0.6132, allocations: 0.699 MB / 0.6114 GB, free: 12.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6132, allocations: 12.94 kB / 0.6114 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.6132, allocations: 21.23 kB / 0.6114 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.6133, allocations: 20 kB / 0.6114 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.6138, allocations: 190.5 kB / 0.6116 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003649/0.6142, allocations: 0.6128 MB / 0.6122 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.6146, allocations: 92.81 kB / 0.6123 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.6147, allocations: 70.8 kB / 0.6124 GB, free: 11.96 MB / 446.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.0002109/0.6149, allocations: 208.8 kB / 0.6126 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.615, allocations: 39.62 kB / 0.6126 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.6155, allocations: 239.7 kB / 0.6128 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6156, allocations: 4 kB / 0.6128 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.6156, allocations: 4 kB / 0.6129 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6156, allocations: 0 / 0.6129 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.6164, allocations: 0.6642 MB / 0.6135 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6164, allocations: 4 kB / 0.6135 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.6166, allocations: 32.14 kB / 0.6135 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.6166, allocations: 7.938 kB / 0.6135 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.6166, allocations: 7.562 kB / 0.6136 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002968/0.6169, allocations: 0.593 MB / 0.6141 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6169, allocations: 0 / 0.6141 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.6172, allocations: 271.4 kB / 0.6144 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6173, allocations: 120.6 kB / 0.6145 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.6174, allocations: 8 kB / 0.6145 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6177, allocations: 13.23 kB / 0.6145 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.6177, allocations: 19.92 kB / 0.6145 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.6177, allocations: 12 kB / 0.6146 GB, free: 9.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.618, allocations: 231 kB / 0.6148 GB, free: 9.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.618, allocations: 0 / 0.6148 GB, free: 9.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00145/0.6194, allocations: 391.7 kB / 0.6151 GB, free: 9.094 MB / 446.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.002531/0.622, allocations: 1.448 MB / 0.6166 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.6227, allocations: 343.5 kB / 0.6169 GB, free: 7.309 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6227, allocations: 7.938 kB / 0.6169 GB, free: 7.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.6228, allocations: 51.91 kB / 0.6169 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.6234, allocations: 72.61 kB / 0.617 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.6343, allocations: 8.065 MB / 0.6249 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.6347, allocations: 0.7884 MB / 0.6257 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.6354, allocations: 187.1 kB / 0.6258 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.6356, allocations: 115.4 kB / 0.626 GB, free: 13.84 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6356, allocations: 0 / 0.626 GB, free: 13.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.6732, allocations: 14.44 MB / 0.6401 GB, free: 15.39 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.19, allocations: 7.75 kB / 0.6401 GB, free: 15.39 MB / 478.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 & 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