Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.001855/0.001855, allocations: 108 kB / 16.41 MB, free: 6.484 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.002051/0.002052, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.502/1.502, 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.2133/0.2133, allocations: 43.53 MB / 314.1 MB, free: 468 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.002052/0.002053, allocations: 71.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1107, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003603/0.1143, allocations: 2.11 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1163, allocations: 1.192 MB / 0.4907 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1164, allocations: 4 kB / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1167, allocations: 71.53 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.117, allocations: 87.44 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.1175, allocations: 175.3 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.118, allocations: 442 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.1181, allocations: 48.7 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.1183, allocations: 159.1 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1186, allocations: 179.2 kB / 0.4918 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.1186, allocations: 12 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.119, allocations: 215.7 kB / 0.492 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1192, allocations: 95.47 kB / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.1194, allocations: 174.8 kB / 0.4922 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.12, allocations: 493.8 kB / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.12, allocations: 0 / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.12, allocations: 0 / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1201, allocations: 0 / 0.4927 GB, free: 6.852 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001287/0.1213, allocations: 0.7125 MB / 0.4934 GB, free: 6.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1214, allocations: 11.89 kB / 0.4934 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.101e-05/0.1215, allocations: 82.7 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.1216, allocations: 44.66 kB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1219, allocations: 291.6 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.122, allocations: 33.31 kB / 0.4939 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.122, allocations: 36.38 kB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.123, allocations: 0.5779 MB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.123, allocations: 0 / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1231, allocations: 16 kB / 0.4945 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.1231, allocations: 21 kB / 0.4945 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.124, allocations: 431.5 kB / 0.4949 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1259, allocations: 1.387 MB / 0.4963 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.1265, allocations: 275.5 kB / 0.4965 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.1268, allocations: 130.5 kB / 0.4966 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.1269, allocations: 15.97 kB / 0.4967 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1269, allocations: 38.56 kB / 0.4967 GB, free: 2.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 3.938e-06/0.1269, allocations: 112 / 0.4967 GB, free: 2.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001203/0.1282, allocations: 465.1 kB / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1282, allocations: 106.8 kB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/0.1288, allocations: 0.4979 MB / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1289, allocations: 29.7 kB / 0.4978 GB, free: 1.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1291, allocations: 204.3 kB / 0.4979 GB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.1291, allocations: 55.48 kB / 0.498 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1292, allocations: 53.77 kB / 0.498 GB, free: 1.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1294, allocations: 358.8 kB / 0.4984 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1298, allocations: 123.9 kB / 0.4985 GB, free: 0.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.1301, allocations: 173 kB / 0.4987 GB, free: 448 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.1308, allocations: 296.8 kB / 0.499 GB, free: 132 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1308, allocations: 0 / 0.499 GB, free: 132 kB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008663/0.1317, allocations: 380.9 kB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1317, allocations: 18.75 kB / 0.4993 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/0.1318, allocations: 31.98 kB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1318, allocations: 4 kB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1321, allocations: 31.95 kB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1321, allocations: 4 kB / 0.4994 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1323, allocations: 55.61 kB / 0.4995 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1324, allocations: 11.98 kB / 0.4995 GB, free: 15.6 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.1326, allocations: 205.5 kB / 0.4997 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.1327, allocations: 39.7 kB / 0.4997 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.1335, allocations: 384.4 kB / 0.5001 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1335, allocations: 0 / 0.5001 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1335, allocations: 7.984 kB / 0.5001 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1336, allocations: 0 / 0.5001 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.1342, allocations: 369.2 kB / 0.5004 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.182e-05/0.1342, allocations: 31.98 kB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1344, allocations: 35.84 kB / 0.5005 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1344, allocations: 0 / 0.5005 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1344, allocations: 12 kB / 0.5005 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1345, allocations: 0 / 0.5005 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1345, allocations: 0 / 0.5005 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.1353, allocations: 0.5796 MB / 0.5011 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1355, allocations: 124.8 kB / 0.5012 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.1355, allocations: 0 / 0.5012 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1358, allocations: 23.97 kB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.1359, allocations: 19.98 kB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.136, allocations: 16 kB / 0.5013 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000434/0.1364, allocations: 379 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1364, allocations: 0 / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.1369, allocations: 111.8 kB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.1384, allocations: 1.167 MB / 0.5029 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.1394, allocations: 0.5185 MB / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1394, allocations: 320 / 0.5034 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.1399, allocations: 387.1 kB / 0.5037 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.1406, allocations: 101.3 kB / 0.5038 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.1475, allocations: 4.728 MB / 0.5084 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.1481, allocations: 0.8458 MB / 0.5093 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1483, allocations: 59.25 kB / 0.5093 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.1484, allocations: 103.4 kB / 0.5094 GB, free: 5.008 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1484, allocations: 4 kB / 0.5094 GB, free: 5.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.1854, allocations: 11.38 MB / 0.5205 GB, free: 9.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.697, allocations: 4.188 kB / 0.5205 GB, free: 9.609 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches