Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.0008901/0.0008902, allocations: 94.44 kB / 17.35 MB, free: 6.375 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.0009511/0.0009511, allocations: 176.3 kB / 18.25 MB, free: 5.523 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.333/1.333, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1952/0.1952, allocations: 44.25 MB / 337.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002728, allocations: 8 kB / 410.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001986/0.1072, allocations: 1.395 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1084, allocations: 0.7168 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1085, allocations: 4 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1087, allocations: 35.81 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1089, allocations: 63.72 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.1091, allocations: 47.83 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.1094, allocations: 247.3 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.1095, allocations: 13.41 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.1095, allocations: 51.77 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1097, allocations: 91.59 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1097, allocations: 4 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1099, allocations: 71.88 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.11, allocations: 43.83 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.1101, allocations: 93.23 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.1104, allocations: 171.7 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1104, allocations: 0 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1104, allocations: 0 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1104, allocations: 0 / 475.4 MB, free: 10.16 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006242/0.1111, allocations: 442.9 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1111, allocations: 12.02 kB / 475.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.1112, allocations: 42.75 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.1117, allocations: 88.55 kB / 476 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.112, allocations: 232 kB / 476.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.112, allocations: 4.375 kB / 476.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.112, allocations: 12.36 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.1125, allocations: 303.9 kB / 476.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1125, allocations: 0 / 476.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1126, allocations: 4 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.1126, allocations: 23.98 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.1132, allocations: 308.2 kB / 476.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1144, allocations: 0.7275 MB / 477.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.1149, allocations: 281.3 kB / 477.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1151, allocations: 104.8 kB / 478 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1152, allocations: 7.969 kB / 478 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1152, allocations: 38.5 kB / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.495e-06/0.1152, allocations: 3.984 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007659/0.116, allocations: 357.2 kB / 478.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.116, allocations: 59.41 kB / 478.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1163, allocations: 230.3 kB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1163, allocations: 29.7 kB / 478.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.1164, allocations: 116 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1164, allocations: 47.3 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.1165, allocations: 21.7 kB / 478.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1166, allocations: 326.8 kB / 479.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1168, allocations: 103.9 kB / 479.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1171, allocations: 139.2 kB / 479.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.1176, allocations: 255.1 kB / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1176, allocations: 0 / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005708/0.1182, allocations: 316 kB / 480 MB, free: 5.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1182, allocations: 4 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1182, allocations: 4 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1182, allocations: 0 / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01946/0.1377, allocations: 0.9047 MB / 480.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.1583, allocations: 9.92 MB / 490.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.1586, allocations: 23.86 kB / 490.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.1587, allocations: 7.984 kB / 490.8 MB, free: 9.672 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.1588, allocations: 145.8 kB / 491 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.1589, allocations: 23.69 kB / 491 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/0.1654, allocations: 0.6221 MB / 491.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1654, allocations: 0 / 491.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1654, allocations: 0 / 491.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.1655, allocations: 11.94 kB / 491.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.1659, allocations: 273.4 kB / 491.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.1659, allocations: 0 / 491.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.1662, allocations: 35.97 kB / 491.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007201/0.1734, allocations: 417.9 kB / 492.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.1735, allocations: 11.98 kB / 492.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.1885, allocations: 9.522 MB / 0.4901 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.1886, allocations: 8.047 kB / 0.4901 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/0.195, allocations: 0.6651 MB / 0.4908 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.1951, allocations: 100.9 kB / 0.4909 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.1952, allocations: 7.938 kB / 0.4909 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.1954, allocations: 11.98 kB / 0.4909 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.1956, allocations: 43.91 kB / 0.4909 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1956, allocations: 11.97 kB / 0.4909 GB, free: 12.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1958, allocations: 168.3 kB / 0.4911 GB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1958, allocations: 0 / 0.4911 GB, free: 12.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.1964, allocations: 99.91 kB / 0.4912 GB, free: 12.58 MB / 382.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006559/0.2029, allocations: 1.228 MB / 0.4924 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01905/0.222, allocations: 1.1 MB / 0.4935 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.222, allocations: 0 / 0.4935 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001737/0.2238, allocations: 0.5272 MB / 0.494 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.2241, allocations: 43.86 kB / 0.494 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.229, allocations: 2.87 MB / 0.4968 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.2293, allocations: 0.7517 MB / 0.4976 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.2294, allocations: 49.52 kB / 0.4976 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.2295, allocations: 51.41 kB / 0.4977 GB, free: 5.75 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2296, allocations: 4 kB / 0.4977 GB, free: 5.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/0.4414, allocations: 9.18 MB / 0.5066 GB, free: 46.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.4415, allocations: 275 kB / 0.5069 GB, free: 46.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.502, allocations: 3.062 kB / 0.5069 GB, free: 46.09 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches