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.001519/0.001519, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 76.59 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09979, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002696/0.1025, allocations: 1.822 MB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1039, allocations: 1.024 MB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.104, allocations: 7.938 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1042, allocations: 47.73 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1044, allocations: 63.66 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1048, allocations: 131.5 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.105, allocations: 215.2 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1051, allocations: 9.562 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1052, allocations: 95.62 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1054, allocations: 99.58 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1054, allocations: 8 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.1057, allocations: 135.8 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.1057, allocations: 55.75 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.676e-05/0.1058, allocations: 83.52 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1061, allocations: 259.3 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1062, allocations: 4 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1062, allocations: 4 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1062, allocations: 0 / 484.2 MB, free: 1.102 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.0009182/0.1071, allocations: 0.5184 MB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1071, allocations: 12.03 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.1072, allocations: 46.73 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/0.1076, allocations: 56.61 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1078, allocations: 228 kB / 485.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1078, allocations: 12.61 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1079, allocations: 12.38 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.1084, allocations: 262.8 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1084, allocations: 3.938 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.1084, allocations: 4 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.1085, allocations: 24.2 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.109, allocations: 220.4 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1101, allocations: 0.8101 MB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.1105, allocations: 191.8 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.1108, allocations: 106.4 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.1109, allocations: 7.984 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.1109, allocations: 38.56 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.1109, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009523/0.1119, allocations: 317 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.1119, allocations: 107.1 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1122, allocations: 257 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1122, allocations: 29.7 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.1123, allocations: 136.2 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1124, allocations: 39.45 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.1124, allocations: 37.7 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1126, allocations: 330.8 kB / 487.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1128, allocations: 103.8 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.1131, allocations: 131.9 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.1136, allocations: 228.9 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1136, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006167/0.1142, allocations: 281 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1143, allocations: 6.5 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.1143, allocations: 11.98 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1143, allocations: 0 / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1145, allocations: 40.12 kB / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1146, allocations: 0 / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1148, allocations: 39.75 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.1148, allocations: 11.88 kB / 488.8 MB, free: 12.18 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.0001364/0.1149, allocations: 137.8 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.115, allocations: 19.81 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.1155, allocations: 227.1 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1155, allocations: 4 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1155, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1156, allocations: 8 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1159, allocations: 261.4 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.116, allocations: 8 kB / 489.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.1162, allocations: 27.95 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1162, allocations: 4 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1162, allocations: 8 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1162, allocations: 7.938 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1163, allocations: 0 / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.1169, allocations: 477.7 kB / 489.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.117, allocations: 104.8 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.1171, allocations: 4 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.1173, allocations: 15.98 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.1174, allocations: 23.91 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1174, allocations: 4 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1176, allocations: 192.5 kB / 490.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.1176, allocations: 7.875 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.1181, allocations: 71.94 kB / 490.4 MB, free: 10.5 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.001326/0.1194, allocations: 1.051 MB / 491.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006569/0.1201, allocations: 300.8 kB / 491.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1201, allocations: 0 / 491.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1204, allocations: 177 kB / 491.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.121, allocations: 51.77 kB / 491.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.1254, allocations: 2.827 MB / 494.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1257, allocations: 0.7514 MB / 495.5 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.1259, allocations: 45.47 kB / 495.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.126, allocations: 55.41 kB / 495.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.126, allocations: 0 / 495.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09144/0.2174, allocations: 5.86 MB / 0.4897 GB, free: 15.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.929, allocations: 21.75 kB / 0.4897 GB, free: 15.32 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]