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.0008479/0.000848, allocations: 173.5 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0006682/0.0006683, allocations: 91.86 kB / 271.2 MB, free: 8.23 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.2724/0.2724, allocations: 43.56 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 12 kB / 432 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09027, allocations: 58.85 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.001993/0.0923, allocations: 1.668 MB / 492.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.09348, allocations: 0.7766 MB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.09359, allocations: 0 / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.09384, allocations: 63.67 kB / 493.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.09415, allocations: 107.5 kB / 493.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.09436, allocations: 59.8 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.09471, allocations: 370.5 kB / 493.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.09479, allocations: 36.38 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.09498, allocations: 111.5 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.09519, allocations: 147.4 kB / 494.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.09522, allocations: 4 kB / 494.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.09545, allocations: 135.8 kB / 494.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.09553, allocations: 59.73 kB / 494.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.09566, allocations: 137 kB / 494.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.09593, allocations: 243.5 kB / 494.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09595, allocations: 0 / 494.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09595, allocations: 0 / 494.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.09597, allocations: 3.938 kB / 494.7 MB, free: 6.945 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007079/0.09668, allocations: 0.5224 MB / 495.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.09672, allocations: 8.031 kB / 495.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.09679, allocations: 32.56 kB / 495.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.09705, allocations: 244.4 kB / 495.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.09708, allocations: 24.48 kB / 495.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.09713, allocations: 31.92 kB / 495.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.09773, allocations: 401.2 kB / 496 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.09775, allocations: 0 / 496 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.09778, allocations: 11.98 kB / 496 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.09783, allocations: 28.64 kB / 496 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.09851, allocations: 418.3 kB / 496.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.09973, allocations: 0.8733 MB / 497.3 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.1003, allocations: 306 kB / 497.6 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1005, allocations: 112.8 kB / 497.7 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1006, allocations: 7.938 kB / 497.7 MB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1006, allocations: 42.56 kB / 497.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1006, allocations: 0 / 497.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007249/0.1013, allocations: 365 kB / 498.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1014, allocations: 59.41 kB / 498.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1017, allocations: 347.3 kB / 498.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1017, allocations: 25.7 kB / 498.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.1018, allocations: 164.2 kB / 498.7 MB, free: 2.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.1019, allocations: 55.27 kB / 498.8 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.1019, allocations: 4 kB / 498.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.102, allocations: 342.8 kB / 499.1 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1023, allocations: 107.9 kB / 499.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.1025, allocations: 149.8 kB / 499.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.1029, allocations: 273.7 kB / 499.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1029, allocations: 0 / 499.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005353/0.1035, allocations: 320.7 kB / 499.9 MB, free: 1.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1035, allocations: 4 kB / 499.9 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1035, allocations: 4 kB / 499.9 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1035, allocations: 3.938 kB / 499.9 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.1041, allocations: 115.9 kB / 0.4883 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/0.2535, allocations: 3.709 MB / 0.492 GB, free: 40.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.2538, allocations: 32.59 kB / 0.492 GB, free: 40.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.2538, allocations: 11.55 kB / 0.492 GB, free: 40.9 MB / 378.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0002089/0.254, allocations: 178.4 kB / 0.4922 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.2541, allocations: 27.41 kB / 0.4922 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.2548, allocations: 351.3 kB / 0.4925 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2548, allocations: 2.031 kB / 0.4925 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2548, allocations: 1 kB / 0.4925 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2548, allocations: 7.312 kB / 0.4925 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.2551, allocations: 309.8 kB / 0.4928 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2551, allocations: 1.031 kB / 0.4928 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.2556, allocations: 117 kB / 0.4929 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2556, allocations: 1.125 kB / 0.4929 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.2556, allocations: 7.797 kB / 0.493 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2568, allocations: 3.707 MB / 0.4966 GB, free: 37.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2568, allocations: 3.812 kB / 0.4966 GB, free: 37.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.2573, allocations: 366.1 kB / 0.4969 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2573, allocations: 116.7 kB / 0.497 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.2574, allocations: 3.906 kB / 0.497 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2575, allocations: 13.56 kB / 0.4971 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.2576, allocations: 12.78 kB / 0.4971 GB, free: 36.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.2576, allocations: 9.953 kB / 0.4971 GB, free: 36.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.2579, allocations: 250.8 kB / 0.4973 GB, free: 36.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2579, allocations: 1.125 kB / 0.4973 GB, free: 36.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.2582, allocations: 72.27 kB / 0.4974 GB, free: 36.73 MB / 378.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * 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.0001651/0.2584, allocations: 129.3 kB / 0.4975 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.2593, allocations: 325.7 kB / 0.4978 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2593, allocations: 3.375 kB / 0.4978 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.2599, allocations: 212.1 kB / 0.498 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2603, allocations: 49.5 kB / 0.4981 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.2611, allocations: 0.7015 MB / 0.4988 GB, free: 36.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.2614, allocations: 0.7952 MB / 0.4995 GB, free: 35.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.2614, allocations: 25.53 kB / 0.4996 GB, free: 35.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2614, allocations: 0 / 0.4996 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01043/0.2719, allocations: 11.16 MB / 0.5105 GB, free: 34.94 MB / 378.7 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/jenkins/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