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.001087/0.001087, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 79.81 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3942, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003738/0.398, allocations: 2.079 MB / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.4004, allocations: 1.327 MB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.4005, allocations: 2.75 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.4009, allocations: 68.09 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.4011, allocations: 87.94 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.4017, allocations: 205.4 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.4023, allocations: 427.8 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.4024, allocations: 55.02 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.4027, allocations: 156.6 kB / 0.5353 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.403, allocations: 174.5 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.4031, allocations: 12.47 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.4036, allocations: 268.5 kB / 0.5357 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.4038, allocations: 83.38 kB / 0.5358 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.404, allocations: 165.7 kB / 0.536 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.4047, allocations: 0.5237 MB / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4047, allocations: 0 / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.4047, allocations: 0 / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4047, allocations: 4.906 kB / 0.5365 GB, free: 9.566 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001274/0.406, allocations: 0.7072 MB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4061, allocations: 9.094 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.4066, allocations: 78.42 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.4071, allocations: 300.9 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.4071, allocations: 32.22 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.4072, allocations: 36.16 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.4081, allocations: 0.5504 MB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4082, allocations: 0 / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4082, allocations: 14.72 kB / 0.5382 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.4083, allocations: 20.69 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.4091, allocations: 419.9 kB / 0.5386 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.4112, allocations: 1.277 MB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.4118, allocations: 272.2 kB / 0.5401 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.4121, allocations: 145 kB / 0.5402 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.4122, allocations: 4.812 kB / 0.5402 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4122, allocations: 32.88 kB / 0.5403 GB, free: 6.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.4122, allocations: 0 / 0.5403 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001365/0.4136, allocations: 480.9 kB / 0.5407 GB, free: 6.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.4137, allocations: 109.1 kB / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.4144, allocations: 0.4884 MB / 0.5413 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4144, allocations: 26.86 kB / 0.5413 GB, free: 6.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4146, allocations: 218.2 kB / 0.5415 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.4147, allocations: 65.94 kB / 0.5416 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4148, allocations: 60.3 kB / 0.5417 GB, free: 5.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.415, allocations: 355.2 kB / 0.542 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.4153, allocations: 126.8 kB / 0.5421 GB, free: 5.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.4158, allocations: 225.6 kB / 0.5423 GB, free: 5.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/0.4166, allocations: 369.6 kB / 0.5427 GB, free: 5.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4166, allocations: 1.094 kB / 0.5427 GB, free: 5.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009293/0.4175, allocations: 417.5 kB / 0.5431 GB, free: 4.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4175, allocations: 10.19 kB / 0.5431 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.29e-05/0.4176, allocations: 32.55 kB / 0.5431 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4176, allocations: 4.375 kB / 0.5431 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4178, allocations: 32.56 kB / 0.5432 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4179, allocations: 3.875 kB / 0.5432 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.4182, allocations: 66.53 kB / 0.5432 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.4182, allocations: 16 kB / 0.5432 GB, free: 4.832 MB / 398.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.000207/0.4184, allocations: 205.6 kB / 0.5434 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.4185, allocations: 39.47 kB / 0.5435 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/0.4193, allocations: 396.8 kB / 0.5439 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4193, allocations: 0 / 0.5439 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4193, allocations: 4 kB / 0.5439 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4193, allocations: 0 / 0.5439 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.4199, allocations: 373.3 kB / 0.5442 GB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/0.42, allocations: 31.98 kB / 0.5442 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4201, allocations: 31.84 kB / 0.5443 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4201, allocations: 11.94 kB / 0.5443 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.4202, allocations: 8 kB / 0.5443 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.4202, allocations: 7.984 kB / 0.5443 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4202, allocations: 0 / 0.5443 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.421, allocations: 0.5794 MB / 0.5449 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4212, allocations: 124.5 kB / 0.545 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.4212, allocations: 0 / 0.545 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.4215, allocations: 19.98 kB / 0.545 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.4216, allocations: 27.91 kB / 0.545 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.4216, allocations: 8 kB / 0.545 GB, free: 2.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000359/0.422, allocations: 367 kB / 0.5454 GB, free: 2.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.422, allocations: 0 / 0.5454 GB, free: 2.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005817/0.4226, allocations: 119.9 kB / 0.5455 GB, free: 2.41 MB / 398.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.0003555/0.423, allocations: 171.1 kB / 0.5457 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.4239, allocations: 0.5385 MB / 0.5462 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4239, allocations: 0 / 0.5462 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.4243, allocations: 387.2 kB / 0.5466 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.425, allocations: 104.1 kB / 0.5467 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.4263, allocations: 0.7828 MB / 0.5474 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4267, allocations: 0.8496 MB / 0.5483 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.4268, allocations: 67.22 kB / 0.5483 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.4269, allocations: 27.44 kB / 0.5483 GB, free: 15.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4269, allocations: 0 / 0.5483 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Templates: time 0.01256/0.4395, allocations: 7.775 MB / 0.5559 GB, free: 7.641 MB / 414.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/jenkins/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/jenkins/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