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.003264/0.003263, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 92.98 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3105/0.3105, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.477e-05, allocations: 0 / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3928, allocations: 58.85 MB / 477.1 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.5652, allocations: 93.12 MB / 0.5569 GB, free: 6.18 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.5656, allocations: 99.44 kB / 0.5569 GB, free: 6.086 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0542/0.6198, allocations: 12.13 MB / 0.5688 GB, free: 9.77 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6199, allocations: 0 / 0.5688 GB, free: 9.77 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.6199, allocations: 4 kB / 0.5688 GB, free: 9.766 MB / 411.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.001468/0.6214, allocations: 0.6546 MB / 0.5694 GB, free: 9.066 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6215, allocations: 12.03 kB / 0.5694 GB, free: 9.055 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.6216, allocations: 47.39 kB / 0.5695 GB, free: 9.008 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.6223, allocations: 294.4 kB / 0.5698 GB, free: 8.68 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.6223, allocations: 16 kB / 0.5698 GB, free: 8.664 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.6224, allocations: 28 kB / 0.5698 GB, free: 8.637 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009896/0.6234, allocations: 374.4 kB / 0.5702 GB, free: 8.27 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.6248, allocations: 0.5641 MB / 0.5707 GB, free: 7.688 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.6248, allocations: 0 / 0.5707 GB, free: 7.688 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.6249, allocations: 7.938 kB / 0.5707 GB, free: 7.68 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/0.625, allocations: 25.3 kB / 0.5708 GB, free: 7.652 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.6283, allocations: 1.378 MB / 0.5721 GB, free: 6.223 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.629, allocations: 259.6 kB / 0.5724 GB, free: 5.941 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.6293, allocations: 122.6 kB / 0.5725 GB, free: 5.812 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.6294, allocations: 15.92 kB / 0.5725 GB, free: 5.797 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6295, allocations: 34.56 kB / 0.5725 GB, free: 5.754 MB / 411.1 MB Notification: Performance of pre-optimization done (n=20): time 3.266e-06/0.6295, allocations: 0 / 0.5725 GB, free: 5.754 MB / 411.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009699/0.6305, allocations: 281.3 kB / 0.5728 GB, free: 5.473 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.6306, allocations: 110.9 kB / 0.5729 GB, free: 5.34 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.6309, allocations: 219.8 kB / 0.5731 GB, free: 5.117 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.631, allocations: 25.7 kB / 0.5731 GB, free: 5.086 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.6312, allocations: 310 kB / 0.5734 GB, free: 4.781 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.6313, allocations: 63.02 kB / 0.5735 GB, free: 4.719 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.6313, allocations: 0 / 0.5735 GB, free: 4.719 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6315, allocations: 330.8 kB / 0.5738 GB, free: 4.387 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.6319, allocations: 120.2 kB / 0.5739 GB, free: 4.266 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.6324, allocations: 243.4 kB / 0.5741 GB, free: 3.973 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.6328, allocations: 157.8 kB / 0.5743 GB, free: 3.82 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6328, allocations: 0 / 0.5743 GB, free: 3.82 MB / 411.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001112/0.6339, allocations: 393.1 kB / 0.5747 GB, free: 3.43 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.634, allocations: 11.94 kB / 0.5747 GB, free: 3.418 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.6341, allocations: 35.97 kB / 0.5747 GB, free: 3.383 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.6342, allocations: 8 kB / 0.5747 GB, free: 3.375 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.6346, allocations: 52.23 kB / 0.5748 GB, free: 3.324 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6346, allocations: 8 kB / 0.5748 GB, free: 3.316 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.6351, allocations: 35.81 kB / 0.5748 GB, free: 3.281 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.6352, allocations: 24 kB / 0.5748 GB, free: 3.258 MB / 411.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 () * 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.0001794/0.6354, allocations: 128.8 kB / 0.575 GB, free: 3.125 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6355, allocations: 19.72 kB / 0.575 GB, free: 3.105 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.6368, allocations: 408.2 kB / 0.5754 GB, free: 2.707 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.6368, allocations: 7.938 kB / 0.5754 GB, free: 2.699 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6368, allocations: 0 / 0.5754 GB, free: 2.699 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.6368, allocations: 0 / 0.5754 GB, free: 2.699 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008398/0.6377, allocations: 349.9 kB / 0.5757 GB, free: 2.32 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001142/0.6378, allocations: 31.97 kB / 0.5757 GB, free: 2.289 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.6381, allocations: 39.95 kB / 0.5758 GB, free: 2.25 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6382, allocations: 0 / 0.5758 GB, free: 2.25 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.6382, allocations: 11.98 kB / 0.5758 GB, free: 2.238 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6382, allocations: 0 / 0.5758 GB, free: 2.238 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6382, allocations: 4 kB / 0.5758 GB, free: 2.234 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.6392, allocations: 0.5483 MB / 0.5763 GB, free: 1.656 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6394, allocations: 104.8 kB / 0.5764 GB, free: 1.535 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.6394, allocations: 0 / 0.5764 GB, free: 1.535 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.6399, allocations: 19.98 kB / 0.5764 GB, free: 1.516 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.64, allocations: 23.97 kB / 0.5765 GB, free: 1.492 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.6401, allocations: 19.98 kB / 0.5765 GB, free: 1.473 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.6404, allocations: 164.5 kB / 0.5766 GB, free: 1.312 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6404, allocations: 0 / 0.5766 GB, free: 1.312 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009395/0.6413, allocations: 151.5 kB / 0.5768 GB, free: 1.164 MB / 411.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 () * 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.0005096/0.6418, allocations: 225.4 kB / 0.577 GB, free: 0.9336 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.643, allocations: 0.5814 MB / 0.5776 GB, free: 288 kB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.643, allocations: 4 kB / 0.5776 GB, free: 284 kB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.6436, allocations: 448.3 kB / 0.578 GB, free: 15.77 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.6442, allocations: 33.64 kB / 0.578 GB, free: 15.73 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.6464, allocations: 0.6415 MB / 0.5787 GB, free: 15.06 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.6471, allocations: 0.8648 MB / 0.5795 GB, free: 14.17 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.6472, allocations: 27.36 kB / 0.5795 GB, free: 14.14 MB / 427.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6472, allocations: 0 / 0.5795 GB, free: 14.14 MB / 427.1 MB Notification: Performance of Templates: time 0.01628/0.6635, allocations: 6.701 MB / 0.5861 GB, free: 7.438 MB / 427.1 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