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.0007982/0.0007982, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009173/0.0009173, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.135/1.135, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002197/0.0002198, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08617/0.0864, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001681/0.08811, allocations: 1.548 MB / 484.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.08945, allocations: 1.009 MB / 485.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.08953, allocations: 3.938 kB / 485.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.08971, allocations: 35.83 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.0899, allocations: 63.66 kB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.09022, allocations: 127.5 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.0905, allocations: 291.1 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.09055, allocations: 9.562 kB / 486.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.09073, allocations: 87.62 kB / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.09088, allocations: 103.6 kB / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.09091, allocations: 8 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.09113, allocations: 131.8 kB / 486.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.0912, allocations: 55.8 kB / 486.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.09129, allocations: 101.2 kB / 486.7 MB, free: 480 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.09157, allocations: 255.3 kB / 487 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09158, allocations: 0 / 487 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09158, allocations: 0 / 487 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.09159, allocations: 0 / 487 MB, free: 224 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.0007597/0.09236, allocations: 0.5068 MB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.09239, allocations: 12.02 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.09244, allocations: 42.75 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.09276, allocations: 64.7 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.09296, allocations: 231.9 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.09297, allocations: 4.609 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.09301, allocations: 12.38 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.09348, allocations: 288.6 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.0935, allocations: 0 / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.09352, allocations: 3.984 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.09356, allocations: 20.22 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.09409, allocations: 248.4 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.095, allocations: 0.8217 MB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.09537, allocations: 199.7 kB / 489.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.09563, allocations: 114.5 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.09566, allocations: 3.984 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.09568, allocations: 34.56 kB / 489.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.09569, allocations: 0 / 489.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008692/0.09656, allocations: 357.7 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.09662, allocations: 106.9 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.09685, allocations: 264.9 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.09687, allocations: 29.77 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.09695, allocations: 135.9 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.09699, allocations: 35.45 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.09703, allocations: 17.72 kB / 490.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.09713, allocations: 342.7 kB / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.09739, allocations: 107.9 kB / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.09766, allocations: 145 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.09818, allocations: 248.9 kB / 491.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09819, allocations: 4 kB / 491.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006254/0.09882, allocations: 301.1 kB / 491.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.09884, allocations: 4 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.09887, allocations: 12 kB / 491.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.09888, allocations: 4 kB / 491.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.09909, allocations: 48.11 kB / 491.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.09911, allocations: 3.938 kB / 491.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.0993, allocations: 39.67 kB / 491.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.09933, allocations: 19.92 kB / 491.8 MB, free: 11.13 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.0001081/0.09944, allocations: 141.8 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.09952, allocations: 19.8 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.09996, allocations: 227.2 kB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.09997, allocations: 7.984 kB / 492.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.09998, allocations: 4 kB / 492.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.09999, allocations: 0 / 492.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.1003, allocations: 265.4 kB / 492.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.1004, allocations: 8 kB / 492.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.1005, allocations: 39.91 kB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1005, allocations: 0 / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1006, allocations: 15.92 kB / 492.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1006, allocations: 0 / 492.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1006, allocations: 4 kB / 492.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.1012, allocations: 0.49 MB / 493 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1013, allocations: 104.8 kB / 493.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.1013, allocations: 0 / 493.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1016, allocations: 31.97 kB / 493.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.1016, allocations: 15.92 kB / 493.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1017, allocations: 11.94 kB / 493.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1018, allocations: 192.4 kB / 493.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1018, allocations: 0 / 493.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1022, allocations: 75.89 kB / 493.4 MB, free: 9.395 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.0009431/0.1031, allocations: 1.09 MB / 494.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005903/0.1038, allocations: 304.8 kB / 494.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1038, allocations: 0 / 494.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.1041, allocations: 197.3 kB / 495 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.1046, allocations: 47.72 kB / 495 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.108, allocations: 2.959 MB / 498 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1084, allocations: 0.7439 MB / 498.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.1086, allocations: 41.5 kB / 498.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.1087, allocations: 55.41 kB / 498.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1087, allocations: 4 kB / 498.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1227, allocations: 5.426 MB / 0.4924 GB, free: 14.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.1228, allocations: 251.1 kB / 0.4927 GB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.752, allocations: 4 kB / 0.4927 GB, free: 14.26 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]