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.001216/0.001222, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3078, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003242/0.3111, allocations: 2.018 MB / 0.5337 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3126, allocations: 0.8354 MB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.3127, allocations: 6.688 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.313, allocations: 61.53 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.3134, allocations: 124.1 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.3137, allocations: 59.05 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.314, allocations: 317.5 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.3141, allocations: 37.62 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.3144, allocations: 134.6 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.3147, allocations: 147.2 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.3147, allocations: 8.969 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.315, allocations: 126.3 kB / 0.5354 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3151, allocations: 71.77 kB / 0.5355 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3152, allocations: 105 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.3157, allocations: 348.7 kB / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3157, allocations: 1.125 kB / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3157, allocations: 0 / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3157, allocations: 0 / 0.5359 GB, free: 10.45 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.0008642/0.3166, allocations: 0.565 MB / 0.5365 GB, free: 9.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3166, allocations: 8.062 kB / 0.5365 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.3167, allocations: 30.81 kB / 0.5365 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.317, allocations: 255.1 kB / 0.5368 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.317, allocations: 21.86 kB / 0.5368 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3171, allocations: 25.88 kB / 0.5368 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.3177, allocations: 393 kB / 0.5372 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3177, allocations: 3.938 kB / 0.5372 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.3178, allocations: 10.5 kB / 0.5372 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.3178, allocations: 25.27 kB / 0.5372 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.3185, allocations: 411.1 kB / 0.5376 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3199, allocations: 0.8702 MB / 0.5385 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.3204, allocations: 269.8 kB / 0.5387 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.3206, allocations: 98.52 kB / 0.5388 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3207, allocations: 6.5 kB / 0.5388 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3207, allocations: 31.72 kB / 0.5389 GB, free: 8.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3207, allocations: 3.938 kB / 0.5389 GB, free: 8.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007484/0.3215, allocations: 332.8 kB / 0.5392 GB, free: 8.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3215, allocations: 56.62 kB / 0.5392 GB, free: 8.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.3219, allocations: 354.6 kB / 0.5396 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.3219, allocations: 27.3 kB / 0.5396 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.322, allocations: 166.6 kB / 0.5398 GB, free: 7.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.3221, allocations: 54.05 kB / 0.5398 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.3222, allocations: 46.83 kB / 0.5399 GB, free: 7.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3223, allocations: 342.7 kB / 0.5402 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3225, allocations: 90.42 kB / 0.5403 GB, free: 7.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.3227, allocations: 143.9 kB / 0.5404 GB, free: 7.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.3232, allocations: 244.4 kB / 0.5406 GB, free: 7.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3232, allocations: 9.062 kB / 0.5407 GB, free: 7.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000548/0.3237, allocations: 296.8 kB / 0.5409 GB, free: 6.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3237, allocations: 8.969 kB / 0.5409 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3238, allocations: 1.094 kB / 0.5409 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3238, allocations: 7.438 kB / 0.541 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.3243, allocations: 120.2 kB / 0.5411 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.3263, allocations: 3.669 MB / 0.5446 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3265, allocations: 33.8 kB / 0.5447 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3265, allocations: 11.94 kB / 0.5447 GB, free: 3.215 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.0001945/0.3267, allocations: 170.1 kB / 0.5449 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.3268, allocations: 27.28 kB / 0.5449 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006622/0.3274, allocations: 331.2 kB / 0.5452 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3275, allocations: 5.406 kB / 0.5452 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3275, allocations: 0 / 0.5452 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.3276, allocations: 106.5 kB / 0.5453 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.3276, allocations: 5.844 kB / 0.5453 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.3278, allocations: 11.64 kB / 0.5453 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.3279, allocations: 23.64 kB / 0.5453 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001085/0.329, allocations: 482.4 kB / 0.5458 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007764/0.3297, allocations: 0.5567 MB / 0.5463 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002055/0.33, allocations: 100.4 kB / 0.5464 GB, free: 2.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.3302, allocations: 256.9 kB / 0.5467 GB, free: 1.875 MB / 398.1 MB Notification: Performance of Backend: time 3.21e-07/0.3302, allocations: 0 / 0.5467 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.3314, allocations: 319.9 kB / 0.547 GB, free: 1.578 MB / 398.1 MB Notification: Performance of SimCode: time 0.001183/0.3326, allocations: 1.061 MB / 0.548 GB, free: 484 kB / 398.1 MB Notification: Performance of Templates: time 0.0113/0.3439, allocations: 5.731 MB / 0.5536 GB, free: 10.83 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