Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",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.001198/0.001198, allocations: 101.4 kB / 16.4 MB, free: 6.438 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.001131/0.001131, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2048/0.2048, allocations: 43.53 MB / 314.1 MB, free: 452 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.002464/0.002464, allocations: 69.47 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1528, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.005504/0.1584, allocations: 1.866 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1608, allocations: 0.8421 MB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.161, allocations: 0 / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.1615, allocations: 55.66 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.1621, allocations: 83.58 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1626, allocations: 87.7 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.1632, allocations: 258.7 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1633, allocations: 40.34 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1636, allocations: 103.5 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.1639, allocations: 123.4 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.164, allocations: 4 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.1644, allocations: 123.8 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.1645, allocations: 59.75 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1647, allocations: 103.2 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.1653, allocations: 294.7 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1654, allocations: 8 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1654, allocations: 0 / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1654, allocations: 0 / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001216/0.1666, allocations: 0.5611 MB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1667, allocations: 8.031 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1668, allocations: 62.73 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1669, allocations: 32.69 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1673, allocations: 239.6 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.1674, allocations: 28.92 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.1675, allocations: 27.94 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1685, allocations: 377.2 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1686, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.1686, allocations: 8 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-05/0.1687, allocations: 28.64 kB / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.1697, allocations: 370.3 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.172, allocations: 0.8428 MB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.1729, allocations: 254.3 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.1733, allocations: 104.8 kB / 0.4942 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.1734, allocations: 7.922 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.1734, allocations: 42.56 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.715e-06/0.1735, allocations: 0 / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001344/0.1748, allocations: 335.3 kB / 0.4946 GB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1749, allocations: 51.41 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/0.1755, allocations: 342.8 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.1756, allocations: 29.7 kB / 0.495 GB, free: 4.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.1758, allocations: 168.2 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.618e-05/0.1759, allocations: 55.55 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.1761, allocations: 65.88 kB / 0.4953 GB, free: 4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1763, allocations: 338.8 kB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.1767, allocations: 96.36 kB / 0.4957 GB, free: 3.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.1772, allocations: 191.9 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.1782, allocations: 314.4 kB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1782, allocations: 0 / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001149/0.1793, allocations: 341.3 kB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.1794, allocations: 11.98 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1794, allocations: 7.938 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.1795, allocations: 4 kB / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1805, allocations: 123.9 kB / 0.4966 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.1837, allocations: 3.649 MB / 0.5002 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.1841, allocations: 43.66 kB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.1842, allocations: 16 kB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004384/0.1846, allocations: 185.4 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1848, allocations: 28 kB / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.186, allocations: 331.4 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.186, allocations: 4 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.186, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.186, allocations: 3.984 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.1867, allocations: 301.4 kB / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1867, allocations: 0 / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/0.1876, allocations: 107.9 kB / 0.5012 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.1876, allocations: 0 / 0.5012 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.1876, allocations: 8 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.191, allocations: 3.661 MB / 0.5047 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.191, allocations: 0 / 0.5047 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.192, allocations: 343.1 kB / 0.5051 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.1921, allocations: 104.9 kB / 0.5052 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.1922, allocations: 11.94 kB / 0.5052 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.1926, allocations: 16.08 kB / 0.5052 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.1927, allocations: 11.98 kB / 0.5052 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.1927, allocations: 8 kB / 0.5052 GB, free: 9.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004173/0.1932, allocations: 245.9 kB / 0.5054 GB, free: 9.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1932, allocations: 0 / 0.5054 GB, free: 9.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007098/0.1939, allocations: 79.88 kB / 0.5055 GB, free: 9.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.1954, allocations: 0.9071 MB / 0.5064 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.1971, allocations: 327.4 kB / 0.5067 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1971, allocations: 0 / 0.5067 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1982, allocations: 196.5 kB / 0.5069 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.199, allocations: 60.8 kB / 0.507 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006737/0.2058, allocations: 3.377 MB / 0.5103 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.2063, allocations: 0.7911 MB / 0.511 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.2067, allocations: 74.91 kB / 0.5111 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2069, allocations: 79.41 kB / 0.5112 GB, free: 3.008 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2069, allocations: 0 / 0.5112 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.2465, allocations: 8.602 MB / 0.5196 GB, free: 10.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.77, allocations: 8.453 kB / 0.5196 GB, free: 10.39 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches