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.001474/0.001474, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 77.22 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1193, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.00441/0.1238, allocations: 1.879 MB / 481.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1265, allocations: 1.519 MB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1268, allocations: 0 / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1272, allocations: 35.83 kB / 483.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1276, allocations: 67.64 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.1285, allocations: 227.2 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.1288, allocations: 211.2 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.1289, allocations: 17.56 kB / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1291, allocations: 91.61 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.1293, allocations: 107.6 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1294, allocations: 8 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.1298, allocations: 227.6 kB / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.1299, allocations: 55.75 kB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.907e-05/0.1301, allocations: 83.52 kB / 484.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.1306, allocations: 315.3 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1306, allocations: 4 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1306, allocations: 0 / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1306, allocations: 0 / 484.4 MB, free: 0.6641 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.001109/0.1318, allocations: 0.5455 MB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1318, allocations: 8.031 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.1319, allocations: 50.67 kB / 485 MB, free: 0 / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.1323, allocations: 60.66 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1326, allocations: 220 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1326, allocations: 12.59 kB / 485.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1326, allocations: 12.38 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.1332, allocations: 273.5 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1332, allocations: 0 / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.1332, allocations: 4 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.1333, allocations: 16.22 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.1339, allocations: 220.4 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.135, allocations: 0.8101 MB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.1354, allocations: 191.6 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.1357, allocations: 102.5 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1358, allocations: 16.11 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1358, allocations: 34.55 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.394e-06/0.1358, allocations: 0 / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009771/0.1368, allocations: 321.2 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1368, allocations: 102.8 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1371, allocations: 261 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1371, allocations: 25.7 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.1372, allocations: 139.9 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1373, allocations: 35.45 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.1374, allocations: 37.77 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1375, allocations: 334.8 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.1378, allocations: 91.89 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1381, allocations: 141 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.1386, allocations: 233.2 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1386, allocations: 3.938 kB / 488.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006984/0.1393, allocations: 277 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1393, allocations: 8.156 kB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.1394, allocations: 11.98 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1394, allocations: 4 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.1396, allocations: 35.97 kB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1397, allocations: 7.984 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.1399, allocations: 31.75 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.1399, allocations: 15.94 kB / 489.1 MB, free: 11.71 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.000123/0.1401, allocations: 145.8 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.1401, allocations: 15.81 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005084/0.1407, allocations: 219.1 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1407, allocations: 0 / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1407, allocations: 0 / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1407, allocations: 4 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.1411, allocations: 257.5 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.1411, allocations: 8 kB / 489.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1413, allocations: 39.95 kB / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1413, allocations: 0 / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1413, allocations: 4 kB / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1413, allocations: 0 / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1414, allocations: 0 / 489.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.142, allocations: 489.5 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1421, allocations: 104.8 kB / 490.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.1421, allocations: 4.188 kB / 490.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.1424, allocations: 15.98 kB / 490.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.1425, allocations: 19.86 kB / 490.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.1425, allocations: 15.98 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1427, allocations: 192.4 kB / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1427, allocations: 0 / 490.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.1432, allocations: 83.94 kB / 490.6 MB, free: 10.02 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.001152/0.1444, allocations: 1.109 MB / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006344/0.145, allocations: 301 kB / 492 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.145, allocations: 0 / 492 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1453, allocations: 177 kB / 492.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1459, allocations: 63.06 kB / 492.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.1497, allocations: 2.881 MB / 495.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.15, allocations: 0.7397 MB / 495.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1502, allocations: 37.52 kB / 495.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.1503, allocations: 55.42 kB / 496 MB, free: 4.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1503, allocations: 0 / 496 MB, free: 4.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.1679, allocations: 6.419 MB / 0.4906 GB, free: 14.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/0.1683, allocations: 234 kB / 0.4909 GB, free: 13.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.153, allocations: 0 / 0.4909 GB, free: 13.98 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]