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.001425/0.001425, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2567/0.2567, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3857, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002899/0.3887, allocations: 1.797 MB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3901, allocations: 0.837 MB / 0.5342 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.3902, allocations: 2.031 kB / 0.5342 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.3905, allocations: 51.38 kB / 0.5343 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3908, allocations: 66.33 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.3911, allocations: 85.47 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3913, allocations: 150.9 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.3914, allocations: 13.53 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.3916, allocations: 67.2 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3918, allocations: 79.09 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3918, allocations: 4.188 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.392, allocations: 158.2 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.3921, allocations: 41.42 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.3922, allocations: 54.02 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3925, allocations: 203.9 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3925, allocations: 0.9688 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3925, allocations: 0 / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3925, allocations: 0 / 0.5352 GB, free: 10.94 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.0006997/0.3932, allocations: 445.4 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3933, allocations: 13.61 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3933, allocations: 19.62 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3935, allocations: 201.7 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3935, allocations: 4.5 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.3936, allocations: 18.94 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.3939, allocations: 177 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.394, allocations: 1.375 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.394, allocations: 0 / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.394, allocations: 14.08 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.3944, allocations: 170.8 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.3952, allocations: 487.9 kB / 0.5367 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3956, allocations: 153.8 kB / 0.5368 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3958, allocations: 55.75 kB / 0.5369 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3958, allocations: 9.234 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.3959, allocations: 35.94 kB / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3959, allocations: 0 / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000539/0.3964, allocations: 201.3 kB / 0.5371 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3965, allocations: 53.22 kB / 0.5371 GB, free: 9.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.3967, allocations: 207.6 kB / 0.5373 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3967, allocations: 29.7 kB / 0.5374 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3968, allocations: 114.7 kB / 0.5375 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.3969, allocations: 36.39 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.3969, allocations: 24.5 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.397, allocations: 333.4 kB / 0.5379 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3972, allocations: 45.98 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.3973, allocations: 74.77 kB / 0.538 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3976, allocations: 128.5 kB / 0.5381 GB, free: 8.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3977, allocations: 0 / 0.5381 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003874/0.398, allocations: 166.4 kB / 0.5383 GB, free: 8.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3981, allocations: 9.453 kB / 0.5383 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3981, allocations: 1.281 kB / 0.5383 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3981, allocations: 1.656 kB / 0.5383 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3984, allocations: 45.23 kB / 0.5383 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007375/0.3991, allocations: 1.227 MB / 0.5395 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3993, allocations: 21.92 kB / 0.5395 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3993, allocations: 4.375 kB / 0.5395 GB, free: 7.168 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.0001933/0.3995, allocations: 139.6 kB / 0.5397 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.3995, allocations: 13.16 kB / 0.5397 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.4, allocations: 181.9 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4, allocations: 1.031 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4, allocations: 0.875 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4, allocations: 0 / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.4003, allocations: 225.4 kB / 0.5401 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4003, allocations: 11.88 kB / 0.5401 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4005, allocations: 44.19 kB / 0.5401 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4005, allocations: 1.094 kB / 0.5401 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4006, allocations: 5.188 kB / 0.5401 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007923/0.4014, allocations: 1.22 MB / 0.5413 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4014, allocations: 0 / 0.5413 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.4019, allocations: 246.6 kB / 0.5416 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.402, allocations: 93.34 kB / 0.5416 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.402, allocations: 9.031 kB / 0.5417 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4021, allocations: 7.234 kB / 0.5417 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.4022, allocations: 4.156 kB / 0.5417 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4022, allocations: 2.219 kB / 0.5417 GB, free: 5.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.4024, allocations: 153.2 kB / 0.5418 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4024, allocations: 0 / 0.5418 GB, free: 5.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000334/0.4027, allocations: 55.48 kB / 0.5419 GB, free: 5.008 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.0002666/0.403, allocations: 128.5 kB / 0.542 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.4036, allocations: 147 kB / 0.5421 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4036, allocations: 1.125 kB / 0.5421 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.404, allocations: 90.95 kB / 0.5422 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4043, allocations: 34.98 kB / 0.5422 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.4051, allocations: 370.2 kB / 0.5426 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4055, allocations: 0.7254 MB / 0.5433 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.4055, allocations: 23.25 kB / 0.5433 GB, free: 3.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4055, allocations: 0 / 0.5433 GB, free: 3.801 MB / 398.1 MB Notification: Performance of Templates: time 0.005792/0.4113, allocations: 3.529 MB / 0.5468 GB, free: 1.73 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