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.001298/0.001298, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001287/0.001288, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.218/0.218, allocations: 43.54 MB / 314.1 MB, free: 460 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.002111/0.002111, allocations: 71.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003088/0.1168, allocations: 1.674 MB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1182, allocations: 0.772 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.1183, allocations: 0 / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1185, allocations: 43.75 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1188, allocations: 67.7 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.119, allocations: 59.75 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1192, allocations: 147.4 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1193, allocations: 17.39 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.1194, allocations: 59.77 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1195, allocations: 79.66 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1196, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1197, allocations: 67.83 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.1198, allocations: 47.88 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.013e-05/0.1199, allocations: 59.55 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1202, allocations: 187.2 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1203, allocations: 0 / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1203, allocations: 0 / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1203, allocations: 0 / 0.4906 GB, free: 8.988 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.000721/0.121, allocations: 466 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.1211, allocations: 15.89 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.1211, allocations: 42.73 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.1217, allocations: 72.75 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.122, allocations: 230.6 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.122, allocations: 12.31 kB / 0.4914 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.122, allocations: 12.38 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.1225, allocations: 263.8 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1225, allocations: 0 / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.1226, allocations: 4 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.1226, allocations: 15.98 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.1231, allocations: 243.8 kB / 0.4919 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1244, allocations: 0.6642 MB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.1248, allocations: 226.3 kB / 0.4928 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.125, allocations: 80.83 kB / 0.4929 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.125, allocations: 0 / 0.4929 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1251, allocations: 34.55 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1251, allocations: 7.938 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007213/0.1258, allocations: 285.3 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1259, allocations: 55.41 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.1261, allocations: 222.3 kB / 0.4935 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1261, allocations: 29.7 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.1262, allocations: 120 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1264, allocations: 51.56 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.1264, allocations: 41.69 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1266, allocations: 330.8 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.1269, allocations: 79.91 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.1271, allocations: 115 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.1275, allocations: 207.1 kB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1275, allocations: 4 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000505/0.128, allocations: 245.3 kB / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.128, allocations: 8 kB / 0.4946 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1281, allocations: 4.094 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1281, allocations: 0 / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.1304, allocations: 267.6 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.1407, allocations: 9.242 MB / 0.5039 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.1411, allocations: 27.78 kB / 0.5039 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1411, allocations: 11.98 kB / 0.504 GB, free: 10.23 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.0001779/0.1413, allocations: 141.8 kB / 0.5041 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.1413, allocations: 19.91 kB / 0.5041 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.1419, allocations: 247.5 kB / 0.5043 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1419, allocations: 8.031 kB / 0.5044 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1419, allocations: 4 kB / 0.5044 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1419, allocations: 0 / 0.5044 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1422, allocations: 249.4 kB / 0.5046 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1422, allocations: 0 / 0.5046 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.1439, allocations: 219.7 kB / 0.5048 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1439, allocations: 4.047 kB / 0.5048 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1439, allocations: 7.938 kB / 0.5048 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008488/0.1524, allocations: 8.744 MB / 0.5134 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1525, allocations: 8.016 kB / 0.5134 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.153, allocations: 287.2 kB / 0.5136 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.1531, allocations: 100.9 kB / 0.5137 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1532, allocations: 4 kB / 0.5137 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.1534, allocations: 11.98 kB / 0.5137 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.1535, allocations: 23.97 kB / 0.5138 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1535, allocations: 7.938 kB / 0.5138 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.1537, allocations: 191.1 kB / 0.514 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1537, allocations: 0 / 0.514 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.1542, allocations: 60 kB / 0.514 GB, free: 14.99 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.0008544/0.155, allocations: 0.8255 MB / 0.5148 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.1571, allocations: 0.5916 MB / 0.5154 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1571, allocations: 4 kB / 0.5154 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.1585, allocations: 399.3 kB / 0.5158 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1588, allocations: 39.92 kB / 0.5158 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.1624, allocations: 2.542 MB / 0.5183 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1628, allocations: 0.7518 MB / 0.519 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.1631, allocations: 121.4 kB / 0.5192 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.1634, allocations: 91.36 kB / 0.5192 GB, free: 9.484 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1634, allocations: 0 / 0.5192 GB, free: 9.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/0.3978, allocations: 10.2 MB / 0.5292 GB, free: 41.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.369/8.767, allocations: 14.59 kB / 0.5292 GB, free: 41.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 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.mat","/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