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.001703/0.001703, allocations: 105.8 kB / 16.4 MB, free: 6.469 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.001801/0.001801, 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2157/0.2157, allocations: 43.53 MB / 314.1 MB, free: 460 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.001662/0.001662, allocations: 67.89 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.105, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003726/0.1087, allocations: 2.102 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1108, allocations: 1.2 MB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.111, allocations: 4 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1113, allocations: 71.59 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1117, allocations: 99.36 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.1123, allocations: 171.4 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.1129, allocations: 441.9 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1131, allocations: 52.67 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.1133, allocations: 151.2 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.1137, allocations: 187.1 kB / 0.4918 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.125e-05/0.1138, allocations: 12 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.1143, allocations: 211.7 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1144, allocations: 95.53 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.1147, allocations: 170.8 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.1156, allocations: 493.8 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1156, allocations: 0 / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1156, allocations: 0 / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.1156, allocations: 0 / 0.4927 GB, free: 6.812 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.001642/0.1173, allocations: 0.7164 MB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1174, allocations: 11.89 kB / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.1175, allocations: 78.72 kB / 0.4935 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1176, allocations: 44.66 kB / 0.4935 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.1181, allocations: 299.5 kB / 0.4938 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1181, allocations: 29.38 kB / 0.4939 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1182, allocations: 36.38 kB / 0.4939 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.1192, allocations: 0.5778 MB / 0.4945 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1192, allocations: 3.938 kB / 0.4945 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.1193, allocations: 16 kB / 0.4945 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.1193, allocations: 24.98 kB / 0.4945 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.1202, allocations: 427.6 kB / 0.4949 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1224, allocations: 1.383 MB / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.1231, allocations: 271.6 kB / 0.4965 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.1234, allocations: 134.5 kB / 0.4966 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.418e-05/0.1235, allocations: 11.98 kB / 0.4967 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.1235, allocations: 42.59 kB / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.1236, allocations: 3.938 kB / 0.4967 GB, free: 2.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001222/0.1248, allocations: 457.1 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.1249, allocations: 106.8 kB / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.1255, allocations: 0.494 MB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1255, allocations: 29.7 kB / 0.4978 GB, free: 1.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1257, allocations: 208.4 kB / 0.498 GB, free: 1.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.1258, allocations: 63.47 kB / 0.498 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1259, allocations: 49.7 kB / 0.4981 GB, free: 1.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1261, allocations: 350.8 kB / 0.4984 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.1264, allocations: 127.9 kB / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.1268, allocations: 173 kB / 0.4987 GB, free: 408 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.1275, allocations: 296.8 kB / 0.499 GB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1275, allocations: 0 / 0.499 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009023/0.1284, allocations: 392.6 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1284, allocations: 7.938 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-05/0.1285, allocations: 27.98 kB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1285, allocations: 4 kB / 0.4994 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1287, allocations: 27.97 kB / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1288, allocations: 11.92 kB / 0.4994 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.1291, allocations: 59.72 kB / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.1291, allocations: 23.94 kB / 0.4995 GB, free: 15.54 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.0001986/0.1293, allocations: 185.6 kB / 0.4997 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1294, allocations: 39.7 kB / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007865/0.1302, allocations: 388.5 kB / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1302, allocations: 0 / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1303, allocations: 4 kB / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1303, allocations: 0 / 0.5001 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.1308, allocations: 369.3 kB / 0.5004 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/0.1309, allocations: 35.98 kB / 0.5005 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.131, allocations: 27.91 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.131, allocations: 0 / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.1311, allocations: 12 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1311, allocations: 3.984 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1311, allocations: 0 / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.1319, allocations: 0.5783 MB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1321, allocations: 132.7 kB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.1322, allocations: 4 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.1324, allocations: 19.98 kB / 0.5012 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.1325, allocations: 23.97 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1326, allocations: 12 kB / 0.5013 GB, free: 13.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.133, allocations: 375 kB / 0.5016 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.133, allocations: 0 / 0.5016 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.1335, allocations: 107.8 kB / 0.5017 GB, free: 13.16 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.001293/0.1348, allocations: 1.175 MB / 0.5029 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.1357, allocations: 0.5265 MB / 0.5034 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1357, allocations: 0 / 0.5034 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.1362, allocations: 383.1 kB / 0.5037 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.1369, allocations: 97.42 kB / 0.5038 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/0.1435, allocations: 4.72 MB / 0.5085 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.144, allocations: 0.8458 MB / 0.5093 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.1442, allocations: 63.25 kB / 0.5093 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1443, allocations: 107.4 kB / 0.5094 GB, free: 4.965 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1443, allocations: 0 / 0.5094 GB, free: 4.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.1761, allocations: 11.38 MB / 0.5206 GB, free: 9.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/8.556, allocations: 4.188 kB / 0.5206 GB, free: 9.582 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