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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",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.0008631/0.0008632, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.171/1.171, 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.0007612/0.0007612, allocations: 90.34 kB / 271.2 MB, free: 8.242 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.2774/0.2774, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 15.98 kB / 432.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 58.85 MB / 491 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.001927/0.1028, allocations: 1.5 MB / 492.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1041, allocations: 0.9052 MB / 493.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.1041, allocations: 3.938 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.1043, allocations: 23.89 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1045, allocations: 71.66 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1048, allocations: 91.7 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.1052, allocations: 247.1 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.1052, allocations: 17.55 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1054, allocations: 79.69 kB / 493.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1056, allocations: 107.6 kB / 494 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1056, allocations: 4 kB / 494 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.1058, allocations: 103.9 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.1059, allocations: 51.8 kB / 494.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.106, allocations: 105.2 kB / 494.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1062, allocations: 163.8 kB / 494.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1062, allocations: 8 kB / 494.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1062, allocations: 0 / 494.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1063, allocations: 0 / 494.4 MB, free: 7.262 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.0009056/0.1072, allocations: 0.5106 MB / 494.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1072, allocations: 12.03 kB / 494.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.1073, allocations: 42.75 kB / 495 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.1074, allocations: 24.64 kB / 495 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1076, allocations: 224 kB / 495.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1076, allocations: 8.547 kB / 495.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1076, allocations: 12.38 kB / 495.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.1082, allocations: 278.7 kB / 495.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1082, allocations: 4 kB / 495.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1082, allocations: 4 kB / 495.5 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.1082, allocations: 16.22 kB / 495.5 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.1088, allocations: 248.4 kB / 495.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1099, allocations: 0.8215 MB / 496.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1103, allocations: 211.6 kB / 496.8 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.1105, allocations: 118.5 kB / 496.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1106, allocations: 3.984 kB / 496.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1106, allocations: 34.56 kB / 497 MB, free: 4.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.1106, allocations: 0 / 497 MB, free: 4.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009211/0.1116, allocations: 357.4 kB / 497.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1116, allocations: 106.8 kB / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1119, allocations: 257 kB / 497.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1119, allocations: 29.77 kB / 497.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.112, allocations: 135.9 kB / 497.8 MB, free: 3.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.112, allocations: 39.45 kB / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.112, allocations: 0 / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1121, allocations: 330.8 kB / 498.2 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.1124, allocations: 115.8 kB / 498.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.1127, allocations: 145 kB / 498.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.1132, allocations: 257.2 kB / 498.7 MB, free: 2.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1132, allocations: 0 / 498.7 MB, free: 2.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006433/0.1139, allocations: 301.1 kB / 499 MB, free: 2.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1139, allocations: 7.125 kB / 499 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.1139, allocations: 15.98 kB / 499 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.114, allocations: 0 / 499 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1142, allocations: 44.12 kB / 499.1 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1142, allocations: 7.938 kB / 499.1 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1145, allocations: 47.66 kB / 499.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.1146, allocations: 11.94 kB / 499.1 MB, free: 2.238 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.0001614/0.1148, allocations: 145.8 kB / 499.3 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1149, allocations: 15.81 kB / 499.3 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.1153, allocations: 231.2 kB / 499.5 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1153, allocations: 0 / 499.5 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.1154, allocations: 0 / 499.5 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1154, allocations: 8 kB / 499.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.1157, allocations: 261.4 kB / 499.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.1157, allocations: 8 kB / 499.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1159, allocations: 39.95 kB / 499.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1159, allocations: 0 / 499.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.116, allocations: 4 kB / 499.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.116, allocations: 3.938 kB / 499.8 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.116, allocations: 4 kB / 499.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.1166, allocations: 0.4977 MB / 0.4886 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.1167, allocations: 96.86 kB / 0.4887 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.1167, allocations: 3.984 kB / 0.4887 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.117, allocations: 27.98 kB / 0.4887 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1171, allocations: 15.92 kB / 0.4887 GB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1171, allocations: 8.172 kB / 0.4887 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1172, allocations: 200.4 kB / 0.4889 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1173, allocations: 3.938 kB / 0.4889 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.1176, allocations: 63.91 kB / 0.489 GB, free: 0.5234 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.1733/0.2909, allocations: 1.079 MB / 0.49 GB, free: 42.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.2916, allocations: 311.3 kB / 0.4903 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2916, allocations: 0 / 0.4903 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.292, allocations: 190.6 kB / 0.4905 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.2925, allocations: 41.38 kB / 0.4906 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.2952, allocations: 1.549 MB / 0.4921 GB, free: 41.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2954, allocations: 0.7374 MB / 0.4928 GB, free: 41.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2955, allocations: 55.5 kB / 0.4929 GB, free: 41.23 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2955, allocations: 0 / 0.4929 GB, free: 41.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.06, allocations: 3.767 MB / 0.4965 GB, free: 41.02 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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]