Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002012, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.421/2.421, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4027/0.4027, allocations: 46.11 MB / 344.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 72.58 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2064, allocations: 62.44 MB / 480 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.006413/0.2129, allocations: 2.074 MB / 482 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.2156, allocations: 0.8374 MB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.2159, allocations: 0 / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.2164, allocations: 67.72 kB / 482.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007104/0.2172, allocations: 107.5 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.2177, allocations: 59.86 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008232/0.2185, allocations: 458.3 kB / 483.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2187, allocations: 32.38 kB / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.2191, allocations: 115.4 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.2196, allocations: 155.3 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.2197, allocations: 11.98 kB / 483.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.2202, allocations: 119.8 kB / 484 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.2204, allocations: 63.73 kB / 484 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.2206, allocations: 115.2 kB / 484.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.2212, allocations: 247.6 kB / 484.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.2212, allocations: 0 / 484.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2212, allocations: 7.938 kB / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.2212, allocations: 0 / 484.4 MB, free: 1.234 MB / 350.1 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.00167/0.2229, allocations: 0.5576 MB / 484.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.223, allocations: 12.88 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2232, allocations: 28.56 kB / 485 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.2236, allocations: 247.8 kB / 485.2 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.2237, allocations: 24.48 kB / 485.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.2238, allocations: 27.94 kB / 485.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.2249, allocations: 397.2 kB / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.2249, allocations: 0 / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.225, allocations: 11.98 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2251, allocations: 32.62 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.2265, allocations: 410.2 kB / 486.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.2291, allocations: 0.8656 MB / 487 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2302, allocations: 274.3 kB / 487.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.2306, allocations: 96.72 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.2306, allocations: 11.98 kB / 487.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.2307, allocations: 34.56 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 3.066e-06/0.2307, allocations: 0 / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001398/0.2321, allocations: 339.8 kB / 487.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.2322, allocations: 51.41 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.2328, allocations: 351.2 kB / 488.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.2329, allocations: 29.7 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.2331, allocations: 164.2 kB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.2332, allocations: 55.36 kB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.2334, allocations: 45.7 kB / 488.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.2336, allocations: 342.8 kB / 488.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.234, allocations: 95.83 kB / 488.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.2345, allocations: 137.9 kB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.2353, allocations: 245.8 kB / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2353, allocations: 0 / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001004/0.2363, allocations: 303.8 kB / 489.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.2364, allocations: 8.031 kB / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2364, allocations: 4 kB / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2364, allocations: 0 / 489.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009992/0.2374, allocations: 119.9 kB / 489.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.2408, allocations: 3.672 MB / 493.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.2412, allocations: 35.52 kB / 493.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.2413, allocations: 12 kB / 493.3 MB, free: 7.883 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003812/0.2417, allocations: 174.2 kB / 493.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2418, allocations: 27.66 kB / 493.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.243, allocations: 335.2 kB / 493.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2431, allocations: 0 / 493.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2431, allocations: 0 / 493.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2431, allocations: 0 / 493.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.2438, allocations: 305.3 kB / 494.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2438, allocations: 0 / 494.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.2447, allocations: 123.8 kB / 494.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.2448, allocations: 0 / 494.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.2448, allocations: 4 kB / 494.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.2482, allocations: 3.672 MB / 498 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2483, allocations: 0 / 498 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.2492, allocations: 351 kB / 498.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.2494, allocations: 108.8 kB / 498.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.2495, allocations: 0 / 498.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.2498, allocations: 12.09 kB / 498.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.2499, allocations: 15.97 kB / 498.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.25, allocations: 4 kB / 498.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004491/0.2504, allocations: 257.9 kB / 498.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2504, allocations: 0 / 498.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006485/0.2511, allocations: 71.84 kB / 498.8 MB, free: 2.215 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003909/0.2515, allocations: 131.3 kB / 498.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.2532, allocations: 302.3 kB / 499.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2532, allocations: 384 / 499.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.2543, allocations: 195.7 kB / 499.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.2552, allocations: 52.56 kB / 499.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2572, allocations: 0.6918 MB / 0.4884 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.2578, allocations: 0.7909 MB / 0.4892 GB, free: 0 / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2579, allocations: 27.48 kB / 0.4892 GB, free: 15.97 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2579, allocations: 0 / 0.4892 GB, free: 15.97 MB / 382.1 MB Notification: Performance of Templates: time 0.02498/0.2829, allocations: 11.17 MB / 0.5001 GB, free: 4.812 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches