Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001687, allocations: 186.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 94.84 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2859/0.2859, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004606, allocations: 8 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 58.86 MB / 490.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003151/0.1226, allocations: 1.779 MB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.125, allocations: 1.038 MB / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1252, allocations: 0 / 493.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1255, allocations: 55.67 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1258, allocations: 79.72 kB / 493.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.1264, allocations: 139.7 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.127, allocations: 335.2 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1271, allocations: 61.05 kB / 493.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.1274, allocations: 139.4 kB / 493.9 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.1277, allocations: 171.2 kB / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.1278, allocations: 12 kB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007296/0.1285, allocations: 319.6 kB / 494.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1287, allocations: 95.62 kB / 494.4 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1288, allocations: 89.45 kB / 494.5 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.1295, allocations: 355.4 kB / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1295, allocations: 0 / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1295, allocations: 0 / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1295, allocations: 0 / 494.9 MB, free: 4.645 MB / 330.7 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.001615/0.1311, allocations: 0.6901 MB / 495.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1312, allocations: 12.03 kB / 495.6 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.1313, allocations: 43.44 kB / 495.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.1318, allocations: 310.2 kB / 495.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1319, allocations: 37 kB / 496 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-05/0.132, allocations: 44 kB / 496 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.1337, allocations: 0.6597 MB / 496.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1337, allocations: 0 / 496.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.1338, allocations: 20 kB / 496.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.1339, allocations: 28.98 kB / 496.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.1355, allocations: 0.4956 MB / 497.2 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.1387, allocations: 1.523 MB / 498.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1398, allocations: 311.6 kB / 499 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.1399, allocations: 31.86 kB / 499.1 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.14, allocations: 34.5 kB / 499.1 MB, free: 216 kB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/0.14, allocations: 0 / 499.1 MB, free: 216 kB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002355/0.1423, allocations: 0.7614 MB / 499.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.1424, allocations: 102.8 kB / 500 MB, free: 15.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.1434, allocations: 0.5369 MB / 0.4888 GB, free: 14.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1435, allocations: 29.7 kB / 0.4888 GB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.1437, allocations: 266.3 kB / 0.489 GB, free: 14.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.1438, allocations: 70.97 kB / 0.4891 GB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1438, allocations: 12 kB / 0.4891 GB, free: 14.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.144, allocations: 330.8 kB / 0.4894 GB, free: 14.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.1447, allocations: 164.1 kB / 0.4896 GB, free: 13.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/0.1454, allocations: 287.7 kB / 0.4899 GB, free: 13.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.1462, allocations: 199.8 kB / 0.4901 GB, free: 13.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1462, allocations: 0 / 0.4901 GB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001745/0.148, allocations: 0.4916 MB / 0.4905 GB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.148, allocations: 4 kB / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/0.1481, allocations: 47.95 kB / 0.4906 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1482, allocations: 4 kB / 0.4906 GB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.1486, allocations: 43.91 kB / 0.4906 GB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.1486, allocations: 20.05 kB / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.1492, allocations: 75.2 kB / 0.4907 GB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.1493, allocations: 27.98 kB / 0.4908 GB, free: 12.61 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003462/0.1496, allocations: 213.6 kB / 0.491 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1498, allocations: 43.44 kB / 0.491 GB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.1513, allocations: 457 kB / 0.4914 GB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.1513, allocations: 4 kB / 0.4914 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1513, allocations: 0 / 0.4914 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1513, allocations: 8 kB / 0.4915 GB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.1522, allocations: 389.2 kB / 0.4918 GB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001049/0.1523, allocations: 35.97 kB / 0.4919 GB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.1526, allocations: 31.91 kB / 0.4919 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1526, allocations: 4 kB / 0.4919 GB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.1527, allocations: 15.98 kB / 0.4919 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1527, allocations: 0 / 0.4919 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1527, allocations: 0 / 0.4919 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.1542, allocations: 0.6534 MB / 0.4925 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1544, allocations: 124.5 kB / 0.4927 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1546, allocations: 12 kB / 0.4927 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.1551, allocations: 23.92 kB / 0.4927 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1552, allocations: 23.97 kB / 0.4927 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.1553, allocations: 11.98 kB / 0.4927 GB, free: 10.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006742/0.1559, allocations: 395 kB / 0.4931 GB, free: 10.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.156, allocations: 3.938 kB / 0.4931 GB, free: 10.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008089/0.1568, allocations: 135.8 kB / 0.4932 GB, free: 9.945 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003591/0.1571, allocations: 147.2 kB / 0.4934 GB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.1588, allocations: 0.6953 MB / 0.4941 GB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1589, allocations: 0 / 0.4941 GB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.1597, allocations: 492.8 kB / 0.4945 GB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.1606, allocations: 117.9 kB / 0.4946 GB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.1632, allocations: 1.016 MB / 0.4956 GB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.1638, allocations: 0.8584 MB / 0.4965 GB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1639, allocations: 39.42 kB / 0.4965 GB, free: 6.379 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1639, allocations: 0 / 0.4965 GB, free: 6.379 MB / 346.7 MB Notification: Performance of Templates: time 0.01755/0.1815, allocations: 8.07 MB / 0.5044 GB, free: 14.31 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches