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.001105/0.001104, allocations: 103.6 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.001355/0.001355, 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.321/1.321, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 73.34 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.003057/0.1063, allocations: 1.829 MB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1086, allocations: 1.526 MB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1088, allocations: 0 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.1091, allocations: 39.75 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1094, allocations: 75.59 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.1102, allocations: 246.9 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1105, allocations: 211.2 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.1106, allocations: 21.55 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.1108, allocations: 91.56 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.111, allocations: 103.6 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1111, allocations: 8 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.1116, allocations: 231.6 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.1117, allocations: 47.88 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/0.1118, allocations: 91.41 kB / 484.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.1123, allocations: 315.3 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1123, allocations: 0 / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1123, allocations: 4 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1123, allocations: 0 / 485 MB, free: 332 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.0009498/0.1133, allocations: 0.53 MB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1133, allocations: 16.03 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.1134, allocations: 46.73 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1137, allocations: 52.61 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.114, allocations: 228 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.114, allocations: 12.59 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.114, allocations: 12.38 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.1146, allocations: 271.5 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1146, allocations: 0 / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1146, allocations: 8 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.1147, allocations: 8.234 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.1153, allocations: 232.4 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1167, allocations: 0.8101 MB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.1171, allocations: 183.7 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.1174, allocations: 106.5 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.1174, allocations: 0 / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.1175, allocations: 38.56 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1175, allocations: 0 / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001015/0.1185, allocations: 329.2 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.1186, allocations: 102.8 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1189, allocations: 261 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1189, allocations: 25.7 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.119, allocations: 135.9 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.1191, allocations: 43.61 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.1192, allocations: 37.69 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1194, allocations: 338.7 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1196, allocations: 91.89 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1199, allocations: 133 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.1205, allocations: 224.9 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1205, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006581/0.1211, allocations: 285 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1212, allocations: 4 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.1212, allocations: 15.94 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1212, allocations: 0 / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.1215, allocations: 39.95 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1215, allocations: 3.938 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1217, allocations: 43.75 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1218, allocations: 12.53 kB / 489.6 MB, free: 11.38 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.0001686/0.1219, allocations: 137.8 kB / 489.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.122, allocations: 15.81 kB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.1226, allocations: 227 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.1226, allocations: 4 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1226, allocations: 0 / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1226, allocations: 0 / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.1232, allocations: 261.5 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.1232, allocations: 8 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.1234, allocations: 31.95 kB / 490.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.1234, allocations: 4 kB / 490.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1234, allocations: 3.938 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1234, allocations: 4 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1234, allocations: 0 / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.1241, allocations: 485.6 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.1242, allocations: 100.8 kB / 490.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1243, allocations: 0 / 490.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.1245, allocations: 23.97 kB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.1246, allocations: 23.91 kB / 490.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1246, allocations: 11.92 kB / 490.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1248, allocations: 192.5 kB / 491.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1248, allocations: 0 / 491.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.1253, allocations: 87.92 kB / 491.2 MB, free: 9.691 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.001319/0.1267, allocations: 1.117 MB / 492.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.1274, allocations: 292.8 kB / 492.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.1274, allocations: 4 kB / 492.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.1277, allocations: 180.9 kB / 492.7 MB, free: 8.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.1282, allocations: 56.33 kB / 492.8 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.132, allocations: 2.834 MB / 495.6 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1323, allocations: 0.7397 MB / 496.4 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.1325, allocations: 37.53 kB / 496.4 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.1326, allocations: 59.41 kB / 496.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1326, allocations: 0 / 496.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.1845, allocations: 6.618 MB / 0.4913 GB, free: 13.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.205, allocations: 12.75 kB / 0.4913 GB, free: 13.7 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]