Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001144/0.001144, allocations: 105.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.09 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 76.77 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.099, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002796/0.1018, allocations: 1.9 MB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1032, allocations: 1.032 MB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.1033, allocations: 0 / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1035, allocations: 35.83 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.1037, allocations: 59.7 kB / 482.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.104, allocations: 119.6 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1043, allocations: 299 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.1043, allocations: 13.56 kB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1045, allocations: 83.62 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1047, allocations: 103.6 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.1047, allocations: 8 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.1049, allocations: 135.8 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.105, allocations: 47.88 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.1051, allocations: 83.41 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1054, allocations: 251.4 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1054, allocations: 0 / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1054, allocations: 0 / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1054, allocations: 0 / 483.5 MB, free: 1.469 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.0009622/0.1064, allocations: 0.5184 MB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1064, allocations: 8.031 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.1065, allocations: 54.72 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.1069, allocations: 52.62 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1071, allocations: 223.9 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1071, allocations: 8.609 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.1071, allocations: 12.38 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.1076, allocations: 278.7 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1076, allocations: 7.938 kB / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1077, allocations: 0 / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.1077, allocations: 16.23 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.1083, allocations: 224.5 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1093, allocations: 0.8101 MB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1097, allocations: 191.7 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.1099, allocations: 98.48 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.11, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.11, allocations: 38.69 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.11, allocations: 4 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008715/0.1109, allocations: 309.1 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.111, allocations: 110.8 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1112, allocations: 269.2 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1112, allocations: 29.7 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.1113, allocations: 131.9 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1114, allocations: 35.45 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.1114, allocations: 41.7 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1115, allocations: 334.8 kB / 487.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1118, allocations: 91.89 kB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1121, allocations: 133 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.1126, allocations: 225.2 kB / 487.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1126, allocations: 4 kB / 487.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005922/0.1132, allocations: 281 kB / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1132, allocations: 10.81 kB / 488 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.1132, allocations: 8 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1132, allocations: 4 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1135, allocations: 39.89 kB / 488.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1135, allocations: 8.156 kB / 488.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1137, allocations: 31.77 kB / 488.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.1137, allocations: 19.75 kB / 488.1 MB, free: 12.54 MB / 366.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.0001121/0.1138, allocations: 137.8 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.1139, allocations: 15.81 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.1144, allocations: 227.1 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1144, allocations: 8 kB / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1144, allocations: 0 / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1144, allocations: 0 / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.1148, allocations: 257.5 kB / 488.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.1148, allocations: 15.94 kB / 488.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.115, allocations: 27.97 kB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.115, allocations: 0 / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.115, allocations: 7.984 kB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.115, allocations: 0 / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.115, allocations: 4 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.1156, allocations: 485.5 kB / 489.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.1157, allocations: 104.8 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1157, allocations: 8 kB / 489.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.116, allocations: 19.97 kB / 489.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.1161, allocations: 19.92 kB / 489.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1161, allocations: 4 kB / 489.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1162, allocations: 192.4 kB / 489.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1163, allocations: 0 / 489.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.1167, allocations: 71.98 kB / 489.7 MB, free: 10.87 MB / 366.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.0009839/0.1176, allocations: 1.059 MB / 490.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.1183, allocations: 288.8 kB / 491.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1183, allocations: 0 / 491.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.1186, allocations: 177 kB / 491.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1191, allocations: 48.34 kB / 491.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.1228, allocations: 2.871 MB / 494.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1231, allocations: 0.7439 MB / 494.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1232, allocations: 41.52 kB / 494.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.1233, allocations: 51.42 kB / 495 MB, free: 5.395 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1233, allocations: 4 kB / 495 MB, free: 5.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.45/0.5734, allocations: 5.522 MB / 0.4888 GB, free: 36 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/0.5738, allocations: 243.9 kB / 0.489 GB, free: 15.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.138, allocations: 0 / 0.489 GB, free: 15.78 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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.continuous,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]