Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 184.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008647/0.0008646, allocations: 88.2 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3022/0.3022, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3128, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.417, allocations: 92.78 MB / 0.6002 GB, free: 2.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.4174, allocations: 103.7 kB / 0.6003 GB, free: 2.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02751/0.4449, allocations: 10.29 MB / 0.6103 GB, free: 7.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4449, allocations: 0 / 0.6103 GB, free: 7.891 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.445, allocations: 4 kB / 0.6103 GB, free: 7.887 MB / 426.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.0007365/0.4457, allocations: 0.5081 MB / 0.6108 GB, free: 7.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4457, allocations: 8.031 kB / 0.6108 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.4458, allocations: 27.62 kB / 0.6109 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.4461, allocations: 248.7 kB / 0.6111 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4462, allocations: 24.56 kB / 0.6111 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.4462, allocations: 31.95 kB / 0.6112 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.4468, allocations: 389.2 kB / 0.6115 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4468, allocations: 0 / 0.6115 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.4469, allocations: 15.98 kB / 0.6115 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.4469, allocations: 20.64 kB / 0.6116 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.4476, allocations: 418.3 kB / 0.612 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.449, allocations: 0.8929 MB / 0.6128 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.4495, allocations: 298.3 kB / 0.6131 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.4496, allocations: 12.06 kB / 0.6131 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4496, allocations: 38.5 kB / 0.6132 GB, free: 4.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.4496, allocations: 0 / 0.6132 GB, free: 4.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007403/0.4504, allocations: 371.4 kB / 0.6135 GB, free: 4.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.4504, allocations: 59.41 kB / 0.6136 GB, free: 4.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.4507, allocations: 314.4 kB / 0.6139 GB, free: 4.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4508, allocations: 33.64 kB / 0.6139 GB, free: 4.035 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.4509, allocations: 168.1 kB / 0.6141 GB, free: 3.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.4509, allocations: 43.36 kB / 0.6141 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.4509, allocations: 0 / 0.6141 GB, free: 3.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.451, allocations: 342.8 kB / 0.6144 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4512, allocations: 104.3 kB / 0.6145 GB, free: 3.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4515, allocations: 147.6 kB / 0.6147 GB, free: 3.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.4517, allocations: 131.8 kB / 0.6148 GB, free: 3.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4517, allocations: 0 / 0.6148 GB, free: 3.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00054/0.4523, allocations: 323.2 kB / 0.6151 GB, free: 2.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4523, allocations: 4 kB / 0.6151 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4523, allocations: 4 kB / 0.6151 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4523, allocations: 0 / 0.6151 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.4529, allocations: 116 kB / 0.6152 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.4549, allocations: 3.707 MB / 0.6189 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.4552, allocations: 35.77 kB / 0.6189 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.4552, allocations: 12 kB / 0.6189 GB, free: 14.75 MB / 442.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.0002094/0.4554, allocations: 177.6 kB / 0.6191 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.4555, allocations: 27.7 kB / 0.6191 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/0.4562, allocations: 359.2 kB / 0.6194 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4562, allocations: 4 kB / 0.6194 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4562, allocations: 3.953 kB / 0.6194 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4562, allocations: 0 / 0.6194 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.4566, allocations: 309.4 kB / 0.6197 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4566, allocations: 0 / 0.6197 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.4572, allocations: 111.8 kB / 0.6198 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4572, allocations: 4 kB / 0.6198 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4572, allocations: 7.938 kB / 0.6199 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.4591, allocations: 3.7 MB / 0.6235 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4592, allocations: 3.953 kB / 0.6235 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.4597, allocations: 389.4 kB / 0.6238 GB, free: 9.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.4598, allocations: 100.8 kB / 0.6239 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4598, allocations: 0 / 0.6239 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.46, allocations: 15.98 kB / 0.624 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.4601, allocations: 19.92 kB / 0.624 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4601, allocations: 8 kB / 0.624 GB, free: 9.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002459/0.4604, allocations: 253.9 kB / 0.6242 GB, free: 9.051 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4604, allocations: 0 / 0.6242 GB, free: 9.051 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.4607, allocations: 79.92 kB / 0.6243 GB, free: 8.973 MB / 442.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.0002848/0.461, allocations: 159.2 kB / 0.6245 GB, free: 8.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.4619, allocations: 307.9 kB / 0.6247 GB, free: 8.508 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4619, allocations: 0 / 0.6247 GB, free: 8.508 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.4624, allocations: 175.8 kB / 0.6249 GB, free: 8.336 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.4627, allocations: 64.55 kB / 0.625 GB, free: 8.273 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.4637, allocations: 0.6673 MB / 0.6256 GB, free: 7.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.464, allocations: 0.8105 MB / 0.6264 GB, free: 6.738 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.4641, allocations: 66.23 kB / 0.6265 GB, free: 6.676 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.4642, allocations: 19.44 kB / 0.6265 GB, free: 6.656 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4642, allocations: 0 / 0.6265 GB, free: 6.656 MB / 442.7 MB Notification: Performance of Templates: time 0.009019/0.4732, allocations: 5.295 MB / 0.6317 GB, free: 1.449 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches