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.001228/0.001228, allocations: 105.3 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.001157/0.001157, allocations: 189.5 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.37/1.37, 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.2172/0.2172, allocations: 43.54 MB / 314.1 MB, free: 444 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.001984/0.001984, allocations: 73.45 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, 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.003334/0.1192, allocations: 1.873 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1207, allocations: 0.8418 MB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1207, allocations: 0 / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.121, allocations: 51.67 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1213, allocations: 87.56 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1216, allocations: 87.69 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.122, allocations: 262.7 kB / 0.4905 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.1221, allocations: 28.38 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1222, allocations: 107.4 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1224, allocations: 115.4 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1225, allocations: 8 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.1227, allocations: 123.8 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.1228, allocations: 59.73 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.123, allocations: 107.2 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1234, allocations: 294.7 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1234, allocations: 0 / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1234, allocations: 0 / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1234, allocations: 8 kB / 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.0008499/0.1243, allocations: 0.5572 MB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1243, allocations: 8.031 kB / 0.4919 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.163e-05/0.1244, allocations: 66.72 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.1245, allocations: 32.69 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1248, allocations: 236 kB / 0.4922 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1248, allocations: 20.92 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.1249, allocations: 27.94 kB / 0.4923 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.1255, allocations: 385.2 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1255, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1255, allocations: 8 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.1256, allocations: 28.64 kB / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.1262, allocations: 370.3 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.1275, allocations: 0.8389 MB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.1281, allocations: 262.1 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.1283, allocations: 104.8 kB / 0.4942 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1283, allocations: 4 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1284, allocations: 34.56 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1284, allocations: 8 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007795/0.1292, allocations: 329.2 kB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1292, allocations: 51.41 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.1296, allocations: 346.8 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1296, allocations: 25.7 kB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1298, allocations: 176.2 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.1298, allocations: 55.55 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1299, allocations: 65.88 kB / 0.4953 GB, free: 4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1301, allocations: 338.8 kB / 0.4956 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.1304, allocations: 100.4 kB / 0.4957 GB, free: 3.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.1307, allocations: 187.9 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.1313, allocations: 302.8 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1313, allocations: 4 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006386/0.1319, allocations: 340.5 kB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.132, allocations: 12.03 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.132, allocations: 3.938 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.132, allocations: 4 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.1325, allocations: 131.8 kB / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.1349, allocations: 3.649 MB / 0.5002 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.1352, allocations: 43.66 kB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1352, allocations: 20 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.0002917/0.1355, allocations: 189.4 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.1356, allocations: 31.81 kB / 0.5004 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.1363, allocations: 327.5 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1363, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1363, allocations: 4 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1363, allocations: 0 / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.1367, allocations: 301.4 kB / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1367, allocations: 0 / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.1372, allocations: 107.9 kB / 0.5012 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1372, allocations: 4 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1372, allocations: 4 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.1396, allocations: 3.653 MB / 0.5047 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1396, allocations: 7.922 kB / 0.5047 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.1402, allocations: 343.2 kB / 0.5051 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1403, allocations: 108.9 kB / 0.5052 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1404, allocations: 3.938 kB / 0.5052 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1405, allocations: 16 kB / 0.5052 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.1406, allocations: 16.06 kB / 0.5052 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1406, allocations: 12 kB / 0.5052 GB, free: 9.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.1409, allocations: 241.9 kB / 0.5054 GB, free: 9.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 0.5054 GB, free: 9.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000402/0.1413, allocations: 75.88 kB / 0.5055 GB, free: 9.02 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.001042/0.1424, allocations: 0.907 MB / 0.5064 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009199/0.1433, allocations: 331.5 kB / 0.5067 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1433, allocations: 0 / 0.5067 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.1439, allocations: 191.7 kB / 0.5069 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1443, allocations: 73.45 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.004495/0.1488, allocations: 3.358 MB / 0.5102 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.1493, allocations: 0.7989 MB / 0.511 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.1496, allocations: 78.89 kB / 0.5111 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1497, allocations: 75.41 kB / 0.5112 GB, free: 3.012 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1497, allocations: 0 / 0.5112 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.1853, allocations: 8.603 MB / 0.5196 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.12, allocations: 8.453 kB / 0.5196 GB, free: 10.4 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