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.00104/0.00104, allocations: 108.4 kB / 16.41 MB, free: 6.043 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.001075/0.001075, allocations: 187 kB / 17.34 MB, free: 5.629 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2037/0.2037, 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.001288/0.001288, allocations: 75.89 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003293/0.1096, allocations: 2.103 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1114, allocations: 1.196 MB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1116, allocations: 0 / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1118, allocations: 63.59 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1121, allocations: 103.4 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.1126, allocations: 167.4 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.1131, allocations: 445.9 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.1132, allocations: 48.7 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.1135, allocations: 159.2 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1137, allocations: 183.1 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1138, allocations: 12 kB / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.1141, allocations: 215.7 kB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.1142, allocations: 91.53 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.1144, allocations: 166.8 kB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.115, allocations: 0.49 MB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.115, allocations: 0 / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.115, allocations: 0 / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1151, allocations: 3.938 kB / 0.4927 GB, free: 6.828 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.00109/0.1162, allocations: 0.7164 MB / 0.4934 GB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1162, allocations: 11.89 kB / 0.4934 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.72e-05/0.1163, allocations: 82.7 kB / 0.4935 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.1164, allocations: 48.66 kB / 0.4936 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1167, allocations: 291.6 kB / 0.4938 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1167, allocations: 29.38 kB / 0.4939 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.1168, allocations: 36.38 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.1177, allocations: 0.5817 MB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1177, allocations: 0 / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1177, allocations: 16 kB / 0.4945 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.1177, allocations: 21 kB / 0.4945 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.1185, allocations: 431.5 kB / 0.4949 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.1203, allocations: 1.376 MB / 0.4963 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.1208, allocations: 271.6 kB / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1211, allocations: 138.4 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.1212, allocations: 15.97 kB / 0.4967 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1212, allocations: 42.61 kB / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1212, allocations: 0 / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001082/0.1223, allocations: 453.2 kB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1223, allocations: 110.8 kB / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.1228, allocations: 0.4979 MB / 0.4977 GB, free: 1.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1229, allocations: 25.7 kB / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.123, allocations: 208.3 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.1231, allocations: 59.48 kB / 0.498 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.1232, allocations: 53.77 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1233, allocations: 350.8 kB / 0.4984 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.1236, allocations: 127.9 kB / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.1239, allocations: 173 kB / 0.4987 GB, free: 428 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.1246, allocations: 299.1 kB / 0.499 GB, free: 112 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1246, allocations: 4 kB / 0.499 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007986/0.1254, allocations: 381.1 kB / 0.4993 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1254, allocations: 14.62 kB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.019e-05/0.1255, allocations: 28 kB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1255, allocations: 7.938 kB / 0.4994 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1257, allocations: 35.95 kB / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1257, allocations: 0 / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.126, allocations: 59.55 kB / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.126, allocations: 15.98 kB / 0.4995 GB, free: 15.57 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.0001885/0.1262, allocations: 197.5 kB / 0.4997 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1263, allocations: 39.7 kB / 0.4997 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.127, allocations: 384.3 kB / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1271, allocations: 4 kB / 0.5001 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1271, allocations: 0 / 0.5001 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1271, allocations: 3.984 kB / 0.5001 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.1276, allocations: 365.3 kB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.1277, allocations: 31.98 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1278, allocations: 35.84 kB / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1278, allocations: 0 / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.1279, allocations: 12 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1279, allocations: 3.984 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1279, allocations: 0 / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.1287, allocations: 0.5757 MB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1288, allocations: 128.8 kB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.1289, allocations: 4 kB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1292, allocations: 19.97 kB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.1293, allocations: 31.91 kB / 0.5012 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1293, allocations: 8 kB / 0.5013 GB, free: 13.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.1297, allocations: 375 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1297, allocations: 0 / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004979/0.1302, allocations: 107.8 kB / 0.5017 GB, free: 13.18 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.001287/0.1315, allocations: 1.171 MB / 0.5029 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.1324, allocations: 0.5185 MB / 0.5034 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1324, allocations: 4.312 kB / 0.5034 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.1328, allocations: 391.1 kB / 0.5037 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.1335, allocations: 97.42 kB / 0.5038 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/0.1395, allocations: 4.721 MB / 0.5084 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1399, allocations: 0.8536 MB / 0.5093 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.1401, allocations: 59.25 kB / 0.5093 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1403, allocations: 107.4 kB / 0.5094 GB, free: 4.98 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1403, allocations: 0 / 0.5094 GB, free: 4.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.1722, allocations: 11.38 MB / 0.5205 GB, free: 9.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.077, allocations: 8.25 kB / 0.5206 GB, free: 9.586 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