Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 179.4 kB / 8.364 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 1.988/1.988, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.00113/0.00113, allocations: 88.17 kB / 262.1 MB, free: 13.88 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.2947/0.2947, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.261e-05, allocations: 0 / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4016, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.5695, allocations: 90.91 MB / 0.5547 GB, free: 8.398 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003713/0.57, allocations: 99.92 kB / 0.5548 GB, free: 8.301 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04609/0.6161, allocations: 9.955 MB / 0.5645 GB, free: 14.26 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6161, allocations: 0 / 0.5645 GB, free: 14.26 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.6161, allocations: 4 kB / 0.5645 GB, free: 14.25 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001011/0.6172, allocations: 0.4982 MB / 0.565 GB, free: 13.71 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6172, allocations: 8.031 kB / 0.565 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.6173, allocations: 31.62 kB / 0.565 GB, free: 13.67 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.6178, allocations: 239.2 kB / 0.5653 GB, free: 13.39 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.6178, allocations: 11.94 kB / 0.5653 GB, free: 13.38 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.6179, allocations: 16 kB / 0.5653 GB, free: 13.36 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007887/0.6187, allocations: 337.1 kB / 0.5656 GB, free: 13.04 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.6195, allocations: 332.9 kB / 0.5659 GB, free: 12.71 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6195, allocations: 0 / 0.5659 GB, free: 12.71 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.6195, allocations: 0 / 0.5659 GB, free: 12.71 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/0.6196, allocations: 24.77 kB / 0.566 GB, free: 12.68 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.6218, allocations: 0.7915 MB / 0.5667 GB, free: 11.86 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/0.6226, allocations: 310.6 kB / 0.567 GB, free: 11.54 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.6229, allocations: 104.7 kB / 0.5671 GB, free: 11.44 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.623, allocations: 0 / 0.5671 GB, free: 11.44 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.623, allocations: 42.56 kB / 0.5672 GB, free: 11.39 MB / 411.1 MB Notification: Performance of pre-optimization done (n=19): time 4.359e-06/0.623, allocations: 4 kB / 0.5672 GB, free: 11.38 MB / 411.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007771/0.6238, allocations: 248.9 kB / 0.5674 GB, free: 11.14 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.6239, allocations: 51.41 kB / 0.5675 GB, free: 11.07 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.6241, allocations: 154.5 kB / 0.5676 GB, free: 10.91 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.6242, allocations: 25.7 kB / 0.5676 GB, free: 10.88 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.6243, allocations: 238.2 kB / 0.5679 GB, free: 10.64 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.6244, allocations: 63.09 kB / 0.5679 GB, free: 10.58 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.6245, allocations: 112 / 0.5679 GB, free: 10.58 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6246, allocations: 322.8 kB / 0.5682 GB, free: 10.25 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6249, allocations: 95.91 kB / 0.5683 GB, free: 10.16 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.6252, allocations: 144.8 kB / 0.5685 GB, free: 10 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.6256, allocations: 115.9 kB / 0.5686 GB, free: 9.887 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6256, allocations: 0 / 0.5686 GB, free: 9.887 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007979/0.6264, allocations: 277.2 kB / 0.5688 GB, free: 9.609 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.6265, allocations: 11.95 kB / 0.5688 GB, free: 9.598 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6265, allocations: 0 / 0.5688 GB, free: 9.598 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.6265, allocations: 4 kB / 0.5688 GB, free: 9.594 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.6277, allocations: 120 kB / 0.569 GB, free: 9.477 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.6308, allocations: 3.727 MB / 0.5726 GB, free: 5.609 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.6313, allocations: 24.14 kB / 0.5726 GB, free: 5.586 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.6313, allocations: 12 kB / 0.5726 GB, free: 5.574 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.6315, allocations: 116.2 kB / 0.5727 GB, free: 5.457 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.6316, allocations: 19.77 kB / 0.5728 GB, free: 5.438 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009917/0.6326, allocations: 327.1 kB / 0.5731 GB, free: 5.113 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.6326, allocations: 3.984 kB / 0.5731 GB, free: 5.109 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.6326, allocations: 3.953 kB / 0.5731 GB, free: 5.105 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6327, allocations: 7.938 kB / 0.5731 GB, free: 5.098 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.6332, allocations: 289.9 kB / 0.5734 GB, free: 4.777 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6333, allocations: 0 / 0.5734 GB, free: 4.777 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.6344, allocations: 107.9 kB / 0.5735 GB, free: 4.672 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6344, allocations: 0 / 0.5735 GB, free: 4.672 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.6344, allocations: 7.984 kB / 0.5735 GB, free: 4.664 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.6374, allocations: 3.719 MB / 0.5771 GB, free: 0.8047 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/0.6374, allocations: 3.953 kB / 0.5771 GB, free: 0.8008 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.6382, allocations: 347.2 kB / 0.5774 GB, free: 456 kB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.6383, allocations: 97.03 kB / 0.5775 GB, free: 340 kB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.6384, allocations: 8 kB / 0.5775 GB, free: 332 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.6387, allocations: 4 kB / 0.5775 GB, free: 328 kB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.6387, allocations: 23.91 kB / 0.5776 GB, free: 304 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.6388, allocations: 8 kB / 0.5776 GB, free: 296 kB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.6389, allocations: 120 kB / 0.5777 GB, free: 176 kB / 411.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6389, allocations: 0 / 0.5777 GB, free: 176 kB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006264/0.6396, allocations: 87.67 kB / 0.5778 GB, free: 88 kB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.64, allocations: 173.8 kB / 0.5779 GB, free: 15.91 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.6414, allocations: 287.1 kB / 0.5782 GB, free: 15.63 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6414, allocations: 0 / 0.5782 GB, free: 15.63 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009425/0.6423, allocations: 168.2 kB / 0.5784 GB, free: 15.47 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.6427, allocations: 27.88 kB / 0.5784 GB, free: 15.44 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6439, allocations: 407.7 kB / 0.5788 GB, free: 15.01 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.6444, allocations: 0.8102 MB / 0.5796 GB, free: 14.18 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6446, allocations: 15.44 kB / 0.5796 GB, free: 14.16 MB / 427.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6446, allocations: 0 / 0.5796 GB, free: 14.16 MB / 427.1 MB Notification: Performance of Templates: time 0.02123/0.6658, allocations: 10.34 MB / 0.5897 GB, free: 3.816 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches