Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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_laminar,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001037/0.001037, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 79.31 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1006, allocations: 62.44 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003229/0.1039, allocations: 1.822 MB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1055, allocations: 1.02 MB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1057, allocations: 0 / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1059, allocations: 43.75 kB / 483 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1062, allocations: 67.59 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1066, allocations: 135.5 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1069, allocations: 207.2 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.107, allocations: 9.562 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1072, allocations: 95.61 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1074, allocations: 111.5 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1075, allocations: 8 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1077, allocations: 123.8 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.1078, allocations: 51.81 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.988e-05/0.1079, allocations: 87.45 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.1083, allocations: 251.4 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1083, allocations: 0 / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1083, allocations: 0 / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1083, allocations: 0 / 484.2 MB, free: 1.09 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.001077/0.1094, allocations: 0.5262 MB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1094, allocations: 8.031 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/0.1095, allocations: 50.73 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.1099, allocations: 48.62 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1102, allocations: 232 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1102, allocations: 8.609 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1102, allocations: 12.38 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.1108, allocations: 271.5 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1108, allocations: 0 / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1108, allocations: 4 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.1108, allocations: 16.23 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.1114, allocations: 220.4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1126, allocations: 0.8178 MB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.1131, allocations: 191.7 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.1133, allocations: 102.5 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.1134, allocations: 7.984 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1134, allocations: 34.73 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.1134, allocations: 7.938 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001018/0.1145, allocations: 313.1 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.1146, allocations: 111 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1149, allocations: 269.3 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1149, allocations: 25.7 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1151, allocations: 131.9 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1151, allocations: 35.45 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.1152, allocations: 41.64 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1154, allocations: 334.8 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1157, allocations: 99.89 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.116, allocations: 132.3 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.1166, allocations: 224.8 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1166, allocations: 0 / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007024/0.1173, allocations: 281.1 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1174, allocations: 8 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.1174, allocations: 8 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1174, allocations: 4 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1177, allocations: 44.05 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.1177, allocations: 4 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1179, allocations: 31.77 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.118, allocations: 15.92 kB / 488.8 MB, free: 12.16 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.0001567/0.1181, allocations: 137.8 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.1182, allocations: 15.81 kB / 488.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.1188, allocations: 227.1 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1188, allocations: 0 / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1188, allocations: 4 kB / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1188, allocations: 0 / 489.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1193, allocations: 257.7 kB / 489.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.1193, allocations: 12 kB / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1195, allocations: 39.78 kB / 489.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1195, allocations: 0 / 489.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1195, allocations: 11.98 kB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1195, allocations: 0 / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1195, allocations: 4 kB / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.1202, allocations: 477.7 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.1203, allocations: 108.7 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.1204, allocations: 4 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.1206, allocations: 19.97 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.1207, allocations: 19.92 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1207, allocations: 4 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1209, allocations: 192.4 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1209, allocations: 0 / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.1214, allocations: 68 kB / 490.3 MB, free: 10.49 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.001241/0.1226, allocations: 1.058 MB / 491.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006578/0.1233, allocations: 296.8 kB / 491.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1233, allocations: 0 / 491.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.1236, allocations: 177 kB / 491.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.1242, allocations: 52.09 kB / 491.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.1281, allocations: 2.826 MB / 494.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1284, allocations: 0.7397 MB / 495.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1285, allocations: 49.5 kB / 495.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.1286, allocations: 51.42 kB / 495.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1286, allocations: 0 / 495.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.1509, allocations: 5.782 MB / 0.4896 GB, free: 15.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.018, allocations: 13.08 kB / 0.4896 GB, free: 15.4 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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.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]