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.001145/0.001145, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1819/0.1819, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.67 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09293, allocations: 62.45 MB / 479.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002999/0.09596, allocations: 1.879 MB / 481.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.09755, allocations: 1.028 MB / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.09766, allocations: 0 / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.09789, allocations: 47.81 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.09814, allocations: 55.67 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.09848, allocations: 111.6 kB / 482.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.09879, allocations: 287.1 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.09885, allocations: 21.55 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.09908, allocations: 83.58 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.09927, allocations: 107.6 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.09931, allocations: 8 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.09958, allocations: 123.8 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.09967, allocations: 47.86 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.09977, allocations: 79.47 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.1001, allocations: 251.4 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1001, allocations: 0 / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1001, allocations: 0 / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.1002, allocations: 0 / 483.5 MB, free: 1.441 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.0008969/0.1011, allocations: 0.5184 MB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1011, allocations: 12.88 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.1012, allocations: 46.73 kB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.1015, allocations: 60.55 kB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1017, allocations: 224 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1018, allocations: 12.61 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1018, allocations: 8.375 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.1023, allocations: 276.5 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1023, allocations: 3.984 kB / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.1023, allocations: 8 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.1023, allocations: 12.22 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.1029, allocations: 224.4 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/0.1039, allocations: 0.8101 MB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.1042, allocations: 187.7 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.1045, allocations: 102.4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1045, allocations: 8 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1045, allocations: 38.55 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.1046, allocations: 0 / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008684/0.1054, allocations: 321.4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1055, allocations: 102.8 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1057, allocations: 261 kB / 486.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1057, allocations: 25.7 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1058, allocations: 135.9 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1059, allocations: 39.45 kB / 486.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.1059, allocations: 37.77 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.106, allocations: 334.8 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1063, allocations: 91.83 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.1066, allocations: 137 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.107, allocations: 228.9 kB / 487.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.107, allocations: 0 / 487.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005925/0.1076, allocations: 273.5 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1077, allocations: 12 kB / 488 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.1077, allocations: 11.98 kB / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1077, allocations: 0 / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1079, allocations: 40.06 kB / 488.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.108, allocations: 11.81 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1082, allocations: 35.75 kB / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1082, allocations: 11.94 kB / 488.1 MB, free: 12.52 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.0001123/0.1083, allocations: 141.8 kB / 488.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.1084, allocations: 15.81 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.1088, allocations: 223.1 kB / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1088, allocations: 4 kB / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1088, allocations: 0 / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1089, allocations: 0 / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.1092, allocations: 265.5 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.1092, allocations: 4 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1094, allocations: 39.95 kB / 488.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.1094, allocations: 4 kB / 488.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1095, allocations: 0 / 488.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1095, allocations: 7.938 kB / 488.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1095, allocations: 0 / 488.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.1101, allocations: 485.6 kB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1101, allocations: 104.8 kB / 489.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.1102, allocations: 0 / 489.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.1104, allocations: 15.98 kB / 489.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.1105, allocations: 19.91 kB / 489.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1105, allocations: 8 kB / 489.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1107, allocations: 200.4 kB / 489.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1107, allocations: 0 / 489.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.1111, allocations: 64 kB / 489.7 MB, free: 10.85 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.0009286/0.112, allocations: 1.063 MB / 490.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005786/0.1126, allocations: 280.8 kB / 491 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1126, allocations: 320 / 491 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.1129, allocations: 184.9 kB / 491.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.1134, allocations: 44.34 kB / 491.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.1169, allocations: 2.871 MB / 494.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1171, allocations: 0.7439 MB / 494.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1173, allocations: 37.52 kB / 494.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.1174, allocations: 51.41 kB / 494.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1174, allocations: 4 kB / 494.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.442/2.559, allocations: 5.439 MB / 0.4887 GB, free: 104 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03282/2.592, allocations: 237.7 kB / 0.4889 GB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/5.008, allocations: 0 / 0.4889 GB, free: 15.84 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]