Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.Channel.kc_evenGapLaminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 111 kB / 18.46 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.002266/0.002266, allocations: 207.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3247, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003642/0.3283, allocations: 2.169 MB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3298, allocations: 0.9509 MB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3299, allocations: 1.375 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3302, allocations: 69.45 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.3306, allocations: 152 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.3308, allocations: 92.42 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.3314, allocations: 484.5 kB / 0.5355 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3315, allocations: 59.58 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.3319, allocations: 197 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3321, allocations: 214.7 kB / 0.536 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3322, allocations: 12.44 kB / 0.536 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.3325, allocations: 192.5 kB / 0.5361 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3327, allocations: 109.3 kB / 0.5363 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3329, allocations: 198.1 kB / 0.5364 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.3335, allocations: 0.5341 MB / 0.537 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3335, allocations: 0 / 0.537 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3335, allocations: 0 / 0.537 GB, free: 9.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3335, allocations: 1.406 kB / 0.537 GB, free: 9.781 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001187/0.3347, allocations: 0.7504 MB / 0.5377 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3347, allocations: 12.81 kB / 0.5377 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3348, allocations: 52.62 kB / 0.5378 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.3353, allocations: 301.3 kB / 0.538 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.3353, allocations: 44.86 kB / 0.5381 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.3354, allocations: 43.31 kB / 0.5381 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3365, allocations: 0.7102 MB / 0.5388 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3366, allocations: 0 / 0.5388 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.3366, allocations: 24.09 kB / 0.5388 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-05/0.3367, allocations: 53.81 kB / 0.5389 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.3381, allocations: 0.7482 MB / 0.5396 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.3403, allocations: 1.43 MB / 0.541 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.341, allocations: 461.9 kB / 0.5415 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.3414, allocations: 157 kB / 0.5416 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.3414, allocations: 20.7 kB / 0.5416 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3414, allocations: 33.08 kB / 0.5417 GB, free: 6.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3414, allocations: 0 / 0.5417 GB, free: 6.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001178/0.3426, allocations: 0.5462 MB / 0.5422 GB, free: 6.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3427, allocations: 58.81 kB / 0.5423 GB, free: 6.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.3433, allocations: 0.5226 MB / 0.5428 GB, free: 6.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.3433, allocations: 30.73 kB / 0.5428 GB, free: 6.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3435, allocations: 230.9 kB / 0.543 GB, free: 5.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.3436, allocations: 110.4 kB / 0.5431 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3437, allocations: 82.48 kB / 0.5432 GB, free: 5.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3439, allocations: 358.8 kB / 0.5435 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.3442, allocations: 156.5 kB / 0.5437 GB, free: 5.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.3446, allocations: 244.3 kB / 0.5439 GB, free: 4.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007102/0.3453, allocations: 443.6 kB / 0.5443 GB, free: 4.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3453, allocations: 0 / 0.5443 GB, free: 4.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008816/0.3462, allocations: 0.4887 MB / 0.5448 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3462, allocations: 8 kB / 0.5448 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3463, allocations: 4 kB / 0.5448 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3463, allocations: 4 kB / 0.5448 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.3473, allocations: 211.8 kB / 0.545 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.3513, allocations: 7.322 MB / 0.5522 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.3517, allocations: 55.36 kB / 0.5522 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.3518, allocations: 20 kB / 0.5523 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.3521, allocations: 234.4 kB / 0.5525 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.3522, allocations: 43.44 kB / 0.5525 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3532, allocations: 0.5331 MB / 0.5531 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3532, allocations: 7.938 kB / 0.5531 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3532, allocations: 0 / 0.5531 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3534, allocations: 124.5 kB / 0.5532 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.3535, allocations: 11.98 kB / 0.5532 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3537, allocations: 12 kB / 0.5532 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.3538, allocations: 31.91 kB / 0.5532 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001801/0.3556, allocations: 0.7724 MB / 0.554 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001198/0.3569, allocations: 0.8184 MB / 0.5548 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003088/0.3572, allocations: 163.8 kB / 0.5549 GB, free: 9.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004106/0.3576, allocations: 391 kB / 0.5553 GB, free: 8.875 MB / 414.1 MB Notification: Performance of Backend: time 6.21e-07/0.3576, allocations: 0 / 0.5553 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.3594, allocations: 0.5029 MB / 0.5558 GB, free: 8.363 MB / 414.1 MB Notification: Performance of SimCode: time 0.001712/0.3611, allocations: 1.414 MB / 0.5572 GB, free: 6.906 MB / 414.1 MB Notification: Performance of Templates: time 0.01419/0.3753, allocations: 9.059 MB / 0.566 GB, free: 13.93 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches