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.001126/0.001126, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.4 MB, free: 9.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 77.22 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 62.45 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003348/0.1124, allocations: 1.875 MB / 481.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1142, allocations: 1.028 MB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1144, allocations: 0 / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1147, allocations: 39.81 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.1151, allocations: 55.73 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.1157, allocations: 123.6 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.1161, allocations: 219.2 kB / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.025e-05/0.1161, allocations: 9.562 kB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.1164, allocations: 83.69 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1166, allocations: 103.6 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.1167, allocations: 8 kB / 483.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.117, allocations: 143.8 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.1171, allocations: 59.81 kB / 483.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1172, allocations: 79.47 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1176, allocations: 255.4 kB / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1177, allocations: 0 / 483.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1177, allocations: 4 kB / 483.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1177, allocations: 0 / 483.7 MB, free: 1.391 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.001024/0.1187, allocations: 0.5222 MB / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1188, allocations: 12.03 kB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.1188, allocations: 50.73 kB / 484.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.1192, allocations: 56.61 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1195, allocations: 224 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1196, allocations: 8.609 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1196, allocations: 12.36 kB / 484.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.1202, allocations: 280.5 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1202, allocations: 0 / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1202, allocations: 3.984 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.1203, allocations: 20.22 kB / 484.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.1209, allocations: 228.4 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.122, allocations: 0.8061 MB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.1224, allocations: 187.6 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1227, allocations: 106.5 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.1227, allocations: 4 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1228, allocations: 34.69 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1228, allocations: 0 / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009596/0.1238, allocations: 321.2 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1238, allocations: 106.8 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1241, allocations: 261 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.1242, allocations: 25.7 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.1243, allocations: 148 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1243, allocations: 31.47 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.1244, allocations: 41.69 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1245, allocations: 330.8 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1248, allocations: 95.89 kB / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.1251, allocations: 135.6 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.1256, allocations: 229.2 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1256, allocations: 0 / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006677/0.1263, allocations: 281 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1263, allocations: 4 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.1264, allocations: 12 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1264, allocations: 3.984 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.1266, allocations: 39.91 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1267, allocations: 0 / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1269, allocations: 43.88 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1269, allocations: 11.94 kB / 488.3 MB, free: 12.46 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.0001474/0.1271, allocations: 133.8 kB / 488.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.1272, allocations: 19.81 kB / 488.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.1277, allocations: 219.1 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1277, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1277, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1277, allocations: 11.94 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.1282, allocations: 261.4 kB / 488.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.1282, allocations: 12 kB / 488.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.1284, allocations: 27.95 kB / 489 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1284, allocations: 4 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1284, allocations: 4 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1284, allocations: 4 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1284, allocations: 0 / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.1291, allocations: 485.6 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.1292, allocations: 100.8 kB / 489.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.1293, allocations: 3.984 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.1296, allocations: 23.98 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.1296, allocations: 19.92 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1297, allocations: 7.984 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1299, allocations: 192.4 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1299, allocations: 3.938 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.1303, allocations: 68 kB / 489.9 MB, free: 10.78 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.001133/0.1315, allocations: 1.055 MB / 490.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.1322, allocations: 297 kB / 491.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1322, allocations: 0 / 491.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.1325, allocations: 180.9 kB / 491.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.133, allocations: 48.77 kB / 491.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.1371, allocations: 2.873 MB / 494.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1374, allocations: 0.7397 MB / 495 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.1376, allocations: 37.52 kB / 495.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1377, allocations: 63.41 kB / 495.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1377, allocations: 0 / 495.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.1549, allocations: 5.659 MB / 0.4891 GB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004181/0.1554, allocations: 247.8 kB / 0.4893 GB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.111, allocations: 0 / 0.4893 GB, free: 15.56 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]