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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.001133/0.001133, allocations: 110.5 kB / 16.41 MB, free: 6.449 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.001385/0.001385, allocations: 192.8 kB / 17.34 MB, free: 5.738 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.196/0.196, allocations: 43.52 MB / 314.1 MB, free: 468 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.002424/0.002424, allocations: 76.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1255, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003804/0.1294, allocations: 2.197 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1314, allocations: 1.157 MB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.1316, allocations: 0 / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1319, allocations: 71.58 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1323, allocations: 103.4 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.1329, allocations: 183.4 kB / 0.4911 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.1335, allocations: 497.7 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1337, allocations: 61.03 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.134, allocations: 171.1 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.1344, allocations: 207 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.1344, allocations: 12 kB / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.135, allocations: 331.5 kB / 0.4923 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1352, allocations: 103.4 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.1354, allocations: 182.8 kB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007383/0.1361, allocations: 0.5874 MB / 0.4931 GB, free: 6.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1361, allocations: 0 / 0.4931 GB, free: 6.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1361, allocations: 0 / 0.4931 GB, free: 6.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.1362, allocations: 0 / 0.4931 GB, free: 6.422 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001318/0.1375, allocations: 0.7631 MB / 0.4939 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1375, allocations: 11.89 kB / 0.4939 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.476e-05/0.1376, allocations: 90.7 kB / 0.494 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.1377, allocations: 56.61 kB / 0.494 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1381, allocations: 299.6 kB / 0.4943 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.1382, allocations: 37.38 kB / 0.4943 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.1383, allocations: 47.94 kB / 0.4944 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1393, allocations: 0.6558 MB / 0.495 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1393, allocations: 0 / 0.495 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.1393, allocations: 20 kB / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.1394, allocations: 28.98 kB / 0.4951 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.1403, allocations: 483.5 kB / 0.4955 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1423, allocations: 1.524 MB / 0.497 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.1429, allocations: 291.6 kB / 0.4973 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.1432, allocations: 154.6 kB / 0.4974 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.1433, allocations: 15.92 kB / 0.4975 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.1433, allocations: 38.55 kB / 0.4975 GB, free: 1.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.1433, allocations: 0 / 0.4975 GB, free: 1.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001245/0.1446, allocations: 0.4957 MB / 0.498 GB, free: 1.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1446, allocations: 110.8 kB / 0.4981 GB, free: 1.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.1452, allocations: 0.537 MB / 0.4986 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1452, allocations: 33.7 kB / 0.4986 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1454, allocations: 232.2 kB / 0.4989 GB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.1455, allocations: 75.55 kB / 0.4989 GB, free: 192 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1456, allocations: 77.97 kB / 0.499 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1457, allocations: 358.8 kB / 0.4994 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.1461, allocations: 156 kB / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.1465, allocations: 263.9 kB / 0.4998 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.1473, allocations: 462.9 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1473, allocations: 0 / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009809/0.1483, allocations: 0.4896 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1483, allocations: 10.81 kB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.421e-05/0.1484, allocations: 39.98 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1484, allocations: 12.47 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1487, allocations: 47.89 kB / 0.5008 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1487, allocations: 11.94 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.149, allocations: 79.38 kB / 0.5009 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.149, allocations: 20 kB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002066/0.1492, allocations: 209.6 kB / 0.5011 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1494, allocations: 43.72 kB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007836/0.1502, allocations: 460.9 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.1502, allocations: 4 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1502, allocations: 0 / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1502, allocations: 4 kB / 0.5016 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1507, allocations: 389.3 kB / 0.5019 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.506e-05/0.1508, allocations: 39.92 kB / 0.502 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.1509, allocations: 23.97 kB / 0.502 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.151, allocations: 4 kB / 0.502 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.151, allocations: 15.94 kB / 0.502 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.151, allocations: 4 kB / 0.502 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.151, allocations: 4 kB / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/0.1519, allocations: 0.6113 MB / 0.5026 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.152, allocations: 120.8 kB / 0.5027 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.1521, allocations: 15.92 kB / 0.5028 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1524, allocations: 11.98 kB / 0.5028 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.1525, allocations: 27.92 kB / 0.5028 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.1525, allocations: 15.98 kB / 0.5028 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.1529, allocations: 395 kB / 0.5032 GB, free: 11.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1529, allocations: 4 kB / 0.5032 GB, free: 11.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005708/0.1535, allocations: 131.8 kB / 0.5033 GB, free: 11.47 MB / 398.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001459/0.155, allocations: 1.199 MB / 0.5045 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.156, allocations: 0.6611 MB / 0.5051 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.156, allocations: 4 kB / 0.5051 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.1565, allocations: 484.3 kB / 0.5056 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.1572, allocations: 117.8 kB / 0.5057 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/0.1637, allocations: 5.172 MB / 0.5108 GB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1641, allocations: 0.8662 MB / 0.5116 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.1643, allocations: 83.3 kB / 0.5117 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.1645, allocations: 123.4 kB / 0.5118 GB, free: 2.379 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1645, allocations: 4 kB / 0.5118 GB, free: 2.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.196, allocations: 13.05 MB / 0.5246 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.127, allocations: 12.45 kB / 0.5246 GB, free: 5.297 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches