Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 107 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1957/0.1957, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 65.11 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 60.83 MB / 468.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.003208/0.114, allocations: 1.855 MB / 470.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.116, allocations: 1.456 MB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1161, allocations: 7.938 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.1164, allocations: 35.81 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1166, allocations: 59.72 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.1172, allocations: 215.2 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1174, allocations: 207.2 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.1175, allocations: 17.53 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1176, allocations: 87.69 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1178, allocations: 107.6 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1178, allocations: 8 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.1182, allocations: 215.6 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.1183, allocations: 59.75 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.1183, allocations: 79.53 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.1187, allocations: 303.3 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1187, allocations: 0 / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1188, allocations: 0 / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1188, allocations: 11.92 kB / 473.5 MB, free: 9.895 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.0009576/0.1197, allocations: 0.5339 MB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1198, allocations: 8.031 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.1198, allocations: 46.73 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.1199, allocations: 20.75 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1201, allocations: 224.4 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1201, allocations: 8.609 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1202, allocations: 12.38 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.1207, allocations: 274.7 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1207, allocations: 0 / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1208, allocations: 8 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.1208, allocations: 8.234 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005513/0.1213, allocations: 232.4 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1224, allocations: 0.8062 MB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.1228, allocations: 195.7 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.123, allocations: 102.5 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1231, allocations: 4 kB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1231, allocations: 42.69 kB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.846e-06/0.1231, allocations: 4 kB / 476.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000909/0.124, allocations: 317 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.1241, allocations: 110.8 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1244, allocations: 261.2 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1244, allocations: 29.7 kB / 476.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.1245, allocations: 131.9 kB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1245, allocations: 35.45 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.1246, allocations: 41.64 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1247, allocations: 334.8 kB / 477.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.125, allocations: 95.89 kB / 477.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.1253, allocations: 129 kB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.1258, allocations: 228.8 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1259, allocations: 0 / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006512/0.1265, allocations: 277.2 kB / 478 MB, free: 5.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1265, allocations: 4 kB / 478 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.1266, allocations: 8 kB / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1266, allocations: 4 kB / 478 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1268, allocations: 43.89 kB / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1269, allocations: 8.156 kB / 478.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1271, allocations: 27.73 kB / 478.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1271, allocations: 15.92 kB / 478.1 MB, free: 4.996 MB / 350.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.0001525/0.1273, allocations: 146.7 kB / 478.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.1274, allocations: 19.81 kB / 478.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.1278, allocations: 219.2 kB / 478.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1279, allocations: 7.922 kB / 478.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1279, allocations: 0 / 478.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.1279, allocations: 4 kB / 478.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.1283, allocations: 257.4 kB / 478.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.1283, allocations: 11.98 kB / 478.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1285, allocations: 23.97 kB / 478.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1285, allocations: 7.984 kB / 478.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1285, allocations: 11.98 kB / 478.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1286, allocations: 0 / 478.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1286, allocations: 4 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.1292, allocations: 477.6 kB / 479.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.1293, allocations: 108.8 kB / 479.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.1294, allocations: 0 / 479.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1296, allocations: 19.97 kB / 479.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.1297, allocations: 19.92 kB / 479.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1297, allocations: 4 kB / 479.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1299, allocations: 192.4 kB / 479.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1299, allocations: 0 / 479.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.1304, allocations: 91.92 kB / 479.7 MB, free: 3.309 MB / 350.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.001247/0.1317, allocations: 1.113 MB / 480.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.1323, allocations: 292.8 kB / 481.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1323, allocations: 0 / 481.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1326, allocations: 181.3 kB / 481.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.1332, allocations: 48.34 kB / 481.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.1377, allocations: 2.879 MB / 484.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.1381, allocations: 0.7397 MB / 484.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.1383, allocations: 45.5 kB / 485 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1384, allocations: 51.42 kB / 485 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1384, allocations: 384 / 485 MB, free: 13.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.1577, allocations: 6.378 MB / 491.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.1579, allocations: 257.6 kB / 491.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.099, allocations: 2.812 kB / 491.7 MB, free: 7.309 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.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]