Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008065/0.0008065, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009406/0.0009406, allocations: 201.1 kB / 18.28 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.24/1.24, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002044/0.0002044, allocations: 4 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09244, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.001533/0.09399, allocations: 1.544 MB / 484.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.09567, allocations: 1.507 MB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.09572, allocations: 4 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.09584, allocations: 27.83 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.09599, allocations: 67.72 kB / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.09644, allocations: 222.8 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.09669, allocations: 295.1 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.787e-05/0.09673, allocations: 17.56 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.09687, allocations: 83.62 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.09701, allocations: 111.6 kB / 487.1 MB, free: 156 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.09703, allocations: 4 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.09737, allocations: 227.7 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.09743, allocations: 51.69 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.09751, allocations: 105.2 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.09785, allocations: 311.3 kB / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.09786, allocations: 0 / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09787, allocations: 0 / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.09787, allocations: 0 / 487.7 MB, free: 15.46 MB / 366.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.0007102/0.09859, allocations: 0.5301 MB / 488.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.415e-05/0.09862, allocations: 8.875 kB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.09866, allocations: 46.73 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.09899, allocations: 64.7 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.09917, allocations: 227.9 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.09919, allocations: 12.61 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.09922, allocations: 12.38 kB / 488.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.09966, allocations: 280.6 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.09968, allocations: 3.938 kB / 488.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.0997, allocations: 4 kB / 488.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.09973, allocations: 16.22 kB / 488.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.1003, allocations: 248.4 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.1011, allocations: 0.8141 MB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.1015, allocations: 203.6 kB / 490.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.1018, allocations: 114.6 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1018, allocations: 11.97 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1018, allocations: 34.56 kB / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.1018, allocations: 0 / 490.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000887/0.1027, allocations: 361.2 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.1028, allocations: 106.8 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.103, allocations: 261 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1031, allocations: 25.7 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.1031, allocations: 135.9 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1032, allocations: 35.45 kB / 491.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1032, allocations: 21.75 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.1033, allocations: 338.8 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.1036, allocations: 95.91 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.1039, allocations: 153 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1044, allocations: 252.9 kB / 492.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1044, allocations: 0 / 492.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006308/0.105, allocations: 313.1 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.105, allocations: 4 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.1051, allocations: 8 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1051, allocations: 4 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1053, allocations: 47.95 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1053, allocations: 0 / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1055, allocations: 43.8 kB / 492.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1055, allocations: 16.39 kB / 492.5 MB, free: 10.35 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.000102/0.1057, allocations: 141.8 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.1057, allocations: 19.81 kB / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.1062, allocations: 231.1 kB / 492.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1062, allocations: 4 kB / 492.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1062, allocations: 3.984 kB / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1062, allocations: 3.984 kB / 492.9 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.1066, allocations: 261.4 kB / 493.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.1066, allocations: 7.984 kB / 493.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.1068, allocations: 35.97 kB / 493.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1068, allocations: 4 kB / 493.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1068, allocations: 8 kB / 493.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1068, allocations: 3.984 kB / 493.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1068, allocations: 3.938 kB / 493.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.1074, allocations: 0.4938 MB / 493.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.1075, allocations: 104.8 kB / 493.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.1075, allocations: 0 / 493.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1078, allocations: 23.97 kB / 493.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.1078, allocations: 23.92 kB / 493.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1078, allocations: 8 kB / 493.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.108, allocations: 192.4 kB / 494.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.108, allocations: 0 / 494.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.1084, allocations: 99.83 kB / 494.2 MB, free: 8.598 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.00102/0.1094, allocations: 1.129 MB / 495.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.1101, allocations: 316.7 kB / 495.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1101, allocations: 0 / 495.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.1104, allocations: 197.2 kB / 495.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.1109, allocations: 43.48 kB / 495.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.1143, allocations: 2.963 MB / 498.8 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1146, allocations: 0.7478 MB / 499.5 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1147, allocations: 41.52 kB / 499.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.1148, allocations: 55.34 kB / 499.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1148, allocations: 0 / 499.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.24, allocations: 6.179 MB / 0.494 GB, free: 12.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/1.24, allocations: 232.1 kB / 0.4942 GB, free: 12.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/3.318, allocations: 14.91 kB / 0.4942 GB, free: 12.66 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_1.y,input_v_2.y,input_v_0.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]