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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, 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.001072/0.001072, 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.351/1.351, 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.1979/0.1979, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.66 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.004039/0.11, allocations: 1.805 MB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1118, allocations: 0.958 MB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1119, allocations: 4 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1123, allocations: 31.77 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.1126, allocations: 71.64 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.1131, allocations: 119.5 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1135, allocations: 211.2 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.1136, allocations: 13.56 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1138, allocations: 83.62 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.114, allocations: 95.59 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.114, allocations: 12 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1143, allocations: 119.8 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.1144, allocations: 55.81 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.619e-05/0.1145, allocations: 83.45 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.1149, allocations: 235.5 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1149, allocations: 0 / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.115, allocations: 4 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.115, allocations: 0 / 473.3 MB, free: 10.35 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.001083/0.1161, allocations: 0.5301 MB / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1161, allocations: 8.031 kB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.1162, allocations: 46.73 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.1162, allocations: 16.75 kB / 473.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1165, allocations: 223.9 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1165, allocations: 8.547 kB / 474.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1165, allocations: 16.36 kB / 474.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.1171, allocations: 280.5 kB / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1171, allocations: 3.938 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.1171, allocations: 4 kB / 474.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.1172, allocations: 12.23 kB / 474.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.1177, allocations: 224.4 kB / 474.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1188, allocations: 0.814 MB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.1192, allocations: 187.6 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.1195, allocations: 106.5 kB / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.1195, allocations: 0 / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1196, allocations: 34.56 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.996e-06/0.1196, allocations: 3.984 kB / 475.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009753/0.1206, allocations: 321.3 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.1206, allocations: 102.8 kB / 476.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.121, allocations: 265 kB / 476.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.121, allocations: 25.7 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1211, allocations: 140 kB / 476.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1212, allocations: 43.39 kB / 476.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.1213, allocations: 33.7 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1214, allocations: 338.8 kB / 477 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1217, allocations: 83.91 kB / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.122, allocations: 141 kB / 477.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.1225, allocations: 221.3 kB / 477.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1225, allocations: 4 kB / 477.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006609/0.1232, allocations: 281.1 kB / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1232, allocations: 8 kB / 477.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.1233, allocations: 4 kB / 477.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1233, allocations: 4 kB / 477.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1235, allocations: 39.95 kB / 477.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1236, allocations: 7.938 kB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1238, allocations: 39.8 kB / 477.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.1238, allocations: 15.92 kB / 477.8 MB, free: 5.445 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.0001236/0.1239, allocations: 141.8 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.124, allocations: 15.81 kB / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.1245, allocations: 211.2 kB / 478.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1245, allocations: 4 kB / 478.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1245, allocations: 3.984 kB / 478.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1245, allocations: 4 kB / 478.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.125, allocations: 257.4 kB / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.125, allocations: 11.98 kB / 478.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1252, allocations: 31.91 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1252, allocations: 0 / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.1252, allocations: 8 kB / 478.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1252, allocations: 7.969 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1252, allocations: 0 / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.1259, allocations: 473.7 kB / 479 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.126, allocations: 108.8 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.126, allocations: 4 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.1263, allocations: 23.97 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.1264, allocations: 23.86 kB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1264, allocations: 4 kB / 479.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.1266, allocations: 192.4 kB / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1266, allocations: 0 / 479.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.127, allocations: 64.19 kB / 479.4 MB, free: 3.793 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.001129/0.1282, allocations: 1.066 MB / 480.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.1288, allocations: 297.1 kB / 480.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1289, allocations: 3.938 kB / 480.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.1292, allocations: 177 kB / 480.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.1297, allocations: 44.53 kB / 481 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.1335, allocations: 2.817 MB / 483.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1339, allocations: 0.7397 MB / 484.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.134, allocations: 45.5 kB / 484.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1341, allocations: 59.34 kB / 484.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1341, allocations: 0 / 484.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.158, allocations: 5.754 MB / 490.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.67/8.828, allocations: 15.73 kB / 490.4 MB, free: 8.73 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.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]