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.0006931/0.0006932, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008309/0.000831, allocations: 201.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1666/0.1666, allocations: 46.18 MB / 345.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 11.98 kB / 419.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09294, allocations: 63.57 MB / 483.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001718/0.09469, allocations: 1.548 MB / 484.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.09607, allocations: 1.009 MB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.09615, allocations: 7.938 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.09635, allocations: 31.83 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.09655, allocations: 63.66 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.09687, allocations: 119.7 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.09716, allocations: 291.1 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.09721, allocations: 13.56 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.09738, allocations: 87.62 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.09754, allocations: 103.6 kB / 486.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.09757, allocations: 8 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.09779, allocations: 123.8 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.09786, allocations: 59.73 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.09795, allocations: 101.2 kB / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.09824, allocations: 251.3 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.09826, allocations: 4 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09826, allocations: 3.938 kB / 487 MB, free: 188 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09827, allocations: 4 kB / 487 MB, free: 184 kB / 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.0007949/0.09907, allocations: 0.5029 MB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.09911, allocations: 8.031 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.09917, allocations: 50.73 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.09952, allocations: 56.7 kB / 487.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.09974, allocations: 235.9 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.09975, allocations: 4.609 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.09979, allocations: 12.38 kB / 487.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.1003, allocations: 284.6 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1003, allocations: 0 / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1003, allocations: 7.969 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1003, allocations: 20.16 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.1009, allocations: 244.5 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.1018, allocations: 0.8178 MB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.1022, allocations: 199.7 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.1024, allocations: 118.7 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1025, allocations: 11.92 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1025, allocations: 34.56 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.1025, allocations: 0 / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008961/0.1034, allocations: 365.2 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1035, allocations: 102.8 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1037, allocations: 261 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1037, allocations: 25.7 kB / 490.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.1038, allocations: 135.9 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.1039, allocations: 39.45 kB / 490.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.1039, allocations: 17.72 kB / 490.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.104, allocations: 338.8 kB / 490.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1042, allocations: 103.9 kB / 490.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1045, allocations: 155.9 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.105, allocations: 248.9 kB / 491.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1051, allocations: 0 / 491.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006172/0.1057, allocations: 301.2 kB / 491.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1057, allocations: 11.98 kB / 491.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.1057, allocations: 8 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1057, allocations: 4 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.106, allocations: 43.95 kB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.106, allocations: 0 / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1062, allocations: 44.2 kB / 491.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1062, allocations: 19.92 kB / 491.8 MB, free: 11.09 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.0001053/0.1063, allocations: 137.8 kB / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.1064, allocations: 19.8 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.1068, allocations: 231.1 kB / 492.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1069, allocations: 4 kB / 492.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1069, allocations: 4 kB / 492.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1069, allocations: 3.984 kB / 492.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.1072, allocations: 261.4 kB / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.1072, allocations: 11.98 kB / 492.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1074, allocations: 43.91 kB / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1075, allocations: 96 / 492.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1075, allocations: 7.938 kB / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1075, allocations: 0 / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1075, allocations: 3.984 kB / 492.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.1081, allocations: 0.4977 MB / 493 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.1082, allocations: 100.8 kB / 493.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.1082, allocations: 4 kB / 493.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.1085, allocations: 23.98 kB / 493.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1086, allocations: 15.91 kB / 493.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1086, allocations: 8 kB / 493.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1088, allocations: 200.4 kB / 493.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1088, allocations: 0 / 493.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.1091, allocations: 67.91 kB / 493.4 MB, free: 9.367 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.0009723/0.1101, allocations: 1.086 MB / 494.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.1107, allocations: 317 kB / 494.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1107, allocations: 0 / 494.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.1111, allocations: 193.1 kB / 495 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.1116, allocations: 44.72 kB / 495 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.1151, allocations: 2.959 MB / 498 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1154, allocations: 0.7439 MB / 498.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1155, allocations: 41.52 kB / 498.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.1156, allocations: 55.42 kB / 498.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1156, allocations: 0 / 498.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.511/3.626, allocations: 5.433 MB / 0.4924 GB, free: 14.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/3.627, allocations: 247.2 kB / 0.4927 GB, free: 14.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/5.341, allocations: 0 / 0.4927 GB, free: 14.23 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]