Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001126/0.001126, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.282/1.282, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008569/0.0008569, allocations: 86.61 kB / 267 MB, free: 9.27 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.3343/0.3343, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.371e-05, allocations: 4 kB / 425.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 58.85 MB / 484.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4662, allocations: 91.56 MB / 0.5623 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.4665, allocations: 96.11 kB / 0.5623 GB, free: 13.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02257/0.4891, allocations: 10.08 MB / 0.5722 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4892, allocations: 0 / 0.5722 GB, free: 5.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4892, allocations: 4 kB / 0.5722 GB, free: 5.348 MB / 394.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.0005226/0.4897, allocations: 0.4957 MB / 0.5727 GB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.4897, allocations: 12.03 kB / 0.5727 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.4898, allocations: 27.16 kB / 0.5727 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.49, allocations: 250.7 kB / 0.5729 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4901, allocations: 20.31 kB / 0.573 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.4901, allocations: 31.61 kB / 0.573 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.4905, allocations: 358.9 kB / 0.5733 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4906, allocations: 0 / 0.5733 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.4906, allocations: 18.36 kB / 0.5734 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.4906, allocations: 20.77 kB / 0.5734 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.4911, allocations: 383.1 kB / 0.5737 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.4921, allocations: 0.8919 MB / 0.5746 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.4926, allocations: 278.2 kB / 0.5749 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4927, allocations: 94.59 kB / 0.575 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4927, allocations: 8.062 kB / 0.575 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.4927, allocations: 38.11 kB / 0.575 GB, free: 2.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4928, allocations: 0 / 0.575 GB, free: 2.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.000403/0.4932, allocations: 246 kB / 0.5752 GB, free: 2.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.4932, allocations: 55.41 kB / 0.5753 GB, free: 2.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.4934, allocations: 308.3 kB / 0.5756 GB, free: 2.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4935, allocations: 28.89 kB / 0.5756 GB, free: 2.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.4935, allocations: 161 kB / 0.5758 GB, free: 1.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4936, allocations: 54.12 kB / 0.5758 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.4936, allocations: 3.438 kB / 0.5758 GB, free: 1.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.4936, allocations: 337.6 kB / 0.5762 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4938, allocations: 90.8 kB / 0.5762 GB, free: 1.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4939, allocations: 133 kB / 0.5764 GB, free: 1.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.494, allocations: 105.5 kB / 0.5765 GB, free: 1.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4941, allocations: 0 / 0.5765 GB, free: 1.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003462/0.4944, allocations: 293 kB / 0.5767 GB, free: 1.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4944, allocations: 8 kB / 0.5768 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4944, allocations: 3.938 kB / 0.5768 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4945, allocations: 4 kB / 0.5768 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.495, allocations: 107.9 kB / 0.5769 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.4968, allocations: 3.708 MB / 0.5805 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.497, allocations: 34.98 kB / 0.5805 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.497, allocations: 11.98 kB / 0.5805 GB, free: 13.07 MB / 410.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 () * 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.0001071/0.4971, allocations: 127.8 kB / 0.5807 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.4972, allocations: 35.58 kB / 0.5807 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.4977, allocations: 311.9 kB / 0.581 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4978, allocations: 0 / 0.581 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4978, allocations: 0 / 0.581 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4978, allocations: 0 / 0.581 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.4981, allocations: 314.2 kB / 0.5813 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4981, allocations: 4 kB / 0.5813 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.4987, allocations: 111.8 kB / 0.5814 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.4987, allocations: 8 kB / 0.5814 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4987, allocations: 7.375 kB / 0.5814 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.5006, allocations: 3.697 MB / 0.585 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5006, allocations: 0 / 0.585 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.501, allocations: 343.9 kB / 0.5853 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.5011, allocations: 104.8 kB / 0.5854 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.5012, allocations: 7.188 kB / 0.5855 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.5013, allocations: 7.984 kB / 0.5855 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.5014, allocations: 19.39 kB / 0.5855 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5014, allocations: 8 kB / 0.5855 GB, free: 7.934 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.5017, allocations: 254.4 kB / 0.5857 GB, free: 7.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5017, allocations: 4 kB / 0.5857 GB, free: 7.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.502, allocations: 78.66 kB / 0.5858 GB, free: 7.652 MB / 410.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 () * 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.0002847/0.5023, allocations: 172 kB / 0.586 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.503, allocations: 271.6 kB / 0.5862 GB, free: 7.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.503, allocations: 0 / 0.5862 GB, free: 7.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.5036, allocations: 164.8 kB / 0.5864 GB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.5039, allocations: 60.23 kB / 0.5864 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.5045, allocations: 416.6 kB / 0.5868 GB, free: 6.648 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.5049, allocations: 0.8093 MB / 0.5876 GB, free: 5.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.5051, allocations: 62 kB / 0.5877 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.5052, allocations: 27.42 kB / 0.5877 GB, free: 5.734 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5052, allocations: 0 / 0.5877 GB, free: 5.734 MB / 410.7 MB Notification: Performance of Templates: time 0.008838/0.514, allocations: 5.419 MB / 0.593 GB, free: 372 kB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches