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.001087/0.001087, allocations: 108.8 kB / 16.4 MB, free: 6.367 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.001119/0.001119, allocations: 198.7 kB / 17.34 MB, free: 5.844 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.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2114/0.2114, allocations: 43.52 MB / 314.1 MB, free: 464 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.001592/0.001592, allocations: 72.47 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.004173/0.1222, allocations: 2.107 MB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1242, allocations: 0.9161 MB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.1245, allocations: 0 / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.1249, allocations: 71.52 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006754/0.1256, allocations: 147.3 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.1261, allocations: 91.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.1268, allocations: 461.8 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1269, allocations: 52.7 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.1273, allocations: 175.1 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1278, allocations: 211 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.1278, allocations: 16 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.1284, allocations: 263.6 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1286, allocations: 107.5 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.1289, allocations: 178.8 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007539/0.1296, allocations: 0.5328 MB / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1296, allocations: 0 / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1296, allocations: 0 / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.1297, allocations: 4 kB / 0.4926 GB, free: 6.93 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.001495/0.1312, allocations: 0.7285 MB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.1312, allocations: 12.03 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.1314, allocations: 94.69 kB / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.1315, allocations: 48.66 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.132, allocations: 307.6 kB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.132, allocations: 29.38 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.1321, allocations: 47.92 kB / 0.4938 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1331, allocations: 0.6601 MB / 0.4945 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1332, allocations: 0 / 0.4945 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.1332, allocations: 19.98 kB / 0.4945 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/0.1333, allocations: 49.28 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1345, allocations: 0.6998 MB / 0.4952 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.1366, allocations: 1.357 MB / 0.4966 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.1374, allocations: 460.3 kB / 0.497 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.1377, allocations: 157.2 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.1378, allocations: 12.44 kB / 0.4972 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1378, allocations: 38.56 kB / 0.4972 GB, free: 2.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.1378, allocations: 0 / 0.4972 GB, free: 2.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001098/0.1389, allocations: 0.5244 MB / 0.4977 GB, free: 1.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.139, allocations: 63.39 kB / 0.4978 GB, free: 1.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.1395, allocations: 493.5 kB / 0.4982 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1395, allocations: 33.64 kB / 0.4983 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1397, allocations: 220.6 kB / 0.4985 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/0.1398, allocations: 107.1 kB / 0.4986 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1399, allocations: 89.95 kB / 0.4987 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1401, allocations: 354.7 kB / 0.499 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.1404, allocations: 152.6 kB / 0.4991 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1408, allocations: 248.2 kB / 0.4994 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.1415, allocations: 439.6 kB / 0.4998 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1415, allocations: 0 / 0.4998 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008311/0.1423, allocations: 489.2 kB / 0.5003 GB, free: 14.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1423, allocations: 12.03 kB / 0.5003 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1423, allocations: 4.109 kB / 0.5003 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1424, allocations: 7.938 kB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/0.1433, allocations: 207.8 kB / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.1479, allocations: 7.302 MB / 0.5076 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.1483, allocations: 55.52 kB / 0.5077 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.1484, allocations: 23.98 kB / 0.5077 GB, free: 6.867 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.0003379/0.1487, allocations: 221.5 kB / 0.5079 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.1488, allocations: 51.64 kB / 0.508 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1499, allocations: 0.5327 MB / 0.5085 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1499, allocations: 8.094 kB / 0.5085 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1499, allocations: 0 / 0.5085 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1499, allocations: 0 / 0.5085 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.1505, allocations: 421.1 kB / 0.5089 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.1505, allocations: 0 / 0.5089 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.1513, allocations: 195.8 kB / 0.5091 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.1514, allocations: 0 / 0.5091 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.1514, allocations: 16 kB / 0.5091 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004285/0.1557, allocations: 7.298 MB / 0.5162 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.1557, allocations: 7.938 kB / 0.5162 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.1565, allocations: 0.4964 MB / 0.5167 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.1567, allocations: 124.8 kB / 0.5168 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.1567, allocations: 8 kB / 0.5168 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.157, allocations: 11.98 kB / 0.5168 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.1571, allocations: 23.91 kB / 0.5169 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.1571, allocations: 19.92 kB / 0.5169 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003978/0.1575, allocations: 359.1 kB / 0.5172 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1575, allocations: 0 / 0.5172 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004881/0.158, allocations: 123.8 kB / 0.5174 GB, free: 12.61 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.001305/0.1593, allocations: 1.087 MB / 0.5184 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1608, allocations: 0.5123 MB / 0.5189 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1608, allocations: 4 kB / 0.5189 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009836/0.1618, allocations: 344.1 kB / 0.5192 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.1624, allocations: 113.3 kB / 0.5194 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.169, allocations: 4.898 MB / 0.5241 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.1695, allocations: 0.8815 MB / 0.525 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000353/0.1699, allocations: 140 kB / 0.5251 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.1701, allocations: 127.4 kB / 0.5253 GB, free: 4.312 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1701, allocations: 4 kB / 0.5253 GB, free: 4.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2749/0.445, allocations: 13.66 MB / 0.5386 GB, free: 40.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 10.91 kB / 0.5386 GB, free: 40.48 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