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_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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001368/0.001368, allocations: 106.9 kB / 16.41 MB, free: 6.402 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.001166/0.001166, allocations: 192.4 kB / 17.34 MB, free: 5.691 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.291/1.291, 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.1941/0.1941, allocations: 43.53 MB / 314.1 MB, free: 440 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.002669/0.002669, allocations: 77.45 kB / 441.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1171, allocations: 57.79 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003064/0.1202, allocations: 2.009 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1218, allocations: 0.9433 MB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1219, allocations: 4 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1222, allocations: 59.66 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.1226, allocations: 131.4 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1228, allocations: 87.66 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.1232, allocations: 386.1 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.1233, allocations: 48.69 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1236, allocations: 155.2 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.1239, allocations: 179.1 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.1239, allocations: 8 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.1242, allocations: 155.7 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1243, allocations: 91.53 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.1245, allocations: 166.9 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.1251, allocations: 434 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1251, allocations: 0 / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1251, allocations: 0 / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1251, allocations: 0 / 0.4921 GB, free: 7.391 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001057/0.1262, allocations: 0.6625 MB / 0.4928 GB, free: 6.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1262, allocations: 12.03 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.174e-05/0.1263, allocations: 82.7 kB / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.1264, allocations: 48.66 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.1268, allocations: 279.6 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.1268, allocations: 29.38 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.1269, allocations: 32.38 kB / 0.4933 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.1277, allocations: 0.5608 MB / 0.4938 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1277, allocations: 4 kB / 0.4938 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.1277, allocations: 8 kB / 0.4938 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.1278, allocations: 44.97 kB / 0.4939 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.1287, allocations: 0.5698 MB / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.1304, allocations: 1.18 MB / 0.4956 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.1311, allocations: 378.1 kB / 0.4959 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.1313, allocations: 144.8 kB / 0.4961 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1314, allocations: 11.98 kB / 0.4961 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1314, allocations: 34.59 kB / 0.4961 GB, free: 3.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.1314, allocations: 0 / 0.4961 GB, free: 3.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009214/0.1323, allocations: 461.6 kB / 0.4965 GB, free: 2.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1324, allocations: 55.41 kB / 0.4966 GB, free: 2.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.1328, allocations: 453.6 kB / 0.497 GB, free: 2.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1328, allocations: 33.7 kB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.133, allocations: 188.4 kB / 0.4972 GB, free: 1.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.133, allocations: 79.33 kB / 0.4973 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.1331, allocations: 49.69 kB / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1333, allocations: 354.7 kB / 0.4977 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1335, allocations: 115.9 kB / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.1337, allocations: 124 kB / 0.4979 GB, free: 1.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.1342, allocations: 268.5 kB / 0.4982 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1342, allocations: 0 / 0.4982 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006139/0.1349, allocations: 337.1 kB / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1349, allocations: 11.94 kB / 0.4985 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1349, allocations: 0 / 0.4985 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1349, allocations: 4 kB / 0.4985 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.1357, allocations: 159.9 kB / 0.4987 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.1387, allocations: 5.517 MB / 0.5041 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1389, allocations: 51.69 kB / 0.5041 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.139, allocations: 11.98 kB / 0.5041 GB, free: 10.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.1392, allocations: 197.6 kB / 0.5043 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.1392, allocations: 39.75 kB / 0.5044 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.14, allocations: 453.1 kB / 0.5048 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.14, allocations: 4 kB / 0.5048 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.14, allocations: 4 kB / 0.5048 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1401, allocations: 0 / 0.5048 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1405, allocations: 381.2 kB / 0.5052 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1405, allocations: 0 / 0.5052 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.1412, allocations: 155.9 kB / 0.5053 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.1412, allocations: 3.938 kB / 0.5053 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.1412, allocations: 15.98 kB / 0.5053 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.1438, allocations: 5.52 MB / 0.5107 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1438, allocations: 7.969 kB / 0.5107 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.1445, allocations: 443.2 kB / 0.5111 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1446, allocations: 124.8 kB / 0.5113 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.1447, allocations: 4 kB / 0.5113 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1449, allocations: 12 kB / 0.5113 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.1449, allocations: 23.91 kB / 0.5113 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.145, allocations: 11.98 kB / 0.5113 GB, free: 3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.1453, allocations: 335.1 kB / 0.5116 GB, free: 2.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1453, allocations: 0 / 0.5116 GB, free: 2.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.1457, allocations: 99.88 kB / 0.5117 GB, free: 2.574 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.1468, allocations: 1.016 MB / 0.5127 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.148, allocations: 404.1 kB / 0.5131 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.148, allocations: 0 / 0.5131 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.1489, allocations: 276 kB / 0.5134 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.1494, allocations: 89.42 kB / 0.5135 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.1544, allocations: 4.365 MB / 0.5177 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1548, allocations: 0.8543 MB / 0.5186 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.155, allocations: 83.2 kB / 0.5186 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1552, allocations: 111.4 kB / 0.5187 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1552, allocations: 4 kB / 0.5187 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2285/0.3836, allocations: 11.53 MB / 0.53 GB, free: 41.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 14.06 kB / 0.53 GB, free: 41.21 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches