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.001849/0.001849, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 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.2111/0.2111, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002677/0.3124, allocations: 1.804 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3137, allocations: 0.8382 MB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.3138, allocations: 3.938 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3141, allocations: 44.72 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.3143, allocations: 62.69 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3146, allocations: 88.33 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3148, allocations: 148.5 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.3149, allocations: 12.62 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3151, allocations: 67.86 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.3152, allocations: 82.56 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3153, allocations: 4.781 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.3155, allocations: 161.7 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.3156, allocations: 37.66 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.3157, allocations: 50.11 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.316, allocations: 207.5 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.316, allocations: 1.375 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.316, allocations: 0 / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.316, allocations: 0 / 0.5345 GB, free: 10.98 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.0006393/0.3167, allocations: 449.7 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.3167, allocations: 9.625 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3167, allocations: 14.25 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3169, allocations: 206.8 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.317, allocations: 8.438 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.317, allocations: 15 kB / 0.5352 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3173, allocations: 176.9 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3173, allocations: 0 / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3174, allocations: 5.25 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.3174, allocations: 17.36 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.3178, allocations: 167 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.3185, allocations: 487.2 kB / 0.536 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.3189, allocations: 154.2 kB / 0.5361 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3191, allocations: 55.84 kB / 0.5362 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3191, allocations: 1.062 kB / 0.5362 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3191, allocations: 35.75 kB / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3191, allocations: 0 / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005371/0.3197, allocations: 203.2 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3197, allocations: 56.45 kB / 0.5365 GB, free: 9.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3199, allocations: 203.4 kB / 0.5367 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.32, allocations: 29.64 kB / 0.5367 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.32, allocations: 110.9 kB / 0.5368 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3201, allocations: 36.2 kB / 0.5368 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.3201, allocations: 26.91 kB / 0.5369 GB, free: 9.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3203, allocations: 335.7 kB / 0.5372 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3204, allocations: 49.66 kB / 0.5372 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3206, allocations: 74.91 kB / 0.5373 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3208, allocations: 128 kB / 0.5374 GB, free: 8.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3209, allocations: 384 / 0.5374 GB, free: 8.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003395/0.3212, allocations: 170.2 kB / 0.5376 GB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3212, allocations: 5.219 kB / 0.5376 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3212, allocations: 1.469 kB / 0.5376 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.3213, allocations: 5.203 kB / 0.5376 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3215, allocations: 48.73 kB / 0.5376 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/0.3222, allocations: 1.228 MB / 0.5388 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3223, allocations: 22.36 kB / 0.5389 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3223, allocations: 3.281 kB / 0.5389 GB, free: 7.203 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.0001495/0.3225, allocations: 131.6 kB / 0.539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3225, allocations: 17.47 kB / 0.539 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.3229, allocations: 185.9 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3229, allocations: 1.906 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3229, allocations: 0 / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.323, allocations: 1.125 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.3232, allocations: 223.9 kB / 0.5394 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3232, allocations: 5.031 kB / 0.5394 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3234, allocations: 43.58 kB / 0.5395 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3234, allocations: 1.125 kB / 0.5395 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3235, allocations: 5.891 kB / 0.5395 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006055/0.3241, allocations: 1.22 MB / 0.5407 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3241, allocations: 4.062 kB / 0.5407 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.3245, allocations: 242 kB / 0.5409 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.3245, allocations: 93.19 kB / 0.541 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.3246, allocations: 4.969 kB / 0.541 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3247, allocations: 8.281 kB / 0.541 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.3248, allocations: 11.2 kB / 0.541 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3248, allocations: 3.219 kB / 0.541 GB, free: 5.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3249, allocations: 152.8 kB / 0.5411 GB, free: 5.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3249, allocations: 0 / 0.5411 GB, free: 5.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.3252, allocations: 43.25 kB / 0.5412 GB, free: 5.059 MB / 398.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 (9): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0002518/0.3255, allocations: 141.2 kB / 0.5413 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.326, allocations: 147.6 kB / 0.5415 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.326, allocations: 0 / 0.5415 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.3263, allocations: 94.83 kB / 0.5416 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.3266, allocations: 27.94 kB / 0.5416 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.3273, allocations: 349.9 kB / 0.5419 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3276, allocations: 0.7227 MB / 0.5426 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3277, allocations: 41.66 kB / 0.5427 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.3278, allocations: 13.91 kB / 0.5427 GB, free: 3.855 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3278, allocations: 0 / 0.5427 GB, free: 3.855 MB / 398.1 MB Notification: Performance of Templates: time 0.005648/0.3335, allocations: 2.702 MB / 0.5453 GB, free: 2.535 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/jenkins/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/jenkins/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