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.001094/0.001094, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00103/0.00103, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.219/0.219, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.53 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09308, allocations: 60.83 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003923/0.09705, allocations: 1.681 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.0984, allocations: 0.7361 MB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.09851, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.09883, allocations: 31.83 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.09929, allocations: 63.72 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.09968, allocations: 63.75 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.1001, allocations: 155.3 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1002, allocations: 17.41 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1004, allocations: 59.75 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1006, allocations: 71.69 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1006, allocations: 4 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1009, allocations: 75.86 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.1011, allocations: 47.77 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1012, allocations: 63.61 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1017, allocations: 175.6 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1017, allocations: 4 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1017, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1018, allocations: 0 / 472.6 MB, free: 10.97 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.001026/0.1028, allocations: 466.7 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.1029, allocations: 12.03 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.024e-05/0.1029, allocations: 46.73 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007573/0.1037, allocations: 80.64 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1041, allocations: 224 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1041, allocations: 12.38 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1041, allocations: 12.36 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.1047, allocations: 296 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1048, allocations: 0 / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.1048, allocations: 7.938 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.1048, allocations: 15.98 kB / 473.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1055, allocations: 307.6 kB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.1069, allocations: 0.7119 MB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.1074, allocations: 286.2 kB / 475.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.1077, allocations: 100.8 kB / 475.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.1077, allocations: 7.984 kB / 475.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1078, allocations: 30.56 kB / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.1078, allocations: 4 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008533/0.1086, allocations: 345.1 kB / 475.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1087, allocations: 51.41 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.109, allocations: 218.4 kB / 475.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.109, allocations: 29.7 kB / 475.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1091, allocations: 131.7 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.1092, allocations: 47.3 kB / 476 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1093, allocations: 41.69 kB / 476 MB, free: 7.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1095, allocations: 334.8 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.1098, allocations: 99.88 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.1102, allocations: 126.3 kB / 476.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.1108, allocations: 261.3 kB / 476.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1108, allocations: 0 / 476.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007988/0.1117, allocations: 281.2 kB / 477.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1117, allocations: 4 kB / 477.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1117, allocations: 7.984 kB / 477.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1117, allocations: 4.094 kB / 477.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0248/0.1366, allocations: 0.9241 MB / 478.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02656/0.1631, allocations: 10.73 MB / 488.8 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.1635, allocations: 24.12 kB / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.1636, allocations: 15.92 kB / 488.8 MB, free: 9.641 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.0001639/0.1637, allocations: 145.7 kB / 489 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.1638, allocations: 15.81 kB / 489 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/0.1699, allocations: 0.6336 MB / 489.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.17, allocations: 0 / 489.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.17, allocations: 0 / 489.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.17, allocations: 0 / 489.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.1704, allocations: 273.4 kB / 489.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1705, allocations: 4 kB / 489.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1707, allocations: 31.97 kB / 489.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/0.1754, allocations: 310.1 kB / 490.2 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1754, allocations: 15.97 kB / 490.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.1928, allocations: 10.31 MB / 0.4888 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.1929, allocations: 0 / 0.4888 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/0.199, allocations: 0.6847 MB / 0.4895 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.1992, allocations: 96.84 kB / 0.4896 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.1992, allocations: 4 kB / 0.4896 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.1995, allocations: 8 kB / 0.4896 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.1997, allocations: 47.83 kB / 0.4896 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1997, allocations: 11.98 kB / 0.4896 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1999, allocations: 175.1 kB / 0.4898 GB, free: 11.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1999, allocations: 0 / 0.4898 GB, free: 11.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005829/0.2005, allocations: 88 kB / 0.4899 GB, free: 11.84 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.006773/0.2073, allocations: 1.238 MB / 0.4911 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01939/0.2267, allocations: 1.143 MB / 0.4922 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2267, allocations: 0 / 0.4922 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.2285, allocations: 0.5271 MB / 0.4927 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.2289, allocations: 31.98 kB / 0.4928 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/0.2342, allocations: 2.79 MB / 0.4955 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.2346, allocations: 0.748 MB / 0.4962 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.2348, allocations: 41.52 kB / 0.4963 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2349, allocations: 51.42 kB / 0.4963 GB, free: 5.066 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2349, allocations: 0 / 0.4963 GB, free: 5.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2366/0.4715, allocations: 9.8 MB / 0.5059 GB, free: 50.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.67, allocations: 18 kB / 0.5059 GB, free: 50.46 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