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_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 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_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001086/0.001086, allocations: 105.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.001065/0.001065, 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2023/0.2023, allocations: 44.18 MB / 336.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 65.31 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.138, allocations: 60.83 MB / 469.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003267/0.1414, allocations: 2.005 MB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1427, allocations: 0.8996 MB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.1427, allocations: 0 / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.143, allocations: 59.64 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1433, allocations: 123.4 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1435, allocations: 91.64 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.1439, allocations: 382.2 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.216e-05/0.144, allocations: 48.7 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1442, allocations: 147.2 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1444, allocations: 179.1 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1444, allocations: 12 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.1447, allocations: 159.7 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1448, allocations: 95.53 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.145, allocations: 154.9 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.1454, allocations: 430.6 kB / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1454, allocations: 0 / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1454, allocations: 0 / 474.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1455, allocations: 0 / 474.1 MB, free: 9.441 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00106/0.1465, allocations: 0.6514 MB / 474.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1466, allocations: 12.02 kB / 474.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.759e-05/0.1467, allocations: 90.64 kB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1467, allocations: 40.47 kB / 474.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.1471, allocations: 279.3 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1472, allocations: 33.31 kB / 475.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.1472, allocations: 32.36 kB / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/0.148, allocations: 0.5608 MB / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.148, allocations: 0 / 475.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.1481, allocations: 16 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.589e-05/0.1481, allocations: 44.98 kB / 475.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.149, allocations: 0.5737 MB / 476.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.1506, allocations: 1.175 MB / 477.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.1513, allocations: 374.2 kB / 478 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.1515, allocations: 132.9 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.1516, allocations: 7.984 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1516, allocations: 34.56 kB / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 4.038e-06/0.1516, allocations: 3.984 kB / 478.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009548/0.1526, allocations: 470.1 kB / 478.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1526, allocations: 51.41 kB / 478.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.153, allocations: 461.5 kB / 479.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1531, allocations: 29.7 kB / 479.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1532, allocations: 188.3 kB / 479.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.1533, allocations: 78.89 kB / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/0.1534, allocations: 53.7 kB / 479.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1535, allocations: 354.7 kB / 479.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1537, allocations: 115.9 kB / 479.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.154, allocations: 121.9 kB / 480.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.1545, allocations: 263.8 kB / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1545, allocations: 0 / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006067/0.1551, allocations: 348.9 kB / 480.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1551, allocations: 7.938 kB / 480.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1551, allocations: 0 / 480.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1552, allocations: 0 / 480.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.1559, allocations: 151.9 kB / 480.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.1588, allocations: 5.52 MB / 486.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.159, allocations: 51.39 kB / 486.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.1591, allocations: 8 kB / 486.4 MB, free: 12.75 MB / 366.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.0002063/0.1593, allocations: 193.6 kB / 486.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.1594, allocations: 39.81 kB / 486.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/0.1602, allocations: 448.5 kB / 487.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1602, allocations: 7.938 kB / 487.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1602, allocations: 3.984 kB / 487.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1602, allocations: 0 / 487.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.1606, allocations: 373.2 kB / 487.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1607, allocations: 4 kB / 487.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.1613, allocations: 155.9 kB / 487.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1613, allocations: 7.984 kB / 487.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1614, allocations: 8 kB / 487.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.164, allocations: 5.513 MB / 493.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.164, allocations: 3.938 kB / 493.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.1647, allocations: 449.9 kB / 493.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1648, allocations: 116.6 kB / 493.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.1648, allocations: 11.94 kB / 493.7 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1651, allocations: 20.08 kB / 493.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.1651, allocations: 19.91 kB / 493.7 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1652, allocations: 12 kB / 493.7 MB, free: 5.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.1655, allocations: 335.1 kB / 494.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 0 / 494.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.1659, allocations: 107.9 kB / 494.2 MB, free: 4.66 MB / 366.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.001008/0.1669, allocations: 1.005 MB / 495.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.1681, allocations: 440.5 kB / 495.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1681, allocations: 0 / 495.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.1689, allocations: 283.6 kB / 495.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.1694, allocations: 94.36 kB / 496 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.1745, allocations: 4.441 MB / 0.4887 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1749, allocations: 0.8504 MB / 0.4895 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.1751, allocations: 87.2 kB / 0.4896 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.1753, allocations: 107.4 kB / 0.4897 GB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1753, allocations: 0 / 0.4897 GB, free: 13.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2063, allocations: 11.34 MB / 0.5008 GB, free: 2.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.49, allocations: 23.33 kB / 0.5008 GB, free: 2.152 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches