Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001709/0.001709, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.002136/0.002136, allocations: 189.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.408/1.408, 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.2121/0.2121, allocations: 43.52 MB / 314.1 MB, free: 476 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.002001/0.002001, allocations: 63.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003728/0.1141, allocations: 2.099 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1158, allocations: 0.9161 MB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1159, allocations: 4 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1162, allocations: 71.52 kB / 0.4905 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.1167, allocations: 139.3 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.117, allocations: 91.7 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.1176, allocations: 465.8 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.1177, allocations: 48.7 kB / 0.4912 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.1179, allocations: 175.1 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.1182, allocations: 211 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.1183, allocations: 16 kB / 0.4916 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.1188, allocations: 259.6 kB / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1189, allocations: 111.4 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1191, allocations: 178.8 kB / 0.4921 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.1198, allocations: 0.5289 MB / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1199, allocations: 4 kB / 0.4926 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1199, allocations: 0 / 0.4926 GB, free: 6.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1199, allocations: 4 kB / 0.4926 GB, free: 6.965 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001257/0.1212, allocations: 0.7285 MB / 0.4933 GB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1212, allocations: 12.03 kB / 0.4933 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.1213, allocations: 90.7 kB / 0.4934 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.1214, allocations: 48.64 kB / 0.4935 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.1218, allocations: 303.6 kB / 0.4938 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.1218, allocations: 29.38 kB / 0.4938 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.1219, allocations: 51.86 kB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.123, allocations: 0.6601 MB / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.123, allocations: 0 / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.1231, allocations: 23.97 kB / 0.4945 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/0.1231, allocations: 49.28 kB / 0.4945 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.1244, allocations: 0.6959 MB / 0.4952 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.1266, allocations: 1.361 MB / 0.4966 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/0.1275, allocations: 456.4 kB / 0.497 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.1278, allocations: 157.2 kB / 0.4971 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.1278, allocations: 12.45 kB / 0.4971 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1279, allocations: 30.56 kB / 0.4972 GB, free: 2.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.1279, allocations: 4 kB / 0.4972 GB, free: 2.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001185/0.1291, allocations: 0.5322 MB / 0.4977 GB, free: 1.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.1292, allocations: 59.41 kB / 0.4978 GB, free: 1.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1298, allocations: 497.4 kB / 0.4982 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1298, allocations: 29.7 kB / 0.4983 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.13, allocations: 216.6 kB / 0.4985 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1301, allocations: 103.1 kB / 0.4986 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.1303, allocations: 97.89 kB / 0.4987 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1305, allocations: 354.7 kB / 0.499 GB, free: 184 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.1309, allocations: 156.5 kB / 0.4991 GB, free: 28 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.1313, allocations: 248.2 kB / 0.4994 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.1321, allocations: 439.6 kB / 0.4998 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1321, allocations: 0 / 0.4998 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000965/0.1331, allocations: 489.2 kB / 0.5003 GB, free: 14.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1331, allocations: 12.03 kB / 0.5003 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1331, allocations: 4.109 kB / 0.5003 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1332, allocations: 7.938 kB / 0.5003 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.1341, allocations: 207.8 kB / 0.5005 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.1391, allocations: 7.298 MB / 0.5076 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.1396, allocations: 59.5 kB / 0.5077 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.1396, allocations: 23.94 kB / 0.5077 GB, free: 6.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.14, allocations: 221.5 kB / 0.5079 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.1401, allocations: 47.66 kB / 0.508 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.1412, allocations: 0.5327 MB / 0.5085 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1412, allocations: 8.094 kB / 0.5085 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1412, allocations: 4 kB / 0.5085 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1412, allocations: 3.984 kB / 0.5085 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.1418, allocations: 413.2 kB / 0.5089 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1418, allocations: 4 kB / 0.5089 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.1427, allocations: 195.8 kB / 0.5091 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1427, allocations: 0 / 0.5091 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.1427, allocations: 15.98 kB / 0.5091 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/0.1474, allocations: 7.294 MB / 0.5162 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.1474, allocations: 7.922 kB / 0.5162 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.1483, allocations: 0.4964 MB / 0.5167 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1484, allocations: 128.7 kB / 0.5168 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.1485, allocations: 7.984 kB / 0.5168 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.1487, allocations: 8 kB / 0.5168 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.1488, allocations: 27.91 kB / 0.5169 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.1489, allocations: 15.98 kB / 0.5169 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004149/0.1493, allocations: 355.1 kB / 0.5172 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1493, allocations: 7.875 kB / 0.5172 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.1498, allocations: 131.8 kB / 0.5174 GB, free: 12.63 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.1511, allocations: 1.079 MB / 0.5184 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.1526, allocations: 0.5123 MB / 0.5189 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1526, allocations: 8 kB / 0.5189 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.1536, allocations: 344.1 kB / 0.5192 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.1542, allocations: 113.3 kB / 0.5194 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006615/0.1609, allocations: 4.897 MB / 0.5241 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.1614, allocations: 0.8815 MB / 0.525 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.1618, allocations: 140 kB / 0.5251 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.162, allocations: 135.4 kB / 0.5253 GB, free: 4.34 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.162, allocations: 0 / 0.5253 GB, free: 4.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2654/0.4275, allocations: 13.66 MB / 0.5386 GB, free: 40.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.63, allocations: 8.344 kB / 0.5386 GB, free: 40.49 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches