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.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,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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 178.6 kB / 18.09 MB, free: 3.754 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.223/1.223, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0007731/0.0007729, allocations: 98 kB / 293.3 MB, free: 10.79 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.2838/0.2838, allocations: 44.14 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 16 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2742, allocations: 61.87 MB / 0.5107 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3893, allocations: 95.22 MB / 0.6037 GB, free: 15.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.3896, allocations: 99.92 kB / 0.6038 GB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03454/0.4241, allocations: 14.01 MB / 0.6175 GB, free: 1.645 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4242, allocations: 0 / 0.6175 GB, free: 1.645 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.4242, allocations: 8 kB / 0.6175 GB, free: 1.637 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001052/0.4253, allocations: 0.6473 MB / 0.6181 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4253, allocations: 11.97 kB / 0.6182 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4254, allocations: 48.38 kB / 0.6182 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.4258, allocations: 284.6 kB / 0.6185 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.4258, allocations: 25.38 kB / 0.6185 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.4259, allocations: 36.38 kB / 0.6185 GB, free: 0.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.4268, allocations: 0.5659 MB / 0.6191 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4268, allocations: 3.938 kB / 0.6191 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.4269, allocations: 16 kB / 0.6191 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.4269, allocations: 24.92 kB / 0.6191 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.4277, allocations: 435.6 kB / 0.6195 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.4296, allocations: 1.296 MB / 0.6208 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.4301, allocations: 307.5 kB / 0.6211 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.4305, allocations: 166.4 kB / 0.6213 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.4305, allocations: 12.08 kB / 0.6213 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4306, allocations: 46.5 kB / 0.6213 GB, free: 13.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.4306, allocations: 0 / 0.6213 GB, free: 13.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001199/0.4318, allocations: 0.5184 MB / 0.6218 GB, free: 13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.4318, allocations: 110.8 kB / 0.6219 GB, free: 12.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.4324, allocations: 494 kB / 0.6224 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.4324, allocations: 29.7 kB / 0.6224 GB, free: 12.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4326, allocations: 216 kB / 0.6226 GB, free: 12.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.4326, allocations: 59.11 kB / 0.6227 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.4327, allocations: 4.031 kB / 0.6227 GB, free: 12.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4328, allocations: 354.7 kB / 0.623 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.4332, allocations: 156.1 kB / 0.6232 GB, free: 11.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.4335, allocations: 235.3 kB / 0.6234 GB, free: 11.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.4343, allocations: 413.8 kB / 0.6238 GB, free: 10.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4343, allocations: 0 / 0.6238 GB, free: 10.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00088/0.4352, allocations: 466.7 kB / 0.6243 GB, free: 10.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4352, allocations: 8 kB / 0.6243 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.188e-05/0.4353, allocations: 39.92 kB / 0.6243 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4353, allocations: 4 kB / 0.6243 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.4355, allocations: 44.22 kB / 0.6243 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4355, allocations: 4 kB / 0.6243 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.4358, allocations: 63.44 kB / 0.6244 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.4358, allocations: 12 kB / 0.6244 GB, free: 10.21 MB / 442.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.0002049/0.436, allocations: 199.9 kB / 0.6246 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.4361, allocations: 43.53 kB / 0.6247 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.4369, allocations: 428.7 kB / 0.6251 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4369, allocations: 4 kB / 0.6251 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4369, allocations: 11.98 kB / 0.6251 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4369, allocations: 3.938 kB / 0.6251 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.4374, allocations: 369.3 kB / 0.6254 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.375e-05/0.4375, allocations: 32 kB / 0.6255 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4377, allocations: 35.91 kB / 0.6255 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4377, allocations: 3.984 kB / 0.6255 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.4377, allocations: 12 kB / 0.6255 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4377, allocations: 4 kB / 0.6255 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4377, allocations: 4 kB / 0.6255 GB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.4385, allocations: 0.6223 MB / 0.6261 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4387, allocations: 120.6 kB / 0.6262 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.4387, allocations: 7.938 kB / 0.6262 GB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.439, allocations: 27.98 kB / 0.6263 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.4391, allocations: 23.91 kB / 0.6263 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.4391, allocations: 12 kB / 0.6263 GB, free: 8.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003746/0.4395, allocations: 359 kB / 0.6267 GB, free: 7.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4395, allocations: 0 / 0.6267 GB, free: 7.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005929/0.4401, allocations: 135.8 kB / 0.6268 GB, free: 7.688 MB / 442.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.0004284/0.4406, allocations: 221 kB / 0.627 GB, free: 7.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.4414, allocations: 0.5854 MB / 0.6276 GB, free: 6.824 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4415, allocations: 4.062 kB / 0.6276 GB, free: 6.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.4419, allocations: 403.2 kB / 0.628 GB, free: 6.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.4426, allocations: 88.62 kB / 0.628 GB, free: 6.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.4439, allocations: 0.8757 MB / 0.6289 GB, free: 5.379 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.4443, allocations: 0.8499 MB / 0.6297 GB, free: 4.504 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.4445, allocations: 71.2 kB / 0.6298 GB, free: 4.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.4446, allocations: 27.44 kB / 0.6298 GB, free: 4.402 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4446, allocations: 0 / 0.6298 GB, free: 4.402 MB / 442.7 MB Notification: Performance of Templates: time 0.01296/0.4575, allocations: 7.793 MB / 0.6374 GB, free: 12.71 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches