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.0009551/0.0009552, allocations: 93.89 kB / 17.35 MB, free: 6.344 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.0009426/0.0009426, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.306/1.306, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2035/0.2035, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 12 kB / 410.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 61.93 MB / 472.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002267/0.1252, allocations: 1.523 MB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1268, allocations: 0.9388 MB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.127, allocations: 0 / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1273, allocations: 31.83 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1276, allocations: 67.66 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.128, allocations: 99.69 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.1284, allocations: 295 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.78e-05/0.1285, allocations: 13.55 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.1287, allocations: 75.69 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.129, allocations: 107.6 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.129, allocations: 8 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1293, allocations: 115.8 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1294, allocations: 51.81 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1296, allocations: 109.2 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.1299, allocations: 231.4 kB / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1299, allocations: 0 / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.13, allocations: 0 / 476 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.13, allocations: 0 / 476 MB, free: 9.52 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.001007/0.131, allocations: 0.5128 MB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.131, allocations: 12.03 kB / 476.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.1311, allocations: 46.73 kB / 476.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.1312, allocations: 16.75 kB / 476.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1314, allocations: 223.9 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1314, allocations: 12.61 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1315, allocations: 16.31 kB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.132, allocations: 286.7 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.132, allocations: 0 / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.1321, allocations: 4 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.1321, allocations: 12.23 kB / 477.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.1327, allocations: 248.4 kB / 477.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1339, allocations: 0.814 MB / 478.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.1343, allocations: 203.7 kB / 478.4 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.1346, allocations: 118.4 kB / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1346, allocations: 3.984 kB / 478.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1347, allocations: 46.69 kB / 478.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1347, allocations: 0 / 478.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009693/0.1357, allocations: 345.4 kB / 478.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1357, allocations: 114.8 kB / 479 MB, free: 6.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.136, allocations: 260.9 kB / 479.3 MB, free: 6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.136, allocations: 29.7 kB / 479.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.1361, allocations: 131.9 kB / 479.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1362, allocations: 35.45 kB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1362, allocations: 17.72 kB / 479.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1364, allocations: 334.8 kB / 479.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.1366, allocations: 111.9 kB / 479.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1369, allocations: 145 kB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.1375, allocations: 252.8 kB / 480.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1375, allocations: 0 / 480.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006556/0.1382, allocations: 301.2 kB / 480.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1382, allocations: 8.625 kB / 480.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.1382, allocations: 12 kB / 480.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1382, allocations: 0 / 480.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.1385, allocations: 47.89 kB / 480.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1385, allocations: 4 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.1387, allocations: 47.7 kB / 480.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.1387, allocations: 11.92 kB / 480.7 MB, free: 4.473 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.0001226/0.1389, allocations: 138.3 kB / 480.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.139, allocations: 27.59 kB / 480.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.1394, allocations: 231.2 kB / 481.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1394, allocations: 0 / 481.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1395, allocations: 0 / 481.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1395, allocations: 4 kB / 481.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.1398, allocations: 261.4 kB / 481.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.1399, allocations: 12 kB / 481.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.14, allocations: 31.97 kB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1401, allocations: 4 kB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1401, allocations: 11.98 kB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1401, allocations: 0 / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1401, allocations: 4 kB / 481.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.1408, allocations: 0.5054 MB / 482 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.1409, allocations: 96.86 kB / 482.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1409, allocations: 7.938 kB / 482.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.1412, allocations: 27.97 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.1413, allocations: 11.92 kB / 482.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1413, allocations: 8 kB / 482.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1415, allocations: 196.4 kB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1415, allocations: 4 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1419, allocations: 67.98 kB / 482.4 MB, free: 2.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.001081/0.143, allocations: 1.078 MB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.1436, allocations: 317 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1437, allocations: 0 / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.144, allocations: 193 kB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.1445, allocations: 40.53 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.1485, allocations: 2.968 MB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1489, allocations: 0.7439 MB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.149, allocations: 37.53 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.1491, allocations: 51.41 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1491, allocations: 0 / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.1664, allocations: 5.319 MB / 493.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.1666, allocations: 246.7 kB / 493.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.922, allocations: 0 / 493.3 MB, free: 7.734 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]