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.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,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008761/0.0008762, allocations: 175 kB / 16.72 MB, free: 5.082 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.185/1.185, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000699/0.0006989, allocations: 90.41 kB / 271.2 MB, free: 8.254 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.2951/0.2951, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 11.98 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09392, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00242/0.09636, allocations: 1.735 MB / 492.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.09846, allocations: 1.194 MB / 493.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.09862, allocations: 0 / 493.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.09892, allocations: 55.67 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.09913, allocations: 71.56 kB / 493.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.09968, allocations: 155.5 kB / 494 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000476/0.1002, allocations: 465.9 kB / 494.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1003, allocations: 64.61 kB / 494.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.1005, allocations: 139.2 kB / 494.7 MB, free: 7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1008, allocations: 175.2 kB / 494.9 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.1008, allocations: 8 kB / 494.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1013, allocations: 251.6 kB / 495.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.1014, allocations: 87.58 kB / 495.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.1015, allocations: 172.7 kB / 495.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.102, allocations: 379.2 kB / 495.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.102, allocations: 0 / 495.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.102, allocations: 0 / 495.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.102, allocations: 0 / 495.7 MB, free: 5.941 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001007/0.103, allocations: 0.6667 MB / 496.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1031, allocations: 12.03 kB / 496.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.1031, allocations: 44.38 kB / 496.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1035, allocations: 288.6 kB / 496.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1035, allocations: 32.94 kB / 496.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.1036, allocations: 36 kB / 496.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.1044, allocations: 0.5691 MB / 497.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1044, allocations: 0 / 497.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1045, allocations: 12 kB / 497.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.1045, allocations: 21 kB / 497.4 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.1053, allocations: 431.6 kB / 497.8 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1069, allocations: 1.277 MB / 499.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.1074, allocations: 315.5 kB / 499.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1077, allocations: 170.2 kB / 499.6 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1078, allocations: 4 kB / 499.6 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1078, allocations: 42.5 kB / 499.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 3.206e-06/0.1078, allocations: 4.109 kB / 499.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001148/0.109, allocations: 0.5203 MB / 0.4884 GB, free: 1.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1091, allocations: 110.9 kB / 0.4885 GB, free: 1.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.1095, allocations: 0.49 MB / 0.489 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1096, allocations: 29.64 kB / 0.4891 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1097, allocations: 212.2 kB / 0.4893 GB, free: 432 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1098, allocations: 59.19 kB / 0.4893 GB, free: 372 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.1098, allocations: 0 / 0.4893 GB, free: 372 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1099, allocations: 358.8 kB / 0.4897 GB, free: 4 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1617/0.2717, allocations: 148.6 kB / 0.4898 GB, free: 42.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.2721, allocations: 236 kB / 0.49 GB, free: 42.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.2728, allocations: 412.2 kB / 0.4904 GB, free: 42.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2728, allocations: 4.75 kB / 0.4904 GB, free: 42.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000904/0.2737, allocations: 466.4 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2737, allocations: 6.5 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.46e-05/0.2738, allocations: 33.64 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2738, allocations: 5.172 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.274, allocations: 38.91 kB / 0.4909 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2741, allocations: 10.2 kB / 0.491 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2743, allocations: 60.64 kB / 0.491 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.2744, allocations: 18.22 kB / 0.491 GB, free: 42.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00021/0.2746, allocations: 201.6 kB / 0.4912 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.2747, allocations: 38.94 kB / 0.4913 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007886/0.2755, allocations: 440.9 kB / 0.4917 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2755, allocations: 4.688 kB / 0.4917 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2755, allocations: 0.875 kB / 0.4917 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2755, allocations: 2.594 kB / 0.4917 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.276, allocations: 374.9 kB / 0.492 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/0.2761, allocations: 31.94 kB / 0.4921 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.2763, allocations: 30.52 kB / 0.4921 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2763, allocations: 5 kB / 0.4921 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.2763, allocations: 14.94 kB / 0.4921 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2763, allocations: 4.938 kB / 0.4921 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2763, allocations: 1.703 kB / 0.4921 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.2771, allocations: 0.6278 MB / 0.4927 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.2772, allocations: 116.2 kB / 0.4929 GB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.2773, allocations: 2.438 kB / 0.4929 GB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.2775, allocations: 30.73 kB / 0.4929 GB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.2776, allocations: 23.22 kB / 0.4929 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.2777, allocations: 9.375 kB / 0.4929 GB, free: 41.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000394/0.2781, allocations: 360.7 kB / 0.4933 GB, free: 41.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2781, allocations: 0 / 0.4933 GB, free: 41.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000507/0.2786, allocations: 126.7 kB / 0.4934 GB, free: 41.86 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003008/0.2789, allocations: 172.5 kB / 0.4935 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.2797, allocations: 0.5908 MB / 0.4941 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2797, allocations: 0 / 0.4941 GB, free: 41.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.2802, allocations: 416.4 kB / 0.4945 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.2808, allocations: 90.67 kB / 0.4946 GB, free: 41.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2821, allocations: 0.8989 MB / 0.4955 GB, free: 40.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2824, allocations: 0.8409 MB / 0.4963 GB, free: 40.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.2825, allocations: 27.09 kB / 0.4963 GB, free: 40.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2825, allocations: 3.938 kB / 0.4963 GB, free: 40.06 MB / 378.7 MB Notification: Performance of Templates: time 0.009688/0.2922, allocations: 7.422 MB / 0.5036 GB, free: 39.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_approxForcedConvection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches