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.00127/0.001271, allocations: 104.2 kB / 16.4 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.001351/0.001351, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2041/0.2041, allocations: 43.52 MB / 314.1 MB, free: 456 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.001373/0.001373, allocations: 73.47 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003398/0.11, allocations: 1.873 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1116, allocations: 0.842 MB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1118, allocations: 0 / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1121, allocations: 55.66 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.1125, allocations: 87.56 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1128, allocations: 75.73 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.1131, allocations: 270.7 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.1132, allocations: 32.38 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1134, allocations: 99.44 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1136, allocations: 115.5 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1136, allocations: 8 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.1139, allocations: 123.8 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.941e-05/0.114, allocations: 55.75 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1141, allocations: 111.2 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.1146, allocations: 294.8 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1146, allocations: 0 / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1146, allocations: 4 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1147, allocations: 0 / 0.4914 GB, free: 8.211 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.001137/0.1158, allocations: 0.5459 MB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1159, allocations: 12.03 kB / 0.4919 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.735e-05/0.116, allocations: 70.7 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.1161, allocations: 28.56 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1164, allocations: 239.8 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1164, allocations: 24.92 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1165, allocations: 27.92 kB / 0.4923 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.1171, allocations: 373.3 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1172, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.1172, allocations: 12 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.1173, allocations: 24.64 kB / 0.4927 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.1179, allocations: 374.2 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1193, allocations: 0.8385 MB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.1197, allocations: 258.3 kB / 0.4941 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1199, allocations: 108.6 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.12, allocations: 4 kB / 0.4942 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.12, allocations: 34.56 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.12, allocations: 0 / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007228/0.1207, allocations: 337.1 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.1208, allocations: 51.41 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.1213, allocations: 335 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1214, allocations: 29.7 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1215, allocations: 172 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.1216, allocations: 67.08 kB / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1217, allocations: 53.94 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1218, allocations: 338.8 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.1221, allocations: 104.3 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.1224, allocations: 188 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.123, allocations: 306.6 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.123, allocations: 0 / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006162/0.1236, allocations: 349.2 kB / 0.4964 GB, free: 2.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.1236, allocations: 8 kB / 0.4965 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1236, allocations: 0 / 0.4965 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1237, allocations: 7.938 kB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.1242, allocations: 123.9 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.1262, allocations: 3.657 MB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.1264, allocations: 35.58 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.1264, allocations: 16 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.0002806/0.1267, allocations: 189.4 kB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.1268, allocations: 27.7 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.1274, allocations: 327.6 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1275, allocations: 0 / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1275, allocations: 0 / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1275, allocations: 7.984 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1278, allocations: 289.5 kB / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1278, allocations: 0 / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.1283, allocations: 115.9 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.1283, allocations: 4 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1283, allocations: 7.984 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.1301, allocations: 3.649 MB / 0.5047 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1301, allocations: 3.938 kB / 0.5047 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.1306, allocations: 351 kB / 0.505 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.1307, allocations: 108.7 kB / 0.5051 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.1308, allocations: 3.938 kB / 0.5051 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.1309, allocations: 20.08 kB / 0.5052 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.131, allocations: 11.98 kB / 0.5052 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.131, allocations: 8 kB / 0.5052 GB, free: 9.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.1313, allocations: 249.9 kB / 0.5054 GB, free: 9.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1313, allocations: 0 / 0.5054 GB, free: 9.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1317, allocations: 71.91 kB / 0.5055 GB, free: 9.051 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.0009188/0.1326, allocations: 0.9108 MB / 0.5064 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008771/0.1335, allocations: 327.5 kB / 0.5067 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1335, allocations: 3.938 kB / 0.5067 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.1341, allocations: 184.5 kB / 0.5069 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1345, allocations: 68.8 kB / 0.5069 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.1383, allocations: 3.362 MB / 0.5102 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1387, allocations: 0.795 MB / 0.511 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1389, allocations: 70.92 kB / 0.5111 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.139, allocations: 79.39 kB / 0.5111 GB, free: 3.055 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.139, allocations: 4 kB / 0.5111 GB, free: 3.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1655, allocations: 8.763 MB / 0.5197 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.27, 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