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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.001504/0.001504, 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.001778/0.001778, 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.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2147/0.2147, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.14 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003563/0.1051, allocations: 1.806 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1069, allocations: 0.9696 MB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.107, allocations: 0 / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1073, allocations: 31.77 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1076, allocations: 71.66 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1081, allocations: 126.4 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1084, allocations: 203.2 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.1084, allocations: 21.56 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.1086, allocations: 87.61 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1088, allocations: 99.58 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.1088, allocations: 8 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.1091, allocations: 127.8 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.1092, allocations: 51.81 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1094, allocations: 91.45 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.1097, allocations: 239.5 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1098, allocations: 0 / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1098, allocations: 0 / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1098, allocations: 0 / 473.3 MB, free: 10.31 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.001079/0.1109, allocations: 0.5262 MB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1109, allocations: 8.031 kB / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.111, allocations: 50.73 kB / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.111, allocations: 20.75 kB / 473.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1113, allocations: 219.9 kB / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1113, allocations: 16.53 kB / 474.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1113, allocations: 12.38 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.1119, allocations: 272.6 kB / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1119, allocations: 0 / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1119, allocations: 8 kB / 474.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.1119, allocations: 12.22 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.1125, allocations: 220.4 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1136, allocations: 0.8062 MB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.114, allocations: 191.7 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.1143, allocations: 98.48 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1144, allocations: 7.984 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1144, allocations: 46.55 kB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.674e-06/0.1144, allocations: 3.938 kB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009488/0.1154, allocations: 317.4 kB / 476.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1154, allocations: 110.8 kB / 476.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1157, allocations: 253 kB / 476.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1157, allocations: 29.7 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1158, allocations: 135.9 kB / 476.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1159, allocations: 31.47 kB / 476.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.1159, allocations: 41.69 kB / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1161, allocations: 338.7 kB / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1163, allocations: 95.89 kB / 477.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.1166, allocations: 129 kB / 477.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1172, allocations: 224.9 kB / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1172, allocations: 0 / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006642/0.1179, allocations: 277.1 kB / 477.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1179, allocations: 4 kB / 477.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.1179, allocations: 16.16 kB / 477.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.118, allocations: 4 kB / 477.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1182, allocations: 40.42 kB / 477.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1182, allocations: 7.938 kB / 477.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.1184, allocations: 39.66 kB / 477.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1185, allocations: 11.94 kB / 477.8 MB, free: 5.418 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001279/0.1186, allocations: 141.8 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.1187, allocations: 23.75 kB / 478 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.1192, allocations: 219.2 kB / 478.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1192, allocations: 0 / 478.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1192, allocations: 0 / 478.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1192, allocations: 4 kB / 478.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.1196, allocations: 261.4 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.1196, allocations: 8.094 kB / 478.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1198, allocations: 39.89 kB / 478.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1198, allocations: 4 kB / 478.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1199, allocations: 3.938 kB / 478.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1199, allocations: 4 kB / 478.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1199, allocations: 0 / 478.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.1205, allocations: 481.7 kB / 479 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.1206, allocations: 100.8 kB / 479.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.1207, allocations: 3.984 kB / 479.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1209, allocations: 19.98 kB / 479.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.121, allocations: 11.92 kB / 479.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.121, allocations: 19.92 kB / 479.2 MB, free: 4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1212, allocations: 192.5 kB / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1212, allocations: 0 / 479.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000428/0.1217, allocations: 67.98 kB / 479.4 MB, free: 3.75 MB / 350.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001137/0.1228, allocations: 1.058 MB / 480.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.1235, allocations: 292.8 kB / 480.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1235, allocations: 3.938 kB / 480.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.1238, allocations: 185.2 kB / 480.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.1247, allocations: 44.67 kB / 481 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.1287, allocations: 2.816 MB / 483.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1291, allocations: 0.7475 MB / 484.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.1292, allocations: 41.5 kB / 484.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1294, allocations: 55.42 kB / 484.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1294, allocations: 0 / 484.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.1543, allocations: 5.845 MB / 490.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.58, allocations: 7.562 kB / 490.5 MB, free: 8.613 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],velocity[1],velocity[2],velocity[3],Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],input_v_0.y,input_v_1.y,input_v_2.y Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_v_0.duration,input_v_0.height,input_v_0.offset,input_v_0.startTime,input_v_0.y,input_v_1.amplitude,input_v_1.f,input_v_1.offset,input_v_1.phase,input_v_1.startTime,input_v_1.y,input_v_2.fallTimeConst,input_v_2.offset,input_v_2.outMax,input_v_2.riseTime,input_v_2.riseTimeConst,input_v_2.startTime,input_v_2.y,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]