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.001114/0.001114, allocations: 105.9 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 209.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 73.28 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.123, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003733/0.1267, allocations: 1.887 MB / 481.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1284, allocations: 1.02 MB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1286, allocations: 0 / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1289, allocations: 35.83 kB / 482.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1292, allocations: 59.72 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1296, allocations: 111.6 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.1299, allocations: 215.2 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.13, allocations: 13.55 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1302, allocations: 91.67 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1304, allocations: 107.6 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1304, allocations: 8 kB / 483.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1307, allocations: 135.8 kB / 483.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.1308, allocations: 51.81 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.1309, allocations: 83.45 kB / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.1313, allocations: 251.4 kB / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1313, allocations: 0 / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1313, allocations: 4 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1313, allocations: 0 / 483.7 MB, free: 1.426 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.0009751/0.1323, allocations: 0.5184 MB / 484.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1323, allocations: 12.03 kB / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.1324, allocations: 46.73 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.1328, allocations: 60.61 kB / 484.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1331, allocations: 224 kB / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1331, allocations: 8.609 kB / 484.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1332, allocations: 8.375 kB / 484.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.1337, allocations: 277.4 kB / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1337, allocations: 0 / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1338, allocations: 0 / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.1338, allocations: 20.22 kB / 484.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.1344, allocations: 224.4 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1355, allocations: 0.81 MB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.1359, allocations: 191.6 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.1362, allocations: 102.5 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.1362, allocations: 3.984 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1363, allocations: 42.69 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1363, allocations: 0 / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009351/0.1372, allocations: 317.1 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1373, allocations: 106.8 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1375, allocations: 261 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1376, allocations: 29.86 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.1376, allocations: 139.9 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.1377, allocations: 35.45 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.1378, allocations: 41.7 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1379, allocations: 334.8 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.1381, allocations: 87.91 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.1384, allocations: 133 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.139, allocations: 228.8 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.139, allocations: 0 / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00064/0.1396, allocations: 277.1 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1396, allocations: 7.984 kB / 488.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.1397, allocations: 12 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1397, allocations: 0 / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1399, allocations: 39.91 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1399, allocations: 3.984 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1402, allocations: 39.92 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.1402, allocations: 12.39 kB / 488.2 MB, free: 12.51 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.0001195/0.1403, allocations: 133.8 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.1404, allocations: 23.8 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.1409, allocations: 223 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1409, allocations: 4 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1409, allocations: 0 / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1409, allocations: 15.98 kB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.1413, allocations: 253.4 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.1413, allocations: 19.92 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1415, allocations: 23.97 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1415, allocations: 4 kB / 488.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1416, allocations: 0 / 488.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1416, allocations: 4 kB / 488.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1416, allocations: 0 / 488.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.1422, allocations: 485.6 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.1423, allocations: 104.8 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.1424, allocations: 7.984 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.1426, allocations: 19.98 kB / 489.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.1427, allocations: 19.91 kB / 489.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/0.1428, allocations: 8 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.143, allocations: 192.4 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.714e-06/0.143, allocations: 0 / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1434, allocations: 67.94 kB / 489.8 MB, free: 10.83 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.001074/0.1445, allocations: 1.055 MB / 490.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.1452, allocations: 301 kB / 491.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1452, allocations: 288 / 491.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1455, allocations: 180.9 kB / 491.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1461, allocations: 58.58 kB / 491.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.1504, allocations: 2.877 MB / 494.3 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1507, allocations: 0.7436 MB / 495 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1508, allocations: 33.53 kB / 495.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1509, allocations: 55.41 kB / 495.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.151, allocations: 0 / 495.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.1681, allocations: 5.573 MB / 0.489 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1683, allocations: 240 kB / 0.4892 GB, free: 15.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.111, allocations: 0 / 0.4892 GB, free: 15.7 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]