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.001663/0.001663, allocations: 107.6 kB / 16.41 MB, free: 6.512 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.001813/0.001814, allocations: 185.5 kB / 17.33 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.476/1.476, 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.2122/0.2122, allocations: 43.53 MB / 314.1 MB, free: 456 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.003213/0.003213, allocations: 63.91 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1228, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003677/0.1266, allocations: 2.205 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1284, allocations: 1.158 MB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.1285, allocations: 4 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1288, allocations: 67.59 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.129, allocations: 103.3 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.1296, allocations: 163.4 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.1301, allocations: 0.4977 MB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.1302, allocations: 57.05 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1304, allocations: 163.2 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1307, allocations: 210.9 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.1308, allocations: 16 kB / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.1313, allocations: 327.5 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1314, allocations: 95.47 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1316, allocations: 186.8 kB / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.1324, allocations: 0.5835 MB / 0.4931 GB, free: 6.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1324, allocations: 4 kB / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1324, allocations: 0 / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1324, allocations: 0 / 0.4931 GB, free: 6.418 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.001308/0.1337, allocations: 0.7558 MB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1338, allocations: 19.83 kB / 0.4939 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1339, allocations: 90.69 kB / 0.494 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.134, allocations: 56.61 kB / 0.494 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.1344, allocations: 303.6 kB / 0.4943 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1344, allocations: 33.38 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1345, allocations: 51.94 kB / 0.4944 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1356, allocations: 0.6558 MB / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1356, allocations: 0 / 0.495 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1356, allocations: 20 kB / 0.495 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.1357, allocations: 28.92 kB / 0.4951 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/0.1366, allocations: 483.6 kB / 0.4955 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.1397, allocations: 1.512 MB / 0.497 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009513/0.1406, allocations: 303.5 kB / 0.4973 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.1412, allocations: 154.6 kB / 0.4974 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.1413, allocations: 11.98 kB / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.1414, allocations: 34.5 kB / 0.4975 GB, free: 1.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.695e-06/0.1414, allocations: 0 / 0.4975 GB, free: 1.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002086/0.1435, allocations: 0.4996 MB / 0.498 GB, free: 1.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.1436, allocations: 106.8 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.1444, allocations: 0.5409 MB / 0.4986 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1444, allocations: 29.7 kB / 0.4986 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.1447, allocations: 232.3 kB / 0.4988 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1448, allocations: 75.39 kB / 0.4989 GB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.145, allocations: 73.97 kB / 0.499 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.1452, allocations: 358.8 kB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.1458, allocations: 156 kB / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/0.1465, allocations: 271.8 kB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.1474, allocations: 454.9 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.1474, allocations: 4 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001075/0.1485, allocations: 0.4991 MB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1485, allocations: 8 kB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.746e-05/0.1486, allocations: 40.52 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.1486, allocations: 11.94 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.1489, allocations: 47.89 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1489, allocations: 4 kB / 0.5008 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1492, allocations: 79.39 kB / 0.5008 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.1493, allocations: 23.98 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.000356/0.1497, allocations: 209.6 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.1499, allocations: 43.72 kB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.1513, allocations: 457 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.1514, allocations: 7.984 kB / 0.5016 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.1514, allocations: 0 / 0.5016 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1514, allocations: 3.938 kB / 0.5016 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.1523, allocations: 389.3 kB / 0.5019 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001032/0.1525, allocations: 36 kB / 0.502 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1527, allocations: 27.97 kB / 0.502 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.1528, allocations: 7.984 kB / 0.502 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.1528, allocations: 15.88 kB / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1528, allocations: 0 / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.1529, allocations: 8 kB / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1541, allocations: 0.6035 MB / 0.5026 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.1544, allocations: 124.8 kB / 0.5027 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1545, allocations: 7.938 kB / 0.5027 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.155, allocations: 19.97 kB / 0.5028 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.1552, allocations: 23.92 kB / 0.5028 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.1552, allocations: 19.98 kB / 0.5028 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007101/0.156, allocations: 399 kB / 0.5032 GB, free: 11.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.156, allocations: 0 / 0.5032 GB, free: 11.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008933/0.1569, allocations: 135.8 kB / 0.5033 GB, free: 11.46 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.002262/0.1591, allocations: 1.206 MB / 0.5045 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.1608, allocations: 0.6572 MB / 0.5051 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1608, allocations: 0 / 0.5051 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007934/0.1616, allocations: 484.3 kB / 0.5056 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.1629, allocations: 122.5 kB / 0.5057 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.1735, allocations: 5.169 MB / 0.5108 GB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.1741, allocations: 0.8623 MB / 0.5116 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.1744, allocations: 83.28 kB / 0.5117 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.1746, allocations: 127.4 kB / 0.5118 GB, free: 2.367 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1746, allocations: 4 kB / 0.5118 GB, free: 2.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04831/0.2229, allocations: 13.05 MB / 0.5246 GB, free: 5.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/8.859, allocations: 4.391 kB / 0.5246 GB, free: 5.293 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