Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001618/0.001618, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001805/0.001805, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.2 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 58.25 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.00354/0.1168, allocations: 2.106 MB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1185, allocations: 1.157 MB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.1186, allocations: 3.938 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.1189, allocations: 63.59 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1191, allocations: 91.38 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.1196, allocations: 167.1 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.12, allocations: 438 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.1201, allocations: 48.72 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1203, allocations: 155.2 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.1205, allocations: 183 kB / 473.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.1205, allocations: 12 kB / 473.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.1209, allocations: 219.7 kB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1211, allocations: 91.53 kB / 474.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1212, allocations: 162.9 kB / 474.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.1218, allocations: 494.4 kB / 474.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1218, allocations: 4 kB / 474.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1218, allocations: 0 / 474.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1218, allocations: 0 / 474.7 MB, free: 8.863 MB / 350.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.001328/0.1232, allocations: 0.7019 MB / 475.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1232, allocations: 8.031 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.1233, allocations: 86.64 kB / 475.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.1234, allocations: 44.47 kB / 475.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.1238, allocations: 291.4 kB / 475.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.1239, allocations: 29.38 kB / 475.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.1239, allocations: 40.38 kB / 475.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.1249, allocations: 0.5739 MB / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1249, allocations: 4 kB / 476.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.125, allocations: 16 kB / 476.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.125, allocations: 17 kB / 476.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.1258, allocations: 431.5 kB / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1275, allocations: 1.375 MB / 478.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.128, allocations: 275.6 kB / 478.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1283, allocations: 142.4 kB / 478.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1284, allocations: 4 kB / 478.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1284, allocations: 38.56 kB / 478.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1284, allocations: 0 / 478.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001228/0.1296, allocations: 454 kB / 479.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.1297, allocations: 114.7 kB / 479.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.1303, allocations: 0.5018 MB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1304, allocations: 25.7 kB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1305, allocations: 204.2 kB / 480.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1306, allocations: 59.11 kB / 480.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.1307, allocations: 53.69 kB / 480.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1309, allocations: 354.8 kB / 480.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.1312, allocations: 123.9 kB / 480.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.1315, allocations: 165 kB / 480.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.1321, allocations: 309.2 kB / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1322, allocations: 0 / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007724/0.1329, allocations: 372.9 kB / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.133, allocations: 11.94 kB / 481.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.884e-05/0.133, allocations: 36.08 kB / 481.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1331, allocations: 8 kB / 481.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1333, allocations: 31.91 kB / 481.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1333, allocations: 4 kB / 481.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.1335, allocations: 63.34 kB / 481.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.1336, allocations: 12 kB / 481.6 MB, free: 1.637 MB / 350.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.0001729/0.1338, allocations: 185.7 kB / 481.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.1339, allocations: 43.47 kB / 481.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/0.1346, allocations: 384.6 kB / 482.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1346, allocations: 4 kB / 482.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1346, allocations: 7.938 kB / 482.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1346, allocations: 0 / 482.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.1351, allocations: 357.4 kB / 482.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-05/0.1352, allocations: 31.98 kB / 482.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1353, allocations: 35.91 kB / 482.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1353, allocations: 0 / 482.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1354, allocations: 8 kB / 482.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1354, allocations: 3.938 kB / 482.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1354, allocations: 0 / 482.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.1362, allocations: 0.5776 MB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1363, allocations: 120.6 kB / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.1364, allocations: 0 / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.1367, allocations: 23.97 kB / 483.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1368, allocations: 19.98 kB / 483.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1368, allocations: 15.98 kB / 483.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003771/0.1372, allocations: 375 kB / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1372, allocations: 0 / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.1377, allocations: 115.8 kB / 483.9 MB, free: 15.27 MB / 366.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.001249/0.139, allocations: 1.171 MB / 485.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.1399, allocations: 0.5341 MB / 485.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1399, allocations: 4.312 kB / 485.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.1404, allocations: 383.1 kB / 486 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.1411, allocations: 99.56 kB / 486.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.1472, allocations: 4.808 MB / 490.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1476, allocations: 0.8458 MB / 491.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.1478, allocations: 59.25 kB / 491.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.148, allocations: 111.4 kB / 491.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.148, allocations: 0 / 491.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.1772, allocations: 11.26 MB / 0.4914 GB, free: 11.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/7.848, allocations: 5.531 kB / 0.4914 GB, free: 11.94 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches