Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.001097/0.001097, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001194/0.001194, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1872/0.1872, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 83.86 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003337/0.1085, allocations: 1.682 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1098, allocations: 0.772 MB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.1099, allocations: 4 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1103, allocations: 39.75 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1106, allocations: 67.66 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1108, allocations: 63.75 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.1111, allocations: 151.3 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.1112, allocations: 21.38 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1113, allocations: 59.77 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1114, allocations: 71.67 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.1115, allocations: 8 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1117, allocations: 63.89 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.1118, allocations: 51.8 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.1119, allocations: 63.61 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.1122, allocations: 175.2 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1122, allocations: 8 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1122, allocations: 0 / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.1123, allocations: 0 / 0.4906 GB, free: 8.961 MB / 382.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.0008713/0.1131, allocations: 462.6 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1132, allocations: 11.89 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.1133, allocations: 50.73 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005701/0.1138, allocations: 72.77 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1141, allocations: 228 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1141, allocations: 8.375 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1142, allocations: 8.375 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.1146, allocations: 263.9 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1147, allocations: 0 / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.1147, allocations: 4 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.1147, allocations: 23.97 kB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.1153, allocations: 247.7 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1165, allocations: 0.6603 MB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.1169, allocations: 222.3 kB / 0.4928 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.1171, allocations: 84.81 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1172, allocations: 4 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1172, allocations: 34.5 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1172, allocations: 0 / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006676/0.1179, allocations: 289.3 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1179, allocations: 51.41 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1181, allocations: 226.3 kB / 0.4935 GB, free: 5.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1182, allocations: 29.7 kB / 0.4935 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.1183, allocations: 120 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1183, allocations: 51.56 kB / 0.4937 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.1184, allocations: 41.69 kB / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1185, allocations: 330.8 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1187, allocations: 79.91 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1189, allocations: 114.9 kB / 0.4942 GB, free: 5.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1193, allocations: 207.2 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1193, allocations: 0 / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004868/0.1198, allocations: 249.3 kB / 0.4946 GB, free: 4.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1198, allocations: 6.656 kB / 0.4946 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1198, allocations: 0 / 0.4946 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1199, allocations: 4.094 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.1222, allocations: 267.6 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00914/0.1313, allocations: 9.242 MB / 0.5039 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.1316, allocations: 39.8 kB / 0.504 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1316, allocations: 7.984 kB / 0.504 GB, free: 10.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.1318, allocations: 145.7 kB / 0.5041 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.1318, allocations: 15.91 kB / 0.5041 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.1323, allocations: 243.6 kB / 0.5043 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1323, allocations: 3.984 kB / 0.5044 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-06/0.1323, allocations: 0 / 0.5044 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1323, allocations: 4 kB / 0.5044 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1326, allocations: 245.4 kB / 0.5046 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1326, allocations: 0 / 0.5046 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.1342, allocations: 215.7 kB / 0.5048 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1343, allocations: 112 / 0.5048 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.1343, allocations: 15.92 kB / 0.5048 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0071/0.1414, allocations: 8.732 MB / 0.5133 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1414, allocations: 4.156 kB / 0.5133 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.1419, allocations: 295.4 kB / 0.5136 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1419, allocations: 96.95 kB / 0.5137 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.142, allocations: 11.94 kB / 0.5137 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1422, allocations: 7.984 kB / 0.5137 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.1423, allocations: 35.89 kB / 0.5138 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1423, allocations: 7.938 kB / 0.5138 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1425, allocations: 191.1 kB / 0.514 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1425, allocations: 0 / 0.514 GB, free: 15.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00043/0.1429, allocations: 60 kB / 0.514 GB, free: 14.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008874/0.1438, allocations: 0.8255 MB / 0.5148 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.1462, allocations: 0.5955 MB / 0.5154 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1462, allocations: 0 / 0.5154 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.1476, allocations: 394.9 kB / 0.5158 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.148, allocations: 39.89 kB / 0.5158 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.1512, allocations: 2.552 MB / 0.5183 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1516, allocations: 0.7518 MB / 0.519 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.152, allocations: 105.5 kB / 0.5191 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.1522, allocations: 91.36 kB / 0.5192 GB, free: 9.469 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1522, allocations: 4 kB / 0.5192 GB, free: 9.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/0.3693, allocations: 10.21 MB / 0.5292 GB, free: 40.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.157, allocations: 7.891 kB / 0.5292 GB, free: 40.66 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches