Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001768/0.001768, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.2/2.2, allocations: 227.3 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4342/0.4342, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002851, allocations: 77.56 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1975, allocations: 62.44 MB / 480 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.005164/0.2027, allocations: 2.147 MB / 482.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.2059, allocations: 1.355 MB / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.2061, allocations: 0 / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.2066, allocations: 55.72 kB / 483.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.2069, allocations: 75.52 kB / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.2077, allocations: 175.5 kB / 483.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007391/0.2085, allocations: 0.5058 MB / 484.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2086, allocations: 48.7 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.209, allocations: 147.2 kB / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.2093, allocations: 179.1 kB / 484.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.2093, allocations: 12 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.21, allocations: 271.5 kB / 484.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2102, allocations: 87.59 kB / 485 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2105, allocations: 158.9 kB / 485.1 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.2113, allocations: 391.2 kB / 485.5 MB, free: 108 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.2113, allocations: 4 kB / 485.5 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2113, allocations: 0 / 485.5 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2113, allocations: 0 / 485.5 MB, free: 104 kB / 350.1 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.001895/0.2132, allocations: 0.7135 MB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.2133, allocations: 16.03 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.214, allocations: 76.33 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.2146, allocations: 284.6 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.2147, allocations: 32.94 kB / 486.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.2148, allocations: 36 kB / 486.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.2164, allocations: 0.5574 MB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.2164, allocations: 0 / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.2165, allocations: 16 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.2166, allocations: 17 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.218, allocations: 411.6 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.221, allocations: 1.281 MB / 489 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.222, allocations: 283.6 kB / 489.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.2227, allocations: 138.4 kB / 489.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.05e-05/0.2228, allocations: 7.984 kB / 489.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.2228, allocations: 42.56 kB / 489.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.286e-06/0.2228, allocations: 0 / 489.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.002237/0.2251, allocations: 472.9 kB / 489.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.2252, allocations: 106.8 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009821/0.2262, allocations: 0.4901 MB / 490.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.2263, allocations: 29.7 kB / 490.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.2266, allocations: 216.2 kB / 490.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.927e-05/0.2267, allocations: 59.09 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2269, allocations: 61.7 kB / 490.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.2271, allocations: 354.8 kB / 491.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.2278, allocations: 132.1 kB / 491.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.2285, allocations: 216.4 kB / 491.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.2298, allocations: 364.5 kB / 491.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2298, allocations: 0 / 491.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001714/0.2316, allocations: 420.9 kB / 492.3 MB, free: 9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.2316, allocations: 4 kB / 492.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.2318, allocations: 39.92 kB / 492.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.2318, allocations: 7.938 kB / 492.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.2322, allocations: 27.97 kB / 492.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.2322, allocations: 4 kB / 492.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.2328, allocations: 59.44 kB / 492.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.2329, allocations: 24.06 kB / 492.4 MB, free: 8.836 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004364/0.2333, allocations: 201.7 kB / 492.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.2336, allocations: 39.44 kB / 492.7 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2351, allocations: 408.6 kB / 493.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.2352, allocations: 4 kB / 493.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2352, allocations: 0 / 493.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2352, allocations: 4 kB / 493.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2363, allocations: 365.3 kB / 493.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/0.2364, allocations: 31.98 kB / 493.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.2367, allocations: 23.97 kB / 493.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.2367, allocations: 3.938 kB / 493.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.2368, allocations: 19.94 kB / 493.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2368, allocations: 0 / 493.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.2368, allocations: 7.984 kB / 493.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.2385, allocations: 0.5815 MB / 494.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.2387, allocations: 120.6 kB / 494.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2388, allocations: 4 kB / 494.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.2394, allocations: 15.98 kB / 494.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.2396, allocations: 19.97 kB / 494.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.2396, allocations: 12 kB / 494.3 MB, free: 6.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008597/0.2405, allocations: 367 kB / 494.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2405, allocations: 4 kB / 494.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001076/0.2416, allocations: 115.9 kB / 494.8 MB, free: 6.418 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006518/0.2423, allocations: 171.1 kB / 494.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.244, allocations: 0.5385 MB / 495.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.244, allocations: 4.062 kB / 495.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.2448, allocations: 387.1 kB / 495.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.2462, allocations: 89.56 kB / 495.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.2488, allocations: 0.8955 MB / 496.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.2495, allocations: 0.8461 MB / 497.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2497, allocations: 35.42 kB / 497.7 MB, free: 3.281 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2497, allocations: 3.938 kB / 497.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of Templates: time 0.0212/0.2709, allocations: 7.393 MB / 0.4933 GB, free: 11.93 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches