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.001115/0.001115, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001174/0.001174, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2027/0.2027, allocations: 43.52 MB / 314.1 MB, free: 460 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.001682/0.001682, allocations: 71.89 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1376, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.005588/0.1432, allocations: 1.873 MB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1457, allocations: 0.8459 MB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1459, allocations: 0 / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.1464, allocations: 51.66 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.1469, allocations: 87.56 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.1475, allocations: 79.72 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005128/0.148, allocations: 266.7 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1481, allocations: 32.36 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.1484, allocations: 103.4 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.1488, allocations: 119.5 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.1489, allocations: 8 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1493, allocations: 119.8 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1494, allocations: 59.75 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.1496, allocations: 107.2 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.1503, allocations: 294.8 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1503, allocations: 0 / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1503, allocations: 0 / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1503, allocations: 0 / 0.4913 GB, free: 8.227 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.001347/0.1517, allocations: 0.561 MB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.1518, allocations: 12.03 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.1519, allocations: 66.72 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.152, allocations: 28.56 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.1525, allocations: 235.8 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.1526, allocations: 20.92 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.1527, allocations: 27.94 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.1537, allocations: 377.2 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1538, allocations: 0 / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.1538, allocations: 12 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.1539, allocations: 24.58 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1551, allocations: 382.2 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1575, allocations: 0.8346 MB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.1585, allocations: 258.3 kB / 0.4941 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.1589, allocations: 100.7 kB / 0.4942 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.1589, allocations: 4 kB / 0.4942 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.159, allocations: 30.56 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 5.841e-06/0.159, allocations: 4 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001404/0.1604, allocations: 333.1 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1605, allocations: 59.41 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.1612, allocations: 331 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.1612, allocations: 29.7 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1614, allocations: 171.9 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1616, allocations: 63.09 kB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1617, allocations: 57.94 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.162, allocations: 338.8 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.1624, allocations: 104.3 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.1629, allocations: 188 kB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/0.1639, allocations: 310.6 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1639, allocations: 0 / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001125/0.1651, allocations: 344.8 kB / 0.4964 GB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1651, allocations: 4.375 kB / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1651, allocations: 8 kB / 0.4965 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.1652, allocations: 7.938 kB / 0.4965 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.1662, allocations: 119.9 kB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.1693, allocations: 3.657 MB / 0.5001 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.1697, allocations: 43.62 kB / 0.5002 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.1698, allocations: 15.98 kB / 0.5002 GB, free: 14.7 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.0004053/0.1702, allocations: 189.4 kB / 0.5004 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.1703, allocations: 27.7 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.1714, allocations: 327.5 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1714, allocations: 0 / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1714, allocations: 3.984 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1714, allocations: 0 / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.172, allocations: 293.5 kB / 0.501 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.172, allocations: 4 kB / 0.501 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.1726, allocations: 111.8 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1727, allocations: 0 / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1727, allocations: 15.98 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.1751, allocations: 3.641 MB / 0.5047 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1751, allocations: 4.094 kB / 0.5047 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.1759, allocations: 351 kB / 0.505 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.176, allocations: 104.8 kB / 0.5051 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.1761, allocations: 7.938 kB / 0.5051 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1763, allocations: 7.984 kB / 0.5051 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.1764, allocations: 15.98 kB / 0.5052 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.1765, allocations: 8 kB / 0.5052 GB, free: 9.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000327/0.1768, allocations: 249.9 kB / 0.5054 GB, free: 9.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1768, allocations: 4 kB / 0.5054 GB, free: 9.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1772, allocations: 75.91 kB / 0.5055 GB, free: 9.062 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.0009346/0.1782, allocations: 0.907 MB / 0.5064 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.1791, allocations: 331.9 kB / 0.5067 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1791, allocations: 3.938 kB / 0.5067 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.1797, allocations: 183.8 kB / 0.5069 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1801, allocations: 65.17 kB / 0.5069 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.1844, allocations: 3.362 MB / 0.5102 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1848, allocations: 0.795 MB / 0.511 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.185, allocations: 78.89 kB / 0.5111 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1852, allocations: 79.41 kB / 0.5111 GB, free: 3.062 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1852, allocations: 3.938 kB / 0.5111 GB, free: 3.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.2156, allocations: 8.759 MB / 0.5197 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.74, allocations: 8.328 kB / 0.5197 GB, free: 10.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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