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_overall.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_overall,tolerance=1e-05,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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002116/0.002122, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.337/2.337, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001162/0.001162, allocations: 104.6 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5608/0.5608, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 16 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003369/0.1303, allocations: 1.833 MB / 492.1 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1345, allocations: 1.829 MB / 493.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.1348, allocations: 0 / 493.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1351, allocations: 55.73 kB / 494 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.1354, allocations: 83.7 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.1371, allocations: 351 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.1378, allocations: 359.2 kB / 494.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.138, allocations: 69.03 kB / 494.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.1384, allocations: 159.3 kB / 494.9 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.1387, allocations: 179.1 kB / 495.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.1388, allocations: 12 kB / 495.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.1404, allocations: 0.6592 MB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1406, allocations: 91.64 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1408, allocations: 93.45 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.1418, allocations: 0.5069 MB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1419, allocations: 0 / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1419, allocations: 3.938 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1419, allocations: 4 kB / 496.5 MB, free: 4.918 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001822/0.1437, allocations: 0.7642 MB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1438, allocations: 8.031 kB / 497.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.144, allocations: 59.3 kB / 497.3 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.1445, allocations: 310.2 kB / 497.6 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.1446, allocations: 41.31 kB / 497.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.1447, allocations: 55.98 kB / 497.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.1467, allocations: 0.7735 MB / 498.5 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.1468, allocations: 0 / 498.5 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.1469, allocations: 20 kB / 498.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.1469, allocations: 29.3 kB / 498.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.1487, allocations: 0.5788 MB / 499.1 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.1526, allocations: 1.692 MB / 0.4891 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1536, allocations: 315.5 kB / 0.4894 GB, free: 92 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.1537, allocations: 4.141 kB / 0.4894 GB, free: 88 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.1538, allocations: 42.5 kB / 0.4894 GB, free: 36 kB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/0.1538, allocations: 0 / 0.4894 GB, free: 36 kB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.3115/0.4653, allocations: 0.7663 MB / 0.4902 GB, free: 42.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4654, allocations: 109.1 kB / 0.4903 GB, free: 42.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.4667, allocations: 0.6302 MB / 0.4909 GB, free: 42.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.4669, allocations: 30.11 kB / 0.4909 GB, free: 42.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.4671, allocations: 324.3 kB / 0.4912 GB, free: 42.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.4672, allocations: 76.16 kB / 0.4913 GB, free: 42.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.4673, allocations: 8.906 kB / 0.4913 GB, free: 42.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.4674, allocations: 332 kB / 0.4916 GB, free: 42.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.4682, allocations: 202 kB / 0.4918 GB, free: 42.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/0.4692, allocations: 473.6 kB / 0.4923 GB, free: 41.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.4702, allocations: 279.3 kB / 0.4925 GB, free: 41.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.4702, allocations: 2.75 kB / 0.4925 GB, free: 41.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002336/0.4726, allocations: 0.6855 MB / 0.4932 GB, free: 41.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.4726, allocations: 10.06 kB / 0.4932 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/0.4728, allocations: 49.19 kB / 0.4933 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/0.4729, allocations: 14.44 kB / 0.4933 GB, free: 41.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.4734, allocations: 78.14 kB / 0.4933 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.4734, allocations: 26.06 kB / 0.4934 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/0.4743, allocations: 102.2 kB / 0.4935 GB, free: 41.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4744, allocations: 35.48 kB / 0.4935 GB, free: 41.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0005042/0.4749, allocations: 256.4 kB / 0.4937 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.4751, allocations: 53.09 kB / 0.4938 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.4769, allocations: 495.2 kB / 0.4943 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.477, allocations: 6.016 kB / 0.4943 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.477, allocations: 2.047 kB / 0.4943 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.477, allocations: 0.7969 kB / 0.4943 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.478, allocations: 414.9 kB / 0.4947 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001404/0.4782, allocations: 38.47 kB / 0.4947 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.4785, allocations: 38.59 kB / 0.4947 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.4786, allocations: 1.844 kB / 0.4948 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.4786, allocations: 9.953 kB / 0.4948 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4786, allocations: 2.547 kB / 0.4948 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4787, allocations: 0 / 0.4948 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4803, allocations: 0.6648 MB / 0.4954 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4805, allocations: 137.4 kB / 0.4955 GB, free: 40.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.4806, allocations: 7.562 kB / 0.4956 GB, free: 40.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/0.4812, allocations: 25.41 kB / 0.4956 GB, free: 40.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4814, allocations: 24.36 kB / 0.4956 GB, free: 40.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.4814, allocations: 12.98 kB / 0.4956 GB, free: 40.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008869/0.4823, allocations: 443.6 kB / 0.496 GB, free: 40.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4824, allocations: 1.375 kB / 0.496 GB, free: 40.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00121/0.4836, allocations: 181.8 kB / 0.4962 GB, free: 40.62 MB / 378.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.0006303/0.4842, allocations: 228.8 kB / 0.4964 GB, free: 40.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.4862, allocations: 0.7707 MB / 0.4972 GB, free: 40.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4862, allocations: 5.75 kB / 0.4972 GB, free: 40.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.487, allocations: 495 kB / 0.4977 GB, free: 39.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.488, allocations: 114.5 kB / 0.4978 GB, free: 39.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.4909, allocations: 1.123 MB / 0.4989 GB, free: 39.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4914, allocations: 0.8911 MB / 0.4997 GB, free: 38.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.4916, allocations: 42.8 kB / 0.4998 GB, free: 38.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4916, allocations: 0 / 0.4998 GB, free: 38.52 MB / 378.7 MB Notification: Performance of Templates: time 0.02386/0.5154, allocations: 9.82 MB / 0.5094 GB, free: 37.65 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches