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.001064/0.001064, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001196/0.001196, allocations: 192.2 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.3/1.3, 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.1909/0.1909, allocations: 43.53 MB / 314.1 MB, free: 448 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.001354/0.001354, allocations: 69.45 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09872, allocations: 57.78 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.002732/0.1015, allocations: 1.877 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1027, allocations: 0.842 MB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.1028, allocations: 0 / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.103, allocations: 47.67 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1033, allocations: 95.55 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1035, allocations: 75.73 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1038, allocations: 262.7 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.1039, allocations: 44.34 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.104, allocations: 99.44 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1042, allocations: 115.5 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1042, allocations: 7.938 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1044, allocations: 119.8 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.1045, allocations: 63.73 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.33e-05/0.1046, allocations: 103.2 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.105, allocations: 302.7 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.105, allocations: 0 / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.105, allocations: 4 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.105, allocations: 0 / 0.4914 GB, free: 8.188 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.0007472/0.1058, allocations: 0.5533 MB / 0.4919 GB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1058, allocations: 8.031 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.1059, allocations: 70.7 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.1059, allocations: 28.75 kB / 0.492 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1062, allocations: 247.5 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1062, allocations: 16.94 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.1062, allocations: 27.94 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.1068, allocations: 381.2 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1068, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1069, allocations: 8 kB / 0.4927 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.1069, allocations: 24.64 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.1075, allocations: 370.3 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1087, allocations: 0.8428 MB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.1091, allocations: 261.9 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.1093, allocations: 104.8 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1094, allocations: 4 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1094, allocations: 38.56 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1094, allocations: 3.938 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007316/0.1101, allocations: 329.2 kB / 0.4946 GB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1102, allocations: 55.34 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1105, allocations: 346.8 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1105, allocations: 25.7 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1106, allocations: 168.2 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.1107, allocations: 67.52 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.1108, allocations: 61.89 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1109, allocations: 338.8 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1111, allocations: 96.36 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.1114, allocations: 191.9 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.1118, allocations: 310.6 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1119, allocations: 0 / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005812/0.1124, allocations: 337.4 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1125, allocations: 12 kB / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1125, allocations: 4 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1125, allocations: 4 kB / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.1131, allocations: 127.8 kB / 0.4966 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1147, allocations: 3.653 MB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1149, allocations: 39.67 kB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.115, allocations: 19.98 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.0002302/0.1152, allocations: 193.4 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1153, allocations: 27.81 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.1159, allocations: 323.5 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1159, allocations: 4 kB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1159, allocations: 3.984 kB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1159, allocations: 0 / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.1162, allocations: 301.4 kB / 0.501 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1163, allocations: 0 / 0.501 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.1167, allocations: 111.9 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1167, allocations: 0 / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1168, allocations: 7.984 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.1184, allocations: 3.657 MB / 0.5047 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1184, allocations: 0 / 0.5047 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.1189, allocations: 343.2 kB / 0.5051 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.119, allocations: 104.9 kB / 0.5052 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.119, allocations: 11.88 kB / 0.5052 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1192, allocations: 20.08 kB / 0.5052 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1192, allocations: 11.98 kB / 0.5052 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1193, allocations: 8 kB / 0.5052 GB, free: 9.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.1195, allocations: 245.9 kB / 0.5054 GB, free: 9.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1195, allocations: 0 / 0.5054 GB, free: 9.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1199, allocations: 75.88 kB / 0.5055 GB, free: 9.008 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.0008629/0.1207, allocations: 0.907 MB / 0.5064 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.1216, allocations: 327.4 kB / 0.5067 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1216, allocations: 0 / 0.5067 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.1222, allocations: 188.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.0004071/0.1226, allocations: 68.78 kB / 0.507 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.1264, allocations: 3.377 MB / 0.5103 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1268, allocations: 0.7911 MB / 0.511 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.127, allocations: 82.89 kB / 0.5111 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1271, allocations: 75.34 kB / 0.5112 GB, free: 2.996 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1271, allocations: 4 kB / 0.5112 GB, free: 2.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.1537, allocations: 8.595 MB / 0.5196 GB, free: 10.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.06, allocations: 12.33 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