Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 112.8 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, 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.2206/0.2206, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 67.89 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3348, allocations: 62.45 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00313/0.338, allocations: 1.781 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3393, allocations: 0.8519 MB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.3394, allocations: 1.375 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3396, allocations: 40.14 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.3399, allocations: 70.75 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3401, allocations: 80.61 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3403, allocations: 144.1 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.3403, allocations: 13.12 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.3405, allocations: 75.31 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3407, allocations: 77.86 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3407, allocations: 5.5 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.341, allocations: 161.3 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.341, allocations: 37.64 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.3411, allocations: 58.62 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.3415, allocations: 203.6 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3415, allocations: 0 / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3415, allocations: 0.9062 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3415, allocations: 4 kB / 0.5352 GB, free: 10.96 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006812/0.3422, allocations: 449.3 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3422, allocations: 8.875 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.3423, allocations: 15.75 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3425, allocations: 195.5 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3425, allocations: 7.844 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.3425, allocations: 19.14 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.3429, allocations: 176.3 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3429, allocations: 0 / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3429, allocations: 13.09 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.3429, allocations: 10.19 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.3433, allocations: 166.6 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.344, allocations: 488 kB / 0.5367 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.3444, allocations: 153.5 kB / 0.5368 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.3446, allocations: 63.73 kB / 0.5369 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3446, allocations: 5.188 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3447, allocations: 35.41 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3447, allocations: 1.156 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005162/0.3452, allocations: 206.1 kB / 0.5371 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.3452, allocations: 52.5 kB / 0.5372 GB, free: 9.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3454, allocations: 203.2 kB / 0.5374 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3454, allocations: 25.7 kB / 0.5374 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.3455, allocations: 111.5 kB / 0.5375 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3455, allocations: 31.39 kB / 0.5375 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.3456, allocations: 31.25 kB / 0.5375 GB, free: 9.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3457, allocations: 327.2 kB / 0.5379 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3459, allocations: 49.73 kB / 0.5379 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.346, allocations: 71.11 kB / 0.538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3463, allocations: 131.9 kB / 0.5381 GB, free: 8.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3463, allocations: 0 / 0.5381 GB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003489/0.3467, allocations: 173.8 kB / 0.5383 GB, free: 8.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3467, allocations: 6 kB / 0.5383 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3467, allocations: 1.219 kB / 0.5383 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3467, allocations: 1.188 kB / 0.5383 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.347, allocations: 48.41 kB / 0.5383 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006894/0.3477, allocations: 1.221 MB / 0.5395 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3479, allocations: 26.39 kB / 0.5395 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3479, allocations: 7.844 kB / 0.5395 GB, free: 7.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.3481, allocations: 131.6 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3481, allocations: 18.09 kB / 0.5397 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.3485, allocations: 182.2 kB / 0.5399 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3485, allocations: 0 / 0.5399 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3485, allocations: 0 / 0.5399 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3486, allocations: 93.48 kB / 0.5399 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3486, allocations: 13.36 kB / 0.54 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3488, allocations: 4.906 kB / 0.54 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.3488, allocations: 10.86 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005851/0.3494, allocations: 280.6 kB / 0.5402 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005281/0.35, allocations: 398.6 kB / 0.5406 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000142/0.3501, allocations: 55.38 kB / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3503, allocations: 145 kB / 0.5408 GB, free: 6.199 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3503, allocations: 0 / 0.5408 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008364/0.3511, allocations: 211.9 kB / 0.541 GB, free: 6.074 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008748/0.352, allocations: 0.7838 MB / 0.5418 GB, free: 5.375 MB / 398.1 MB Notification: Performance of Templates: time 0.006606/0.3586, allocations: 2.984 MB / 0.5447 GB, free: 3.898 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches