Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0009949/0.000995, allocations: 179.6 kB / 16.72 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008348/0.0008347, allocations: 90.3 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2981/0.2981, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003785, allocations: 15.98 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09947, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001822/0.1013, allocations: 1.508 MB / 492.5 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1025, allocations: 0.909 MB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.1026, allocations: 0 / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1028, allocations: 31.83 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.103, allocations: 59.72 kB / 493.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1033, allocations: 99.7 kB / 493.6 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.1036, allocations: 251.1 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1036, allocations: 13.55 kB / 493.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1037, allocations: 87.62 kB / 493.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1039, allocations: 99.66 kB / 494 MB, free: 7.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1039, allocations: 7.938 kB / 494 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.1042, allocations: 119.8 kB / 494.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.1042, allocations: 55.8 kB / 494.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.1043, allocations: 93.3 kB / 494.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1045, allocations: 171.8 kB / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1046, allocations: 0 / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1046, allocations: 0 / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1046, allocations: 0 / 494.4 MB, free: 7.254 MB / 378.7 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.0008636/0.1054, allocations: 0.5145 MB / 494.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1055, allocations: 12.03 kB / 495 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.1056, allocations: 46.73 kB / 495 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1056, allocations: 24.66 kB / 495 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1058, allocations: 224 kB / 495.2 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1058, allocations: 8.609 kB / 495.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1059, allocations: 12.36 kB / 495.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.1064, allocations: 282.7 kB / 495.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1064, allocations: 0 / 495.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1064, allocations: 4 kB / 495.5 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.1064, allocations: 16.22 kB / 495.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/0.107, allocations: 252.4 kB / 495.8 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.108, allocations: 0.8215 MB / 496.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.1084, allocations: 207.7 kB / 496.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.1086, allocations: 110.5 kB / 496.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1087, allocations: 8 kB / 496.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1087, allocations: 30.56 kB / 497 MB, free: 4.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.1087, allocations: 0 / 497 MB, free: 4.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009294/0.1097, allocations: 365.4 kB / 497.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1097, allocations: 106.8 kB / 497.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1099, allocations: 257 kB / 497.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.11, allocations: 26.08 kB / 497.7 MB, free: 3.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.11, allocations: 131.9 kB / 497.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1101, allocations: 43.48 kB / 497.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.1101, allocations: 0 / 497.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1102, allocations: 342.7 kB / 498.2 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1105, allocations: 99.91 kB / 498.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1107, allocations: 152.8 kB / 498.5 MB, free: 2.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.1113, allocations: 252.8 kB / 498.7 MB, free: 2.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1113, allocations: 3.938 kB / 498.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006392/0.1119, allocations: 301.2 kB / 499 MB, free: 2.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.112, allocations: 8 kB / 499 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.112, allocations: 8 kB / 499 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.112, allocations: 4 kB / 499 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.1122, allocations: 48.02 kB / 499.1 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1123, allocations: 4 kB / 499.1 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1125, allocations: 39.67 kB / 499.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1125, allocations: 19.92 kB / 499.1 MB, free: 2.227 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1126, allocations: 141.8 kB / 499.3 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.1127, allocations: 15.81 kB / 499.3 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.1132, allocations: 227.2 kB / 499.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1132, allocations: 7.984 kB / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1132, allocations: 0 / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1132, allocations: 0 / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.1135, allocations: 257.4 kB / 499.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.1136, allocations: 11.98 kB / 499.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.1138, allocations: 47.91 kB / 499.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1138, allocations: 4 kB / 499.8 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1138, allocations: 3.984 kB / 499.8 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1138, allocations: 4 kB / 499.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1138, allocations: 0 / 499.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.1145, allocations: 0.4977 MB / 0.4886 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.1145, allocations: 100.8 kB / 0.4887 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1146, allocations: 0 / 0.4887 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1148, allocations: 31.97 kB / 0.4887 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.1149, allocations: 15.86 kB / 0.4888 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1149, allocations: 8.094 kB / 0.4888 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.1151, allocations: 192.4 kB / 0.489 GB, free: 0.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1151, allocations: 0 / 0.489 GB, free: 0.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00038/0.1155, allocations: 67.91 kB / 0.489 GB, free: 0.5156 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1838/0.2993, allocations: 1.079 MB / 0.4901 GB, free: 42.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007085/0.3, allocations: 308.8 kB / 0.4904 GB, free: 42.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3001, allocations: 0 / 0.4904 GB, free: 42.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.3004, allocations: 198.5 kB / 0.4906 GB, free: 42.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.301, allocations: 40.86 kB / 0.4906 GB, free: 42.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.3035, allocations: 1.549 MB / 0.4921 GB, free: 42.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3037, allocations: 0.7407 MB / 0.4928 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3039, allocations: 55.34 kB / 0.4929 GB, free: 41.31 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3039, allocations: 3.656 kB / 0.4929 GB, free: 41.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.748/3.052, allocations: 3.783 MB / 0.4966 GB, free: 41.08 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_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.freqHz,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,input_v_2.y_riseTime,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]