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.001331/0.001331, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 83.81 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3251, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00321/0.3284, allocations: 2.009 MB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3298, allocations: 0.84 MB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.3299, allocations: 2.75 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.3302, allocations: 69.41 kB / 0.5345 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.3305, allocations: 116.2 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3308, allocations: 70.97 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.3311, allocations: 313.2 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.3312, allocations: 29.17 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.3315, allocations: 135.1 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3317, allocations: 143.2 kB / 0.5353 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.3318, allocations: 8.719 kB / 0.5353 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.332, allocations: 127.6 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3321, allocations: 71.28 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3323, allocations: 113.2 kB / 0.5356 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.3328, allocations: 337.1 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3328, allocations: 0 / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3328, allocations: 0 / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3328, allocations: 4.938 kB / 0.5359 GB, free: 10.44 MB / 398.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.0008757/0.3337, allocations: 0.5696 MB / 0.5365 GB, free: 9.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3337, allocations: 8.781 kB / 0.5365 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.3338, allocations: 30.94 kB / 0.5365 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3341, allocations: 250.9 kB / 0.5368 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3341, allocations: 19.81 kB / 0.5368 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.3342, allocations: 24.88 kB / 0.5368 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.3348, allocations: 400.5 kB / 0.5372 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3349, allocations: 1.406 kB / 0.5372 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3349, allocations: 5.125 kB / 0.5372 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.3349, allocations: 29.77 kB / 0.5372 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.3357, allocations: 407.4 kB / 0.5376 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.337, allocations: 0.8661 MB / 0.5385 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.3376, allocations: 281.1 kB / 0.5387 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3378, allocations: 94.64 kB / 0.5388 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3379, allocations: 6.406 kB / 0.5388 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3379, allocations: 35.69 kB / 0.5389 GB, free: 8.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.3379, allocations: 1.094 kB / 0.5389 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007669/0.3387, allocations: 339.6 kB / 0.5392 GB, free: 8.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3387, allocations: 57.81 kB / 0.5392 GB, free: 8.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.3391, allocations: 353.8 kB / 0.5396 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3391, allocations: 27.3 kB / 0.5396 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.3392, allocations: 161.8 kB / 0.5398 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3393, allocations: 46.58 kB / 0.5398 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.3394, allocations: 54.23 kB / 0.5399 GB, free: 7.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3395, allocations: 347.6 kB / 0.5402 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3397, allocations: 86.44 kB / 0.5403 GB, free: 7.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.34, allocations: 143.7 kB / 0.5404 GB, free: 7.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.3404, allocations: 245 kB / 0.5406 GB, free: 7.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3404, allocations: 4 kB / 0.5406 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005419/0.341, allocations: 297 kB / 0.5409 GB, free: 6.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.341, allocations: 5.562 kB / 0.5409 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.341, allocations: 2.094 kB / 0.5409 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.341, allocations: 2.469 kB / 0.5409 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.3416, allocations: 117.4 kB / 0.5411 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.3435, allocations: 3.668 MB / 0.5446 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3437, allocations: 38.39 kB / 0.5447 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.3438, allocations: 16.41 kB / 0.5447 GB, free: 3.195 MB / 398.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.0001812/0.3439, allocations: 165.5 kB / 0.5448 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.344, allocations: 27.81 kB / 0.5449 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.3447, allocations: 331.8 kB / 0.5452 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3447, allocations: 5.031 kB / 0.5452 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3447, allocations: 1.156 kB / 0.5452 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3447, allocations: 7.984 kB / 0.5452 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.3451, allocations: 300.5 kB / 0.5455 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3451, allocations: 1.125 kB / 0.5455 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.3456, allocations: 110.3 kB / 0.5456 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3456, allocations: 1.125 kB / 0.5456 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.3457, allocations: 7.172 kB / 0.5456 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.3476, allocations: 3.674 MB / 0.5492 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3476, allocations: 0 / 0.5492 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.3481, allocations: 354.9 kB / 0.5495 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.3482, allocations: 103.1 kB / 0.5496 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.3482, allocations: 1.75 kB / 0.5496 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3484, allocations: 12.08 kB / 0.5496 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.3485, allocations: 18.17 kB / 0.5497 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3485, allocations: 9.562 kB / 0.5497 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.3488, allocations: 255.5 kB / 0.5499 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3488, allocations: 7.938 kB / 0.5499 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3492, allocations: 76.02 kB / 0.55 GB, free: 14.29 MB / 414.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.0002281/0.3494, allocations: 123.1 kB / 0.5501 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.3503, allocations: 311.6 kB / 0.5504 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3503, allocations: 0 / 0.5504 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.3509, allocations: 187.2 kB / 0.5506 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3513, allocations: 72.7 kB / 0.5507 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.3522, allocations: 0.6017 MB / 0.5512 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3526, allocations: 0.7909 MB / 0.552 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.3526, allocations: 31.42 kB / 0.552 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3526, allocations: 0 / 0.552 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.01236/0.365, allocations: 11.2 MB / 0.563 GB, free: 0.9375 MB / 414.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